2023-02-25 13:45:21 +00:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
config,
|
|
|
|
...
|
2023-10-01 20:46:05 +00:00
|
|
|
}: {
|
2023-11-11 00:12:57 +00:00
|
|
|
systemd.mounts = [
|
|
|
|
{
|
|
|
|
what = "/dev/mapper/crypt-documents";
|
|
|
|
where = "/opt/documents";
|
|
|
|
type = "ext4";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
|
2023-10-01 20:46:05 +00:00
|
|
|
pub-solar.paperless = {
|
2023-02-25 13:45:21 +00:00
|
|
|
enable = true;
|
2023-10-01 20:46:05 +00:00
|
|
|
hostStateDir = "/opt/documents/paperless";
|
2023-10-28 23:23:14 +00:00
|
|
|
domain = "cox.lan";
|
|
|
|
path = "/paperless";
|
2023-01-28 21:30:37 +00:00
|
|
|
|
2023-10-01 20:46:05 +00:00
|
|
|
ftp = {
|
|
|
|
enable = true;
|
|
|
|
listenPort = 20021;
|
2023-02-25 13:45:21 +00:00
|
|
|
};
|
2023-01-28 21:30:37 +00:00
|
|
|
|
2023-10-01 20:46:05 +00:00
|
|
|
nextcloud = {
|
|
|
|
enable = true;
|
2023-01-28 21:30:37 +00:00
|
|
|
};
|
2023-02-25 13:45:21 +00:00
|
|
|
};
|
|
|
|
}
|