1
Fork 0

persist libvirt shit

This commit is contained in:
caem 2025-01-14 00:26:58 +01:00
parent 4abc361bcc
commit 8683f91ff3
Signed by: caem
GPG key ID: 69A830D03203405F

View file

@ -5,6 +5,12 @@
programs.virt-manager.enable = true; programs.virt-manager.enable = true;
users.users.hu.extraGroups = [ "libvirtd" ]; 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 = { home-manager.users.hu = {
dconf.settings = { dconf.settings = {