mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
pipewire sound in VM is fixed
various fixes
This commit is contained in:
parent
b343c564b2
commit
1debd48ceb
6 changed files with 9 additions and 24 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue