add extra options

This commit is contained in:
Satria 2026-02-28 22:31:48 +07:00
commit 5a41737400

View file

@ -1,12 +1,16 @@
{ homelab, ... }: { { homelab, ... }: let
fileSystems = { globalOpts = {
"/mnt/share" = {
device = homelab.disks.share;
fsType = "ext4"; fsType = "ext4";
autoFormat = true;
autoResize = true;
}; };
"/mnt/data" = { in {
fileSystems = {
"/mnt/share" = globalOpts // {
device = homelab.disks.share;
};
"/mnt/data" = globalOpts // {
device = homelab.disks.data; device = homelab.disks.data;
fsType = "ext4";
}; };
}; };
} }