diff --git a/system/users/nathan/system/default.nix b/system/users/nathan/system/default.nix index 643d2b8..5a3935d 100644 --- a/system/users/nathan/system/default.nix +++ b/system/users/nathan/system/default.nix @@ -12,7 +12,7 @@ #hashedPasswordFile = lib.mkIf (cfg.hashedPasswordFile != null) cfg.hashedPasswordFile; extraGroups = [ "networkmanager" ]; openssh.authorizedKeys.keys = with config.sysconfig.users.nathan; lib.mkIf config.sysconfig.services.openssh.enable (ssh.keys ++ (map (z: config.sysconfig.sshHostKeys.${z}) ssh.hosts)); - packages = with pkgs; with config.sysconfig.users.nathan; lib.mkIf (home-manager.enable && home-manager.standalone) [ home-manager ]; + packages = lib.mkIf (config.sysconfig.users.nathan.home-manager.enable && config.sysconfig.users.nathan.home-manager.standalone) [ pkgs.home-manager ]; }; };