mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-23 04:30:32 +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";
|
|
};
|
|
}
|