Hendrik Sokolowski
6c7d9704bd
All checks were successful
continuous-integration/drone/push Build is passing
30 lines
429 B
Nix
30 lines
429 B
Nix
{
|
|
pkgs,
|
|
config,
|
|
...
|
|
}: {
|
|
systemd.mounts = [
|
|
{
|
|
what = "/dev/mapper/crypt-documents";
|
|
where = "/opt/documents";
|
|
type = "ext4";
|
|
}
|
|
];
|
|
|
|
pub-solar.paperless = {
|
|
enable = true;
|
|
hostStateDir = "/opt/documents/paperless";
|
|
domain = "cox.lan";
|
|
path = "/paperless";
|
|
|
|
ftp = {
|
|
enable = true;
|
|
listenPort = 20021;
|
|
};
|
|
|
|
nextcloud = {
|
|
enable = true;
|
|
};
|
|
};
|
|
}
|