mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-22 23:00:33 +01:00
17 lines
258 B
Nix
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";
|
|
};
|
|
}
|