fix fstype
All checks were successful
Activate Homelab Configuration / rebuild (push) Successful in 26s

This commit is contained in:
Satria 2026-03-29 11:30:08 +07:00
commit 9e5f99b718
2 changed files with 7 additions and 11 deletions

View file

@ -1,6 +1,5 @@
{ lib, homelab, ... }: let
globalOpts = {
fsType = "ext4";
autoFormat = true;
autoResize = true;
};
@ -10,10 +9,7 @@ in {
} // lib.mapAttrs' (name: dev:
lib.nameValuePair "/mnt/${name}" (globalOpts // {
device = dev.path;
options = if dev.required == false then [
"nofail"
"x-systemd.automount"
] else [ "defaults" ];
fsType = dev.type;
})
) homelab.disks;
}