nix: add tangled

This commit is contained in:
Oleksandr Smirnov 2026-01-15 00:09:51 +02:00
parent 50015669e1
commit 3ef9e56aee
No known key found for this signature in database
3 changed files with 27 additions and 1 deletions

20
nix/modules/tangled.nix Normal file
View file

@ -0,0 +1,20 @@
{ pkgs, ... }:
{
services.caddy.virtualHosts."knot.olexsmir.xyz".extraConfig = ''
reverse_proxy http://localhost:5555
'';
services.tangled.knot = {
enable = true;
openFirewall = false;
motd = ''
i use arch btw
i use nvim btw
i use nix btw
'';
server = {
owner = "did:plc:oifo2b6pso4z6es65c7hrrey";
hostname = "knot.olexsmir.xyz";
};
};
}