Rename mainUser to dekstopUser

This commit is contained in:
pazpi 2024-08-27 11:22:05 +02:00
parent a6a0f2650d
commit fa0373d90f
3 changed files with 3 additions and 3 deletions

View file

@ -38,7 +38,7 @@
}; };
}; };
mainUser = { desktopUser = {
enable = true; enable = true;
userName = "pazpi"; userName = "pazpi";
hashedPassword = "$y$j9T$dA94KVg1/jYLqclQQbTDk.$cnfxBWUN8P4shr8Kkipv5bU/RCtQNoAwYFDZ0X/BYs5"; hashedPassword = "$y$j9T$dA94KVg1/jYLqclQQbTDk.$cnfxBWUN8P4shr8Kkipv5bU/RCtQNoAwYFDZ0X/BYs5";

View file

@ -15,7 +15,7 @@ in
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
virtualisation.libvirtd.enable = true; virtualisation.libvirtd.enable = true;
programs.virt-manager.enable = true; programs.virt-manager.enable = true;
users.users.${config.mainUser.userName}.extraGroups = [ "libvirtd" ]; users.users.${config.desktopUser.userName}.extraGroups = [ "libvirtd" ];
}; };
} }

View file

@ -44,7 +44,7 @@ in
# kernel module for forwarding to work # kernel module for forwarding to work
boot.kernelModules = [ "nf_nat_ftp" ]; boot.kernelModules = [ "nf_nat_ftp" ];
users.users.${config.mainUser.userName}.extraGroups = [ "lxd" ]; users.users.${config.desktopUser.userName}.extraGroups = [ "lxd" ];
}; };