Services
This commit is contained in:
parent
fb0d8526ff
commit
22a3f0b5de
9 changed files with 160 additions and 3 deletions
27
systems/x86_64-linux/stargate/services/immich.nix
Normal file
27
systems/x86_64-linux/stargate/services/immich.nix
Normal 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];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue