add trilium to technology stack
This commit is contained in:
parent
f5b916320c
commit
e77d72e6ca
8 changed files with 14 additions and 3 deletions
|
@ -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;
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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 ];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 = { };
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{ config, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
|
|
||||||
services.trilium-server = {
|
services.trilium-server = {
|
||||||
enable = true;
|
enable = true;
|
||||||
dataDir = "/srv/trilium";
|
dataDir = "/srv/trilium";
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -89,6 +89,8 @@ in
|
||||||
tmux
|
tmux
|
||||||
screen
|
screen
|
||||||
|
|
||||||
|
tcpdump
|
||||||
|
|
||||||
duc
|
duc
|
||||||
|
|
||||||
memoryUsage
|
memoryUsage
|
||||||
|
|
|
@ -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" ];
|
||||||
|
|
Loading…
Reference in a new issue