add trilium to technology stack

feature/nixinite
Ingolf Wagner 2023-05-20 22:31:36 +02:00
parent f5b916320c
commit e77d72e6ca
Signed by: palo
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};
polygon-art = polygon-art.packages.${pkgs.system};
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;
"trilium.chungus" = hosts.chungus;
"tts.chungus" = hosts.chungus;
# cream
"trilium.cream" = hosts.cream;
};
network = "private";
in

View File

@ -13,4 +13,7 @@
networking.firewall.allowedTCPPorts = [ 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, ... }:
{
networking.firewall.trustedInterfaces = [ "wg0" ];
# networking.firewall.trustedInterfaces = [ "wg0" ];
networking.firewall.allowedUDPPorts = [ 51820 ];
sops.secrets.wireguard_private = { };

View File

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

View File

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

View File

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

View File

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