123
This commit is contained in:
1 parent
aef5aafa1e
commit
2a197c249f
3 files changed
+19
-15
No files matched your search
+17
-14
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user