1
Fork 0

Missing file + removed option

This commit is contained in:
Matei Adriel 2023-07-18 17:39:38 +03:00
parent 98d6daf89e
commit ccf58efcb3
No known key found for this signature in database
2 changed files with 12 additions and 4 deletions
hosts/nixos/lapetus

View file

@ -0,0 +1,12 @@
{ config, ... }: {
# Configure ZFS
boot.supportedFilesystems = [ "zfs" ];
boot.zfs.extraPools = [ "zroot" ];
boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
boot.kernelParams = [ "nohibernate" ];
# Roll back to blank snapshot on boot
# boot.initrd.postDeviceCommands = lib.mkAfter ''
# zfs rollback -r zroot@blank
# '';
}