change permissions for home dir for qemu
All checks were successful
nixos config pipeline / show-flake (push) Successful in 17s
nixos config pipeline / deploy (push) Successful in 54s

This commit is contained in:
smayzy 2025-10-19 18:02:47 +02:00
parent 34775227e9
commit cce705e664
2 changed files with 1 additions and 2 deletions

View File

@ -14,6 +14,7 @@
nixpkgs.overlays = overlays; nixpkgs.overlays = overlays;
users.users.smayzy = { users.users.smayzy = {
homeMode = "710";
isNormalUser = true; isNormalUser = true;
description = "smayzy"; description = "smayzy";
extraGroups = [ extraGroups = [

View File

@ -15,8 +15,6 @@ in
}; };
config = mkIf config.smayzy.virt.enable { config = mkIf config.smayzy.virt.enable {
# chmod g+x ~/VM
# for traversability of the home dir
programs.virt-manager.enable = true; programs.virt-manager.enable = true;
users.groups.libvirtd.members = [ "smayzy" ]; users.groups.libvirtd.members = [ "smayzy" ];
virtualisation.libvirtd.enable = true; virtualisation.libvirtd.enable = true;