porcorosso: add libvirtd

This commit is contained in:
Luke Granger-Brown 2020-11-03 16:03:22 +00:00
parent fb6544f158
commit 2c0b4e3bb6

View file

@ -83,6 +83,11 @@ in {
dockerCompat = true; dockerCompat = true;
}; };
# Enable libvirtd.
virtualisation.libvirtd = {
enable = true;
};
networking.hostName = "porcorosso"; networking.hostName = "porcorosso";
networking.hostId = "1ee729a4"; networking.hostId = "1ee729a4";
@ -145,7 +150,7 @@ in {
# Define a user account. # Define a user account.
users.users.lukegb = { users.users.lukegb = {
extraGroups = [ "wheel" "networkmanager" ]; extraGroups = [ "wheel" "networkmanager" "libvirtd" ];
}; };
my.home-manager.system = {...}: { my.home-manager.system = {...}: {
home.packages = lib.mkAfter (with pkgs; [ home.packages = lib.mkAfter (with pkgs; [