programs: Move virt-manager to user profile

upower
Simon Bruder 2021-08-28 11:24:51 +02:00
parent a0e52ea7b6
commit 29f0a5017f
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
3 changed files with 2 additions and 10 deletions

View File

@ -25,7 +25,6 @@
./grub.nix
./gui.nix
./initrd-ssh.nix
./libvirt.nix
./locales.nix
./mailserver.nix
./media-proxy.nix

View File

@ -1,9 +0,0 @@
{ config, lib, pkgs, ... }:
{
config = {
environment.systemPackages = lib.mkIf
(config.sbruder.gui.enable && config.virtualisation.libvirtd.enable)
[ pkgs.virt-manager ];
};
}

View File

@ -232,5 +232,7 @@ in
] ++ lib.optionals (nixosConfig.sbruder.gui.enable && !nixosConfig.sbruder.full) [
# creative/design
gimp # without plugins
] ++ lib.optionals (nixosConfig.sbruder.gui.enable && nixosConfig.virtualisation.libvirtd.enable) [
virt-manager
];
}