This commit is contained in:
waveringana 2025-06-16 07:29:55 -04:00
parent 89635578ef
commit 2a961aaa91
Signed by: waveringana
SSH key fingerprint: SHA256:i9wBeOYE6M0IXu5FqJ2f5moBn/QvA2SNwME+b3DzZFU
2 changed files with 10 additions and 8 deletions

View file

@ -21,6 +21,7 @@
# Enable modules
modules.garage.enable = true;
modules.forgejo.enable = true;
modules.immich.enable = true;
system.stateVersion = "24.11";
@ -80,22 +81,23 @@
wants = [ "systemd-udev-settle.service" ];
};
systemd.mounts = [
{
systemd.mounts = [{
what = "garage";
where = "/garage";
type = "zfs";
after = [ "zfs-import-scan.service" ];
wants = [ "zfs-import-scan.service" ];
}
{
} {
what = "storage";
where = "/storage";
type = "zfs";
after = [ "zfs-import-scan.service" ];
wants = [ "zfs-import-scan.service" ];
}
];
}];
systemd.tmpfiles.rules = [
"d /storage/immich 0755 immich immich -"
];
services.zfs.autoScrub.enable = true;
services.zfs.trim.enable = true;

View file

@ -20,9 +20,9 @@ in
services.immich = {
enable = true;
port = 2283;
host = "photos.nekomimi.pet";
host = "0.0.0.0";
mediaLocation = immichPhotos;
settings = null;
};
};
};
}