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
+1
View File
@@ -31,6 +31,7 @@
"pipewire" "pipewire"
"qemu-libvirtd" "qemu-libvirtd"
"wheel" "wheel"
"immich"
]; ];
}; };
}; };
+17 -14
View File
@@ -17,23 +17,26 @@
openFirewall = true; openFirewall = true;
accelerationDevices = null; accelerationDevices = null;
machine-learning.enable = false; machine-learning.enable = false;
#mediaLocation = "${inputs.zeroq.dirs.immich-folder}"; mediaLocation = "/mnt/immich";
}; };
}; };
# immich fileSystems."${config.services.immich.mediaLocation}" = {
# fileSystems."${config.services.immich.mediaLocation}" = { device = "${inputs.zeroq.dirs.immich-folder}";
# device = "${inputs.zeroq.dirs.immich-folder}"; options = [
# options = [ "bind"
# "bind" #"uid=1000"
# # "uid=1000" #"gid=1000"
# # "gid=1000" #"fmask=0007"
# # "fmask=0007" #"dmask=0007"
# # "dmask=0007" "nofail"
# "nofail" "x-systemd.device-timeout=0"
# "x-systemd.device-timeout=0" ];
# ]; };
# };
systemd.tmpfiles.rules = [
"z /mnt/immich 0755 immich immich -" # beets absolute paths
];
users.users.immich.extraGroups = [ users.users.immich.extraGroups = [
"video" "video"
+1 -1
View File
@@ -18,7 +18,7 @@ let
in in
{ {
systemd.tmpfiles.rules = [ systemd.tmpfiles.rules = [
"z /mnt/beets 0700 ${inputs.zeroq.dirs.music-library} users -" # beets absolute paths "z /mnt/beets 0700 ${inputs.zeroq.devices.admin} users -" # beets absolute paths
]; ];
users = { users = {