mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-15 22:41:52 +03:00
123
This commit is contained in:
@@ -31,6 +31,7 @@
|
|||||||
"pipewire"
|
"pipewire"
|
||||||
"qemu-libvirtd"
|
"qemu-libvirtd"
|
||||||
"wheel"
|
"wheel"
|
||||||
|
"immich"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
+17
-14
@@ -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"
|
||||||
|
|||||||
@@ -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 = {
|
||||||
|
|||||||
Reference in New Issue
Block a user