mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-10 20:20:41 +03:00
123
This commit is contained in:
+14
-11
@@ -7,14 +7,8 @@
|
||||
}:
|
||||
{
|
||||
services = {
|
||||
postgresql = {
|
||||
enable = false;
|
||||
# ensureDatabases = [ "nextcloud" ];
|
||||
# ensureUsers = [
|
||||
# {
|
||||
# name = "nextcloud"; # Здесь не хватает строчек\\
|
||||
# }
|
||||
# ];
|
||||
postgresql = {
|
||||
enable = lib.mkDefault true;
|
||||
};
|
||||
immich = {
|
||||
enable = true;
|
||||
@@ -23,9 +17,18 @@
|
||||
openFirewall = true;
|
||||
accelerationDevices = null;
|
||||
machine-learning.enable = false;
|
||||
|
||||
mediaLocation = "${inputs.zeroq.dirs.immich-folder}";
|
||||
};
|
||||
};
|
||||
|
||||
users.users.immich.extraGroups = [ "video" "render" ];
|
||||
|
||||
users.users.immich.extraGroups = [
|
||||
"video"
|
||||
"render"
|
||||
];
|
||||
|
||||
environment = {
|
||||
systemPackages = with pkgs; [
|
||||
immich-cli
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user