This commit is contained in:
Aleksandr Lebedev 2025-09-19 16:28:03 +02:00
parent fb0d8526ff
commit 22a3f0b5de
9 changed files with 160 additions and 3 deletions

View file

@ -0,0 +1,27 @@
{
lib,
pkgs,
inputs,
namespace,
system,
target,
format,
virtual,
systems,
config,
...
}:
with lib;
with lib.custom; {
#https://wiki.nixos.org/wiki/Immich
services.immich = {
enable = true;
port = 2283;
accelerationDevices = null;
};
users.users.immich.extraGroups = ["video" "render"];
hardware.graphics = {
enable = true;
};
#networking.firewallAllowedTCPPorts = [config.services.immich.port];
}