Remove more persistence references and move to a simpler, global system

This commit is contained in:
Jimbo 2025-02-28 14:17:13 -05:00
parent 8d1a992bb2
commit 9a8e7d8a9e
6 changed files with 23 additions and 49 deletions

View file

@ -17,23 +17,10 @@
};
};
programs.virt-manager.enable = true;
environment.persistence."/persist".directories = [
"/var/lib/libvirt/dnsmasq"
"/var/lib/libvirt/nwfilter"
"/var/lib/libvirt/qemu"
"/var/lib/libvirt/secrets"
"/var/lib/libvirt/storage"
"/var/lib/libvirt/swtpm"
];
# Needed to make NAT work
networking.firewall.trustedInterfaces = [
"virbr0"
"virbr1"
];
systemd.tmpfiles.rules = [ "f /dev/shm/looking-glass 0660 - libvirtd -" ];
};
}