1
Fork 0

Update hermes mount options

This commit is contained in:
Matei Adriel 2024-01-18 05:19:53 +01:00
parent ffa71144cc
commit c5a0381c9e
No known key found for this signature in database

View file

@ -3,7 +3,7 @@ let secretMountpoint = "/hermes";
in in
{ {
# Configure ZFS # Configure ZFS
boot.supportedFilesystems = [ "zfs" ]; boot.supportedFilesystems = [ "zfs" "ext4" ];
boot.zfs.extraPools = [ "zroot" ]; boot.zfs.extraPools = [ "zroot" ];
boot.zfs.requestEncryptionCredentials = [ "secure" ]; boot.zfs.requestEncryptionCredentials = [ "secure" ];
boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages; boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
@ -11,8 +11,9 @@ in
fileSystems."/hermes" = { fileSystems."/hermes" = {
neededForBoot = true; neededForBoot = true;
device = "/dev/disk/by-uuid/7FE7-CA68"; device = "/dev/disk/by-uuid/9f795d9c-5ee0-4c53-a5bf-97767cd9a30b";
fsType = "exfat"; fsType = "ext4";
options = [ "x-systemd.automount" "nofail" ];
}; };
# # {{{ Mount usb for zfs secrets # # {{{ Mount usb for zfs secrets