1
0
Fork 0
This commit is contained in:
Philipp 2025-11-29 15:58:16 +01:00
parent 65af7574df
commit 48711d87f0
Signed by: Philipp
GPG key ID: B27C3DE2FD94AFC3
3 changed files with 12 additions and 5 deletions

View file

@ -185,10 +185,12 @@ in
description = "Linkwarden (Self-hosted collaborative bookmark manager to collect, organize, and preserve webpages, articles, and more...)";
requires = [
"network-online.target"
] ++ lib.optionals cfg.database.enable [ "postgresql.service" ];
]
++ lib.optionals cfg.database.enable [ "postgresql.service" ];
after = [
"network-online.target"
] ++ lib.optionals cfg.database.enable [ "postgresql.service" ];
]
++ lib.optionals cfg.database.enable [ "postgresql.service" ];
wantedBy = [ "multi-user.target" ];
environment = cfg.environment // {
# Required, otherwise chrome dumps core

View file

@ -78,4 +78,3 @@ stdenvNoCC.mkDerivation (finalAttrs: {
sourceProvenance = [ lib.sourceTypes.binaryNativeCode ];
};
})

View file

@ -14,7 +14,10 @@
wireguard = {
enable = true;
interfaces."wg0" = {
ips = [ "192.168.100.10/24" "fd00:100::10/64" ];
ips = [
"192.168.100.10/24"
"fd00:100::10/64"
];
listenPort = 51820;
mtu = 1400;
privateKeyFile = "/run/secrets/privateKey";
@ -22,7 +25,10 @@
{
publicKey = "ylsjhpKiq3B6Kv4q2uiHXUJpyxY2b1DOAlGc/FWdflQ=";
presharedKeyFile = "/run/secrets/presharedKey";
allowedIPs = [ "192.168.100.1/32" "fd00:100::1/128" ];
allowedIPs = [
"192.168.100.1/32"
"fd00:100::1/128"
];
endpoint = "neuruppin.boehm.sh:51820";
persistentKeepalive = 25;
}