This commit is contained in:
2025-08-19 01:07:19 -05:00
parent a394733024
commit ec919c0bef
2 changed files with 8 additions and 11 deletions

View File

@@ -73,6 +73,7 @@
shell = pkgs.zsh; shell = pkgs.zsh;
home-manager = { home-manager = {
enable = true; enable = true;
standalone = false;
extraModules = [ extraModules = [
{ {
homeconfig = { homeconfig = {
@@ -89,10 +90,6 @@
git.enable = true; git.enable = true;
nh.enable = true; nh.enable = true;
}; };
home.packages = [
pkgs.wayvnc
];
} }
]; ];
}; };

View File

@@ -63,14 +63,14 @@
config = { config = {
users.users = builtins.mapAttrs (name: user: { users.users = builtins.mapAttrs (x: y: {
name = user.name; name = y.name;
isNormalUser = true; isNormalUser = true;
uid = user.uid; uid = y.uid;
hashedPasswordFile = lib.mkIf (user.hashedPasswordFile != null) user.hashedPasswordFile; hashedPasswordFile = lib.mkIf (y.hashedPasswordFile != null) y.hashedPasswordFile;
shell = user.shell; shell = y.shell;
extraGroups = user.extraGroups; extraGroups = y.extraGroups;
openssh.authorizedKeys.keys = lib.mkIf config.sysconfig.services.openssh.enable user.sshKeys; 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 ]; packages = with pkgs; lib.mkIf (user.home-manager.enable && user.home-manager.standalone) [ home-manager ];
}) config.sysconfig.users; }) config.sysconfig.users;