diff options
Diffstat (limited to 'systems/x86_64-linux/c-pc/hardware.nix')
| -rw-r--r-- | systems/x86_64-linux/c-pc/hardware.nix | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/systems/x86_64-linux/c-pc/hardware.nix b/systems/x86_64-linux/c-pc/hardware.nix index d00d962..dfcae0d 100644 --- a/systems/x86_64-linux/c-pc/hardware.nix +++ b/systems/x86_64-linux/c-pc/hardware.nix @@ -22,10 +22,9 @@ availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ]; kernelModules = [ "amdgpu" ]; - #TODO: re-enable impermanence - # postDeviceCommands = lib.mkAfter '' - # zfs rollback -r zpool/root@blank && zfs rollback -r zpool/home@blank - # ''; + postDeviceCommands = lib.mkAfter '' + zfs rollback -r zpool/root@blank && zfs rollback -r zpool/home@blank + ''; postMountCommands = lib.mkAfter '' chmod u=rw,g=,o= /secrets |