Compare commits

...

3 Commits

Author SHA1 Message Date
14e705a327 filter 2025-08-19 01:36:41 -05:00
ad8a5a29cd spellcheck 2025-08-19 01:12:16 -05:00
c3e14b8710 try 2025-08-19 01:11:15 -05:00
2 changed files with 13 additions and 11 deletions

View File

@@ -23,7 +23,7 @@
allowUnfree = true;
};
home.packages = with pkgs; [
home.packages = with pkgs; ([
killall
btop
zip
@@ -93,6 +93,6 @@
#games
prismlauncher
] else []);
] else []));
};
}

View File

@@ -63,15 +63,17 @@
config = {
users.users = builtins.mapAttrs (x: y: {
name = y.name;
users.users = builtins.mapAttrs (x: y: let
cfg = config.sysconfig.users.${x};
in {
name = cfg.name;
isNormalUser = true;
uid = y.uid;
hashedPasswordFile = lib.mkIf (y.hashedPasswordFile != null) y.hashedPasswordFile;
shell = y.shell;
extraGroups = y.extraGroups;
openssh.authorizedKeys.keys = lib.mkIf config.sysconfig.services.openssh.enable y.sshKeys;
packages = with pkgs; lib.mkIf (user.home-manager.enable && user.home-manager.standalone) [ home-manager ];
uid = cfg.uid;
hashedPasswordFile = lib.mkIf (cfg.hashedPasswordFile != null) cfg.hashedPasswordFile;
shell = cfg.shell;
extraGroups = cfg.extraGroups;
openssh.authorizedKeys.keys = lib.mkIf config.sysconfig.services.openssh.enable cfg.sshKeys;
packages = with pkgs; lib.mkIf (cfg.home-manager.enable && cfg.home-manager.standalone) [ home-manager ];
}) config.sysconfig.users;
programs.fuse.userAllowOther = true;
@@ -100,7 +102,7 @@
(builtins.partition
(y: (config.sysconfig.users.${y}.home-manager.enable && !config.sysconfig.users.${y}.home-manager.standalone))
(builtins.attrNames config.sysconfig.users)
).wrong
).right
);
};