mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-10 20:20:41 +03:00
32 lines
577 B
Nix
32 lines
577 B
Nix
{ inputs, ... }@flakeContext:
|
|
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
{
|
|
services = {
|
|
postgresql = {
|
|
enable = false;
|
|
# ensureDatabases = [ "nextcloud" ];
|
|
# ensureUsers = [
|
|
# {
|
|
# name = "nextcloud"; # Здесь не хватает строчек\\
|
|
# }
|
|
# ];
|
|
};
|
|
immich = {
|
|
enable = true;
|
|
port = 2283;
|
|
host = "0.0.0.0";
|
|
openFirewall = true;
|
|
accelerationDevices = null;
|
|
machine-learning.enable = false;
|
|
|
|
};
|
|
};
|
|
|
|
users.users.immich.extraGroups = [ "video" "render" ];
|
|
}
|