This commit is contained in:
2025-06-01 18:54:24 +03:00
parent aef5aafa1e
commit 2a197c249f
3 changed files with 19 additions and 15 deletions
+17 -14
View File
@@ -17,23 +17,26 @@
openFirewall = true;
accelerationDevices = null;
machine-learning.enable = false;
#mediaLocation = "${inputs.zeroq.dirs.immich-folder}";
mediaLocation = "/mnt/immich";
};
};
# immich
# fileSystems."${config.services.immich.mediaLocation}" = {
# device = "${inputs.zeroq.dirs.immich-folder}";
# options = [
# "bind"
# # "uid=1000"
# # "gid=1000"
# # "fmask=0007"
# # "dmask=0007"
# "nofail"
# "x-systemd.device-timeout=0"
# ];
# };
fileSystems."${config.services.immich.mediaLocation}" = {
device = "${inputs.zeroq.dirs.immich-folder}";
options = [
"bind"
#"uid=1000"
#"gid=1000"
#"fmask=0007"
#"dmask=0007"
"nofail"
"x-systemd.device-timeout=0"
];
};
systemd.tmpfiles.rules = [
"z /mnt/immich 0755 immich immich -" # beets absolute paths
];
users.users.immich.extraGroups = [
"video"