immich migration settings
This commit is contained in:
parent
fe67625b46
commit
2e98b1ad83
3 changed files with 12 additions and 12 deletions
|
|
@ -1,16 +1,11 @@
|
|||
{ homelab, ... }: let
|
||||
{ lib, homelab, ... }: let
|
||||
globalOpts = {
|
||||
fsType = "ext4";
|
||||
autoFormat = true;
|
||||
autoResize = true;
|
||||
};
|
||||
in {
|
||||
fileSystems = {
|
||||
# "/mnt/share" = globalOpts // {
|
||||
# device = homelab.disks.share;
|
||||
# };
|
||||
"/mnt/data" = globalOpts // {
|
||||
device = homelab.disks.data;
|
||||
};
|
||||
};
|
||||
fileSystems = lib.mapAttrs' (name: device:
|
||||
lib.nameValuePair "/mnt/${name}" (globalOpts // { inherit device; })
|
||||
) homelab.disks;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue