help
This commit is contained in:
@@ -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
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user