nixos-config/hosts/x86_64-linux/beleth/paperless.nix
2024-07-03 17:52:10 +02:00

17 lines
258 B
Nix

{
config,
lib,
inputs,
...
}: {
sops.secrets."paperless_password" = {
path = "/etc/paperless_sc";
owner = "paperless";
group = "paperless";
};
services.paperless = {
enable = true;
passwordFile = "/etc/paperless_sc";
};
}