diff options
Diffstat (limited to 'nix-darwin')
-rw-r--r-- | nix-darwin/default.nix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/nix-darwin/default.nix b/nix-darwin/default.nix index c2ec350cbc0..810b3e5ee90 100644 --- a/nix-darwin/default.nix +++ b/nix-darwin/default.nix @@ -7,12 +7,10 @@ let cfg = config.home-manager; hmModule = types.submodule ({name, ...}: { - imports = import ../modules/modules.nix { - inherit lib pkgs; - nixosSubmodule = true; - }; + imports = import ../modules/modules.nix { inherit lib pkgs; }; config = { + submoduleSupport.enable = true; home.username = config.users.users.${name}.name; home.homeDirectory = config.users.users.${name}.home; }; |