add trilium to technology stack

This commit is contained in:
Ingolf Wagner 2023-05-20 22:31:36 +02:00
parent f5b916320c
commit e77d72e6ca
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
8 changed files with 14 additions and 3 deletions

View file

@ -152,6 +152,7 @@
legacy = nixpkgs-legacy.legacyPackages.${pkgs.system}; legacy = nixpkgs-legacy.legacyPackages.${pkgs.system};
polygon-art = polygon-art.packages.${pkgs.system}; polygon-art = polygon-art.packages.${pkgs.system};
landingpage = landingpage.packages.${pkgs.system}.plain; landingpage = landingpage.packages.${pkgs.system}.plain;
trilium-server = nixpkgs-unstable.legacyPackages.${pkgs.system}.trilium-server;
}) })
]; ];
}; };

View file

@ -39,6 +39,8 @@ let
"tdarr.chungus" = hosts.chungus; "tdarr.chungus" = hosts.chungus;
"trilium.chungus" = hosts.chungus; "trilium.chungus" = hosts.chungus;
"tts.chungus" = hosts.chungus; "tts.chungus" = hosts.chungus;
# cream
"trilium.cream" = hosts.cream;
}; };
network = "private"; network = "private";
in in

View file

@ -13,4 +13,7 @@
networking.firewall.allowedTCPPorts = [ 8123 ]; networking.firewall.allowedTCPPorts = [ 8123 ];
networking.firewall.allowedUDPPorts = [ 8123 ]; networking.firewall.allowedUDPPorts = [ 8123 ];
networking.firewall.interfaces.wg0.allowedTCPPorts = [ 8123 ];
networking.firewall.interfaces.wg0.allowedUDPPorts = [ 8123 ];
} }

View file

@ -1,6 +1,6 @@
{ pkgs, config, ... }: { pkgs, config, ... }:
{ {
networking.firewall.trustedInterfaces = [ "wg0" ]; # networking.firewall.trustedInterfaces = [ "wg0" ];
networking.firewall.allowedUDPPorts = [ 51820 ]; networking.firewall.allowedUDPPorts = [ 51820 ];
sops.secrets.wireguard_private = { }; sops.secrets.wireguard_private = { };

View file

@ -1,5 +1,6 @@
{ config, ... }: { config, pkgs, ... }:
{ {
services.trilium-server = { services.trilium-server = {
enable = true; enable = true;
dataDir = "/srv/trilium"; dataDir = "/srv/trilium";

View file

@ -104,7 +104,7 @@ in
steam-run steam-run
bitwarden bitwarden
trilium-desktop unstable.trilium-desktop
nginx-config-formatter nginx-config-formatter
sensu-go-cli sensu-go-cli

View file

@ -89,6 +89,8 @@ in
tmux tmux
screen screen
tcpdump
duc duc
memoryUsage memoryUsage

View file

@ -329,6 +329,8 @@ in
pkgconf pkgconf
cairo cairo
wireshark
] ++ (map pandocScript (lib.cartesianProductOfSets { ] ++ (map pandocScript (lib.cartesianProductOfSets {
inputFormat = [ "man" "markdown" "mediawiki" ]; inputFormat = [ "man" "markdown" "mediawiki" ];
outputFormat = [ "mediawiki" "docbook5" "html5" "man" "jira" "markdown" ]; outputFormat = [ "mediawiki" "docbook5" "html5" "man" "jira" "markdown" ];