fixes
This commit is contained in:
parent
89635578ef
commit
2a961aaa91
2 changed files with 10 additions and 8 deletions
|
@ -21,6 +21,7 @@
|
||||||
# Enable modules
|
# Enable modules
|
||||||
modules.garage.enable = true;
|
modules.garage.enable = true;
|
||||||
modules.forgejo.enable = true;
|
modules.forgejo.enable = true;
|
||||||
|
modules.immich.enable = true;
|
||||||
|
|
||||||
system.stateVersion = "24.11";
|
system.stateVersion = "24.11";
|
||||||
|
|
||||||
|
@ -80,21 +81,22 @@
|
||||||
wants = [ "systemd-udev-settle.service" ];
|
wants = [ "systemd-udev-settle.service" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.mounts = [
|
systemd.mounts = [{
|
||||||
{
|
|
||||||
what = "garage";
|
what = "garage";
|
||||||
where = "/garage";
|
where = "/garage";
|
||||||
type = "zfs";
|
type = "zfs";
|
||||||
after = [ "zfs-import-scan.service" ];
|
after = [ "zfs-import-scan.service" ];
|
||||||
wants = [ "zfs-import-scan.service" ];
|
wants = [ "zfs-import-scan.service" ];
|
||||||
}
|
} {
|
||||||
{
|
|
||||||
what = "storage";
|
what = "storage";
|
||||||
where = "/storage";
|
where = "/storage";
|
||||||
type = "zfs";
|
type = "zfs";
|
||||||
after = [ "zfs-import-scan.service" ];
|
after = [ "zfs-import-scan.service" ];
|
||||||
wants = [ "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.autoScrub.enable = true;
|
||||||
|
|
|
@ -20,9 +20,9 @@ in
|
||||||
services.immich = {
|
services.immich = {
|
||||||
enable = true;
|
enable = true;
|
||||||
port = 2283;
|
port = 2283;
|
||||||
host = "photos.nekomimi.pet";
|
host = "0.0.0.0";
|
||||||
mediaLocation = immichPhotos;
|
mediaLocation = immichPhotos;
|
||||||
settings = null;
|
settings = null;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue