feat: add ZFS

main
Louis Pearson 2024-01-06 14:41:24 -07:00
parent 6a465666ee
commit 6a3d080566
1 changed files with 12 additions and 1 deletions

View File

@ -12,7 +12,18 @@
# Use the `systemd-boot` boot loader
boot.loader.systemd-boot.enable = true;
# Added following instructions of openzfs configuration
# randomly generated with `head -c4 /dev/urandom | od -A none -t x4`
networking.hostId = "3e52e44f";
boot.supportedFilesystems = [ "zfs" ];
boot.zfs.forceImportRoot = false;
# fileSystems."/zroot" =
# { device = "dev/disk/by-uuid/";
# fsType = "ext4";
# };
networking.hostName = "samsehu"; # Define your hostname.
# Pick only one of the below networking options.