Rename mainUser to dekstopUser
This commit is contained in:
parent
a6a0f2650d
commit
fa0373d90f
3 changed files with 3 additions and 3 deletions
|
|
@ -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";
|
||||||
|
|
|
||||||
|
|
@ -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" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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" ];
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue