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

@ -15,7 +15,7 @@ in
config = lib.mkIf cfg.enable {
virtualisation.libvirtd.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
boot.kernelModules = [ "nf_nat_ftp" ];
users.users.${config.mainUser.userName}.extraGroups = [ "lxd" ];
users.users.${config.desktopUser.userName}.extraGroups = [ "lxd" ];
};