From e57e8cdfe59e1407ad73c192bd9f7f2b0b5005b5 Mon Sep 17 00:00:00 2001 From: Leander Scherer Date: Thu, 8 Jan 2026 16:05:52 +0100 Subject: refactor(desktop): conditionally import modules based on useHomeManager --- modules/hosts/system/users.nix | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'modules/hosts/system') diff --git a/modules/hosts/system/users.nix b/modules/hosts/system/users.nix index 5ecdfba..9550e8d 100644 --- a/modules/hosts/system/users.nix +++ b/modules/hosts/system/users.nix @@ -1,22 +1,5 @@ -{ - config, - username, - pkgs, - lib, - ... -}: +{ ... }: { - users.users."${username}" = { - isNormalUser = true; - extraGroups = [ - "wheel" - "video" - "input" - (lib.mkIf config.networking.networkmanager.enable "networkmanager") - ]; - shell = pkgs.zsh; - ignoreShellProgramCheck = true; - }; security.sudo.wheelNeedsPassword = false; } -- cgit v1.3.1