Compare commits

...

3 commits

Author SHA1 Message Date
Fabian Montero 3b323ae595
add trilium 2024-09-04 01:48:42 -06:00
Fabian Montero 5bd11b2bd4
disable matrix 2024-09-04 01:47:49 -06:00
Fabian Montero 34b1a8e289
make forgejo default theme dark 2024-09-04 00:22:55 -06:00
3 changed files with 35 additions and 1 deletions

View file

@ -10,7 +10,7 @@ with lib; {
./net.nix
./mediawiki.nix
./jitsi.nix
./matrix.nix
# ./matrix.nix currently not being used
./forgejo.nix
./vaultwarden.nix
./bepasty.nix
@ -19,5 +19,6 @@ with lib; {
./kuma.nix
# ./authentik.nix consumes too much RAM and serves no purpose for now
./paperless.nix
./trilium.nix
];
}

View file

@ -39,6 +39,7 @@ with lib; {
useWizard = false;
settings = {
general.APP_NAME = "posixlycorrect";
ui.DEFAULT_THEME = "forgejo-dark";
server = {
DOMAIN = "git.posixlycorrect.com";
ROOT_URL = "https://git.posixlycorrect.com";

32
sys/srv/trilium.nix Normal file
View file

@ -0,0 +1,32 @@
{
lib,
pkgs,
...
}:
with lib; {
services = {
nginx = {
virtualHosts."notes.posixlycorrect.com" = {
enableACME = true;
forceSSL = true;
extraConfig = ''
proxy_headers_hash_max_size 512;
proxy_headers_hash_bucket_size 128;
'';
};
};
trilium-server = {
enable = true;
host = "127.0.0.1";
port = 8458;
noAuthentication = false;
instanceName = "posixlycorrect";
dataDir = "/var/lib/trilium";
nginx = {
enalbe = true;
hostName = "notes.posixlycorrect.com";
};
};
};
}