Files
homelab/containers/papers.nix
T
Xavier Morel 047d68a998
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
feat: add terraforming of authentik
2026-03-25 21:24:08 +01:00

31 lines
573 B
Nix

{ ... }:
let
db_pass = import ../config/_passwords.nix;
in
{
my-lxc.papers = {
container = {
cores = 1;
memory = 512;
disk = "6G";
swap = 512;
};
db = {
enable = true;
password = db_pass.papers;
};
system = {
port = 80; # open in firewall + expose on proxy
importConfig = [
../config/papers-paperless.nix
];
};
logging = {
enable = true;
metricsEnable = true;
};
private = true; # available only on private lan
auth = false; # true; # auth overlay
};
}