diff --git a/modules/system/virtualisation.nix b/modules/system/virtualisation.nix index 891a978..94ff8a4 100644 --- a/modules/system/virtualisation.nix +++ b/modules/system/virtualisation.nix @@ -5,6 +5,12 @@ programs.virt-manager.enable = true; users.users.hu.extraGroups = [ "libvirtd" ]; + environment.persistence."/nix/persist".directories = [ + "/var/lib/libvirt" + "/var/log/libvirt" + "/var/cache/libvirt" + "/var/log/swtpm/libvirt" + ]; home-manager.users.hu = { dconf.settings = {