persist libvirt shit
This commit is contained in:
parent
4abc361bcc
commit
8683f91ff3
1 changed files with 6 additions and 0 deletions
|
@ -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 = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue