dotfiles/nix/modules/nixos/features/homelab/immich.nix

17 lines
292 B
Nix

{
config,
lib,
pkgs,
...
}:
{
options.features.desktop.homelab.immich.enable = lib.mkEnableOption "Enable immich";
config = lib.mkIf config.features.desktop.homelab.immich.enable {
services.immich.enable = true;
environment.systemPackages = [ pkgs.immich-cli ];
};
}