Update flake.lock

This commit is contained in:
Bun 2025-04-30 00:25:08 -04:00
parent 0f16eb6920
commit 7976a8c9ec
5 changed files with 21 additions and 48 deletions

View file

@ -16,7 +16,6 @@
./nginx
./owncast
./transmission
./trilium
./vaultwarden
];
}

View file

@ -1,14 +0,0 @@
{ config, lib, pkgs, ... }:
{
imports = [ ./nginx ];
config = lib.mkIf config.services.transmission.enable {
services.trilium-server = {
package = pkgs.trilium-next-server;
instanceName = "NixFox Notes";
port = 8012;
noBackup = true;
};
environment.persistence."/persist".directories = [ "/var/lib/trilium" ];
};
}

View file

@ -1,11 +0,0 @@
{ config, lib, ... }:
{
services.nginx.virtualHosts."notes.nixfox.ca" = lib.mkIf config.services.vaultwarden.enable {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:8012";
proxyWebsockets = true;
};
};
}