mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-25 11:03:55 +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";
|
|
};
|
|
}
|