nixfmt
This commit is contained in:
parent
65af7574df
commit
48711d87f0
3 changed files with 12 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -78,4 +78,3 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
|||
sourceProvenance = [ lib.sourceTypes.binaryNativeCode ];
|
||||
};
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue