Compare commits

..

5 commits

Author SHA1 Message Date
f0f51a86ae
flake.lock: Update
Flake lock file updates:

• Updated input 'homepage':
    'git+https://git.posixlycorrect.com/fabian/homepage.git?ref=refs/heads/master&rev=5bd6a081d599e62231779c334ab7cd7227881d55' (2025-09-19)
  → 'git+https://git.posixlycorrect.com/fabian/homepage.git?ref=refs/heads/master&rev=7e9c71caeb2edb1c8d66fe80f3822cc1b60f1ef8' (2025-09-21)
2025-09-21 00:52:21 -06:00
dff5c6c440
vps: add radicale 2025-09-21 00:50:42 -06:00
dd9eb1dd3e
flake.lock: Update
Flake lock file updates:

• Updated input 'homepage':
    'git+https://git.posixlycorrect.com/fabian/homepage.git?ref=refs/heads/master&rev=9277dc23424aa5011e979e89e651cedd6561454f' (2025-09-19)
  → 'git+https://git.posixlycorrect.com/fabian/homepage.git?ref=refs/heads/master&rev=5bd6a081d599e62231779c334ab7cd7227881d55' (2025-09-19)
2025-09-18 21:52:50 -06:00
c02420c1ef
flake.lock: Update
Flake lock file updates:

• Updated input 'homepage':
    'git+https://git.posixlycorrect.com/fabian/homepage.git?ref=refs/heads/master&rev=1afd5d014c9013c2b1c37af1bcc362275235ad7d' (2025-09-19)
  → 'git+https://git.posixlycorrect.com/fabian/homepage.git?ref=refs/heads/master&rev=9277dc23424aa5011e979e89e651cedd6561454f' (2025-09-19)
2025-09-18 21:50:30 -06:00
4420024162
flake.lock: Update
Flake lock file updates:

• Updated input 'homepage':
    'git+https://git.posixlycorrect.com/fabian/homepage.git?ref=refs/heads/master&rev=be5ce1122f40801803f9455a4e0de55f68876645' (2025-09-18)
  → 'git+https://git.posixlycorrect.com/fabian/homepage.git?ref=refs/heads/master&rev=1afd5d014c9013c2b1c37af1bcc362275235ad7d' (2025-09-19)
2025-09-18 21:34:25 -06:00
3 changed files with 46 additions and 4 deletions

8
flake.lock generated
View file

@ -238,11 +238,11 @@
]
},
"locked": {
"lastModified": 1758235861,
"narHash": "sha256-91Gvygx8kbSmli10SPr9KbV1Uz5cz2JZ9s/EdjFtRRw=",
"lastModified": 1758437510,
"narHash": "sha256-ROmZ5/8dljFeho4dsNAs0PM0zuKBzcT5pXBFZpprL0I=",
"ref": "refs/heads/master",
"rev": "be5ce1122f40801803f9455a4e0de55f68876645",
"revCount": 64,
"rev": "7e9c71caeb2edb1c8d66fe80f3822cc1b60f1ef8",
"revCount": 67,
"type": "git",
"url": "https://git.posixlycorrect.com/fabian/homepage.git"
},

View file

@ -20,5 +20,6 @@ with lib; {
./dufs.nix
./isso.nix
./miniflux.nix
./radicale.nix
];
}

View file

@ -0,0 +1,41 @@
{
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";
};
};
};
}