virt
This commit is contained in:
parent
55ab904b48
commit
b69972cb03
4 changed files with 19 additions and 0 deletions
|
|
@ -12,6 +12,7 @@
|
||||||
"rust"
|
"rust"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
history.size = 10000;
|
history.size = 10000;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
15
hosts/common/optional/virt-manager.nix
Normal file
15
hosts/common/optional/virt-manager.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
{pkgs, ...}: {
|
||||||
|
environment = with pkgs; {
|
||||||
|
systemPackages = [
|
||||||
|
qemu
|
||||||
|
quickemu
|
||||||
|
quickgui
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.virt-manager.enable = true;
|
||||||
|
|
||||||
|
virtualisation.libvirtd.enable = true;
|
||||||
|
|
||||||
|
virtualisation.spiceUSBRedirection.enable = true;
|
||||||
|
}
|
||||||
|
|
@ -13,6 +13,7 @@ in {
|
||||||
extraGroups = ifTheyExist [
|
extraGroups = ifTheyExist [
|
||||||
"audio"
|
"audio"
|
||||||
"docker"
|
"docker"
|
||||||
|
"libvirtd"
|
||||||
"networkmanager"
|
"networkmanager"
|
||||||
"wheel"
|
"wheel"
|
||||||
];
|
];
|
||||||
|
|
@ -22,6 +23,7 @@ in {
|
||||||
neovim
|
neovim
|
||||||
rustup
|
rustup
|
||||||
protonvpn-gui
|
protonvpn-gui
|
||||||
|
ansible
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@
|
||||||
../common/optional/flatpak.nix
|
../common/optional/flatpak.nix
|
||||||
../common/optional/ckb-next.nix
|
../common/optional/ckb-next.nix
|
||||||
../common/optional/docker.nix
|
../common/optional/docker.nix
|
||||||
|
../common/optional/virt-manager.nix
|
||||||
|
|
||||||
# Include the results of the hardware scan.
|
# Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue