Add paperless-ngx
https://wiki.nixos.org/wiki/Paperless https://docs.paperless-ngx.com
This commit is contained in:
parent
d3b0c48726
commit
8cdc6a511d
|
@ -15,6 +15,7 @@
|
||||||
gitea.enable = true;
|
gitea.enable = true;
|
||||||
immich.enable = true;
|
immich.enable = true;
|
||||||
jellyfin.enable = true;
|
jellyfin.enable = true;
|
||||||
|
paperless.enable = true;
|
||||||
pihole.enable = true;
|
pihole.enable = true;
|
||||||
tubearchivist-container.enable = true;
|
tubearchivist-container.enable = true;
|
||||||
};
|
};
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
./gitea.nix
|
./gitea.nix
|
||||||
./immich.nix
|
./immich.nix
|
||||||
./jellyfin.nix
|
./jellyfin.nix
|
||||||
|
./paperless.nix
|
||||||
./pi-hole.nix
|
./pi-hole.nix
|
||||||
./tubearchivist-container.nix
|
./tubearchivist-container.nix
|
||||||
];
|
];
|
||||||
|
|
13
nix/modules/nixos/features/homelab/paperless.nix
Normal file
13
nix/modules/nixos/features/homelab/paperless.nix
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{ config, lib, ... }:
|
||||||
|
|
||||||
|
with lib;
|
||||||
|
|
||||||
|
{
|
||||||
|
options.features.homelab.paperless.enable = mkEnableOption "Enable paperless";
|
||||||
|
|
||||||
|
config = mkIf config.features.homelab.paperless.enable {
|
||||||
|
services.paperless = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue