add extra options
This commit is contained in:
parent
f6968d22a6
commit
5a41737400
1 changed files with 9 additions and 5 deletions
|
|
@ -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";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue