programs: Move virt-manager to user profile

This commit is contained in:
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
];
}