diff options
author | Azat Bahawi <azat@bahawi.net> | 2023-01-05 04:22:04 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2023-01-05 04:22:04 +0300 |
commit | 5e81e4814d6da25ce8531baf0bc2d23da7fc26b3 (patch) | |
tree | cd887f80d9f98d42db556b4a42bcb8d5faa91c84 /modules/nixos/libvirtd.nix | |
parent | 2022-12-17 (diff) |
2023-01-05
Diffstat (limited to '')
-rw-r--r-- | modules/nixos/libvirtd.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/modules/nixos/libvirtd.nix b/modules/nixos/libvirtd.nix index ae8b336..58dfc50 100644 --- a/modules/nixos/libvirtd.nix +++ b/modules/nixos/libvirtd.nix @@ -10,6 +10,12 @@ in { options.nixfiles.modules.libvirtd.enable = mkEnableOption "libvirtd"; config = mkIf cfg.enable { + hm.home.packages = with pkgs; [ + qemu-utils + quickemu + virt-manager + ]; + virtualisation.libvirtd = { enable = true; @@ -37,8 +43,6 @@ in { }; }; - environment.systemPackages = with pkgs; [virt-manager qemu-utils]; - my.extraGroups = ["libvirtd"]; }; } |