change permissions for home dir for qemu
This commit is contained in:
parent
34775227e9
commit
cce705e664
@ -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 = [
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user