Compare commits
No commits in common. "f0f51a86ae6ceb8afdb5dd245baaeede0db49463" and "34defccf4d718c0b9c7d43fdf38317e1c82b3912" have entirely different histories.
f0f51a86ae
...
34defccf4d
3 changed files with 4 additions and 46 deletions
8
flake.lock
generated
8
flake.lock
generated
|
@ -238,11 +238,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1758437510,
|
||||
"narHash": "sha256-ROmZ5/8dljFeho4dsNAs0PM0zuKBzcT5pXBFZpprL0I=",
|
||||
"lastModified": 1758235861,
|
||||
"narHash": "sha256-91Gvygx8kbSmli10SPr9KbV1Uz5cz2JZ9s/EdjFtRRw=",
|
||||
"ref": "refs/heads/master",
|
||||
"rev": "7e9c71caeb2edb1c8d66fe80f3822cc1b60f1ef8",
|
||||
"revCount": 67,
|
||||
"rev": "be5ce1122f40801803f9455a4e0de55f68876645",
|
||||
"revCount": 64,
|
||||
"type": "git",
|
||||
"url": "https://git.posixlycorrect.com/fabian/homepage.git"
|
||||
},
|
||||
|
|
|
@ -20,6 +20,5 @@ with lib; {
|
|||
./dufs.nix
|
||||
./isso.nix
|
||||
./miniflux.nix
|
||||
./radicale.nix
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,41 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib; {
|
||||
services = {
|
||||
nginx = {
|
||||
virtualHosts."dav.posixlycorrect.com" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
extraConfig = ''
|
||||
proxy_headers_hash_max_size 512;
|
||||
proxy_headers_hash_bucket_size 128;
|
||||
'';
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:5232";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
radicale = {
|
||||
enable = true;
|
||||
settings = {
|
||||
server = {
|
||||
hosts = [ "127.0.0.1:5232" ];
|
||||
};
|
||||
auth = {
|
||||
type = "htpasswd";
|
||||
htpasswd_filename = "/var/trust/radicale/htpasswd";
|
||||
htpasswd_encryption = "bcrypt";
|
||||
};
|
||||
storage = {
|
||||
filesystem_folder = "/var/lib/radicale/collections";
|
||||
};
|
||||
web.type = "internal";
|
||||
rights.type = "authenticated";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue