Add libvirt and virt-manager
This commit is contained in:
parent
20ef95691b
commit
8b32cc4846
|
@ -5,6 +5,7 @@
|
||||||
[
|
[
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../../modules/restic.nix
|
../../modules/restic.nix
|
||||||
|
(import ../../modules/libvirt.nix { inherit pkgs; gui = true; })
|
||||||
#../../modules/texlive.nix
|
#../../modules/texlive.nix
|
||||||
../../profiles/base.nix
|
../../profiles/base.nix
|
||||||
../../profiles/dev.nix
|
../../profiles/dev.nix
|
||||||
|
|
7
modules/libvirt.nix
Normal file
7
modules/libvirt.nix
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{ pkgs, gui ? false, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
virtualisation.libvirtd.enable = true;
|
||||||
|
|
||||||
|
environment.systemPackages = if gui then [ pkgs.virt-manager ] else [];
|
||||||
|
}
|
|
@ -14,6 +14,7 @@ in
|
||||||
"adbusers"
|
"adbusers"
|
||||||
"dialout"
|
"dialout"
|
||||||
"docker"
|
"docker"
|
||||||
|
"libvirtd"
|
||||||
"lp"
|
"lp"
|
||||||
"networkmanager"
|
"networkmanager"
|
||||||
"wheel"
|
"wheel"
|
||||||
|
|
Loading…
Reference in a new issue