This commit is contained in:
2026-03-03 14:48:32 -06:00
parent 9e755ab926
commit 5994b99288

View File

@@ -1,4 +1,4 @@
{ ... }:
{ lib, ... }:
let
defaultLocalOptions = [
"compress=zstd"
@@ -10,6 +10,19 @@ let
];
in
{
boot.initrd = {
supportedFilesystems = {
bcachefs = true;
};
clevis = {
enable = lib.mkForce true;
devices = {
"/dev/disk/by-uuid/2b7e2033-2bcc-4fff-b248-833289f07f3d".secretFile = ../../../secrets/hdd.jwe; # config.sops.secrets."disk-key".path;
};
};
};
fileSystems = {
"/etc".neededForBoot = true;
"/media/matt/data" = {
@@ -20,6 +33,14 @@ in
]
++ defaultLocalOptions;
};
"/media/matt/slow" = {
device = "/dev/disk/by-uuid/2b7e2033-2bcc-4fff-b248-833289f07f3d";
fsType = "bcachefs";
options = [
"noatime"
]
++ defaultLocalOptions;
};
# # Network shares
# "/media/nas/backup" = {