Added Immich service
This commit is contained in:
parent
feef193d6e
commit
18021fb910
7 changed files with 147 additions and 0 deletions
32
hosts/immich/default.nix
Normal file
32
hosts/immich/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
|
||||
my = {
|
||||
utils = {
|
||||
commons.enable = true;
|
||||
lxc-standard.enable = true;
|
||||
};
|
||||
|
||||
services.immich = {
|
||||
enable = true;
|
||||
mediaDir = "/mnt/immich";
|
||||
};
|
||||
|
||||
networking.nas-samba-share = {
|
||||
enable = true;
|
||||
allowUsers = [ config.services.immich.user ];
|
||||
};
|
||||
|
||||
virtualisation.proxmox.enable = true;
|
||||
};
|
||||
|
||||
# Extra packages
|
||||
environment.systemPackages = with pkgs; [ ];
|
||||
|
||||
system.stateVersion = "24.11";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue