mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 21:01:34 +01:00
Move nspawn containers into nspawn directory
This commit is contained in:
parent
be488a91a7
commit
5b1fc56176
14 changed files with 2 additions and 1 deletions
22
hosts/stratus/containers/nspawn/paperless/default.nix
Normal file
22
hosts/stratus/containers/nspawn/paperless/default.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
containers.paperless.config =
|
||||
{
|
||||
config,
|
||||
dataDir,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [ ./backup.nix ];
|
||||
|
||||
sops.secrets."paperless-admin-password" = { };
|
||||
|
||||
services.paperless = {
|
||||
enable = true;
|
||||
inherit dataDir;
|
||||
passwordFile = config.sops.secrets."paperless-admin-password".path;
|
||||
settings.PAPERLESS_OCR_LANGUAGE = "deu+eng";
|
||||
};
|
||||
|
||||
myConfig.tailscale.serve = "28981";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue