Add libvirt and virt-manager

restic-rest-server
Simon Bruder 2020-09-12 20:54:10 +02:00
parent 20ef95691b
commit 8b32cc4846
No known key found for this signature in database
GPG Key ID: 6F03E0000CC5B62F
3 changed files with 9 additions and 0 deletions

View File

@ -5,6 +5,7 @@
[
./hardware-configuration.nix
../../modules/restic.nix
(import ../../modules/libvirt.nix { inherit pkgs; gui = true; })
#../../modules/texlive.nix
../../profiles/base.nix
../../profiles/dev.nix

7
modules/libvirt.nix Normal file
View File

@ -0,0 +1,7 @@
{ pkgs, gui ? false, ... }:
{
virtualisation.libvirtd.enable = true;
environment.systemPackages = if gui then [ pkgs.virt-manager ] else [];
}

View File

@ -14,6 +14,7 @@ in
"adbusers"
"dialout"
"docker"
"libvirtd"
"lp"
"networkmanager"
"wheel"