diff --git a/common/default.nix b/common/default.nix index 838bb20..3276807 100644 --- a/common/default.nix +++ b/common/default.nix @@ -50,4 +50,11 @@ la = "exa -la"; tree = "exa -T"; }; + + users.mutableUsers = false; + users.users.c3h = { + isNormalUser = true; + password = "c3h"; + extraGroups = [ "wheel" ]; + }; } diff --git a/hosts/bemmer/configuration.nix b/hosts/bemmer/configuration.nix index 349b3e1..f0548de 100644 --- a/hosts/bemmer/configuration.nix +++ b/hosts/bemmer/configuration.nix @@ -21,13 +21,6 @@ "profiles/base.nix" ]; - users.users.c3h = { - isNormalUser = true; - password = "c3h"; - extraGroups = [ "wheel" ]; - packages = with pkgs; [ chromium firefox mpv youtube-dl ]; - }; - networking.hostName = "bemmer"; networking.domain = "c3h"; networking.useDHCP = true; diff --git a/shared-services/desktop.nix b/shared-services/desktop.nix index f11fb04..dffae62 100644 --- a/shared-services/desktop.nix +++ b/shared-services/desktop.nix @@ -1,13 +1,7 @@ { pkgs, ... }: { - users.mutableUsers = false; - users.users.c3h = { - isNormalUser = true; - password = "c3h"; - extraGroups = [ "wheel" ]; - packages = with pkgs; [ chromium firefox mpv youtube-dl ]; - }; + users.users.c3h.packages = with pkgs; [ chromium firefox mpv youtube-dl ]; services.xserver = { enable = true;