Compare commits
No commits in common. "2a961aaa91cc3239d187c7b15f6bd2059ac17bb7" and "058f9bcebdf67b209147ebdd7461b7c01f4e1032" have entirely different histories.
2a961aaa91
...
058f9bcebd
2 changed files with 8 additions and 10 deletions
|
@ -21,7 +21,6 @@
|
||||||
# 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";
|
||||||
|
|
||||||
|
@ -81,23 +80,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;
|
||||||
services.zfs.trim.enable = true;
|
services.zfs.trim.enable = true;
|
||||||
|
|
|
@ -20,9 +20,9 @@ in
|
||||||
services.immich = {
|
services.immich = {
|
||||||
enable = true;
|
enable = true;
|
||||||
port = 2283;
|
port = 2283;
|
||||||
host = "0.0.0.0";
|
host = "photos.nekomimi.pet";
|
||||||
mediaLocation = immichPhotos;
|
mediaLocation = immichPhotos;
|
||||||
settings = null;
|
settings = null;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
};
|
Loading…
Add table
Add a link
Reference in a new issue