pipewire sound in VM is fixed

various fixes
This commit is contained in:
Gerg-L 2023-07-30 10:26:24 -04:00
parent b343c564b2
commit 1debd48ceb
6 changed files with 9 additions and 24 deletions

View file

@ -30,15 +30,9 @@ _: {
availableKernelModules = ["hid_generic"];
#wipe / and /var on boot
postDeviceCommands = lib.mkAfter ''
#destroy last snapshot
zfs destroy rpool/root@lastboot
zfs destroy rpool/var@lastboot
#create new snapshot
zfs snapshot rpool/root@lastboot
zfs snapshot rpool/var@lastboot
#wipe everything
zfs rollback -r rpool/root@empty
zfs rollback -r rpool/var@empty
zfs rollback -r rpool/root@empty
zfs rollback -r rpool/var@empty
'';
};
plymouth.enable = false;