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"
"qemu-libvirtd"
"wheel"
"immich"
];
};
};
+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"
+1 -1
View File
@@ -18,7 +18,7 @@ let
in
{
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 = {