update docker and virtualisation
This commit is contained in:
parent
2739f18c63
commit
1187d9e234
@ -12,15 +12,7 @@ in {
|
|||||||
uid = userId;
|
uid = userId;
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "${username} account";
|
description = "${username} account";
|
||||||
extraGroups = [
|
extraGroups = [ "networkmanager" "wheel" "audio" "video" "input" ];
|
||||||
"networkmanager"
|
|
||||||
"wheel"
|
|
||||||
"audio"
|
|
||||||
"video"
|
|
||||||
"input"
|
|
||||||
"docker"
|
|
||||||
"libvirtd"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -3,4 +3,5 @@
|
|||||||
virtualisation.libvirtd.enable = true;
|
virtualisation.libvirtd.enable = true;
|
||||||
programs.virt-manager.enable = true;
|
programs.virt-manager.enable = true;
|
||||||
environment.systemPackages = with pkgs; [ virtiofsd ];
|
environment.systemPackages = with pkgs; [ virtiofsd ];
|
||||||
|
users.users."${config.var.username}".extraGroups = [ "docker" "libvirtd" ];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user