Compare commits

..

2 commits

Author SHA1 Message Date
54829d7365
feat: add hedgedoc
Some checks failed
/ test (push) Failing after 1s
2025-02-02 20:39:40 +01:00
c2cc7f8114
chore: small stuff 2025-02-02 13:54:13 +01:00
3 changed files with 12 additions and 2 deletions

View file

@ -2,7 +2,7 @@
{ {
programs.git = { programs.git = {
enable = true; enable = true;
userName = "Nydragon"; userName = "nydragon";
userEmail = "contact@ccnlc.eu"; userEmail = "contact@ccnlc.eu";
extraConfig = { extraConfig = {
gpg.format = "ssh"; gpg.format = "ssh";

View file

@ -96,7 +96,6 @@ in
pulseview.enable = true; pulseview.enable = true;
gnupg.agent = { gnupg.agent = {
enable = true; enable = true;
enableSSHSupport = true;
}; };
}; };

View file

@ -111,6 +111,7 @@ in
clientMaxBodySize = "100M"; clientMaxBodySize = "100M";
virtualHosts = builtins.listToAttrs [ virtualHosts = builtins.listToAttrs [
(mkVHost "rusty.ccnlc.eu" 8000 true) (mkVHost "rusty.ccnlc.eu" 8000 true)
(mkVHost "hedgedoc.ccnlc.eu" 4739 true)
]; ];
}; };
@ -121,5 +122,15 @@ in
}; };
}; };
services.hedgedoc = {
enable = true;
settings = {
domain = "hedgedoc.ccnlc.eu";
host = "0.0.0.0";
port = 4739;
protocolUseSSL = true;
};
};
system.stateVersion = "24.11"; system.stateVersion = "24.11";
} }