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, ... }: {
|
||||
fileSystems = {
|
||||
"/mnt/share" = {
|
||||
device = homelab.disks.share;
|
||||
{ homelab, ... }: let
|
||||
globalOpts = {
|
||||
fsType = "ext4";
|
||||
autoFormat = true;
|
||||
autoResize = true;
|
||||
};
|
||||
"/mnt/data" = {
|
||||
in {
|
||||
fileSystems = {
|
||||
"/mnt/share" = globalOpts // {
|
||||
device = homelab.disks.share;
|
||||
};
|
||||
"/mnt/data" = globalOpts // {
|
||||
device = homelab.disks.data;
|
||||
fsType = "ext4";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue