diff --git a/lib/home/default.nix b/lib/home/default.nix index 035d87b..6a56fb8 100644 --- a/lib/home/default.nix +++ b/lib/home/default.nix @@ -16,7 +16,6 @@ let mapAttrsToList optionals mkDefault - traceSeqN mkAliasDefinitions mkAliasAndWrapDefinitions mkOption @@ -279,7 +278,10 @@ in config = mkIf host-matches { # Initialize user information. snowfallorg.user.${user-name}.home.config = { - snowfallorg.user.name = mkDefault user-name; + snowfallorg.user = { + enable = true; + name = mkDefault user-name; + }; }; home-manager = { diff --git a/modules/home/user/default.nix b/modules/home/user/default.nix index b81fc7e..7c7c93a 100644 --- a/modules/home/user/default.nix +++ b/modules/home/user/default.nix @@ -24,7 +24,7 @@ in user = { enable = mkOption { type = types.bool; - default = true; + default = false; description = "Whether to configure the user."; }; diff --git a/modules/nixos/user/default.nix b/modules/nixos/user/default.nix index a4d12b3..757997d 100644 --- a/modules/nixos/user/default.nix +++ b/modules/nixos/user/default.nix @@ -45,6 +45,11 @@ in }; home = { + enable = mkOption { + type = types.bool; + default = true; + }; + path = mkOption { type = types.str; default = "/home/${name}";