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...)";
|
description = "Linkwarden (Self-hosted collaborative bookmark manager to collect, organize, and preserve webpages, articles, and more...)";
|
||||||
requires = [
|
requires = [
|
||||||
"network-online.target"
|
"network-online.target"
|
||||||
] ++ lib.optionals cfg.database.enable [ "postgresql.service" ];
|
]
|
||||||
|
++ lib.optionals cfg.database.enable [ "postgresql.service" ];
|
||||||
after = [
|
after = [
|
||||||
"network-online.target"
|
"network-online.target"
|
||||||
] ++ lib.optionals cfg.database.enable [ "postgresql.service" ];
|
]
|
||||||
|
++ lib.optionals cfg.database.enable [ "postgresql.service" ];
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
environment = cfg.environment // {
|
environment = cfg.environment // {
|
||||||
# Required, otherwise chrome dumps core
|
# Required, otherwise chrome dumps core
|
||||||
|
|
|
||||||
|
|
@ -78,4 +78,3 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
sourceProvenance = [ lib.sourceTypes.binaryNativeCode ];
|
sourceProvenance = [ lib.sourceTypes.binaryNativeCode ];
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,10 @@
|
||||||
wireguard = {
|
wireguard = {
|
||||||
enable = true;
|
enable = true;
|
||||||
interfaces."wg0" = {
|
interfaces."wg0" = {
|
||||||
ips = [ "192.168.100.10/24" "fd00:100::10/64" ];
|
ips = [
|
||||||
|
"192.168.100.10/24"
|
||||||
|
"fd00:100::10/64"
|
||||||
|
];
|
||||||
listenPort = 51820;
|
listenPort = 51820;
|
||||||
mtu = 1400;
|
mtu = 1400;
|
||||||
privateKeyFile = "/run/secrets/privateKey";
|
privateKeyFile = "/run/secrets/privateKey";
|
||||||
|
|
@ -22,7 +25,10 @@
|
||||||
{
|
{
|
||||||
publicKey = "ylsjhpKiq3B6Kv4q2uiHXUJpyxY2b1DOAlGc/FWdflQ=";
|
publicKey = "ylsjhpKiq3B6Kv4q2uiHXUJpyxY2b1DOAlGc/FWdflQ=";
|
||||||
presharedKeyFile = "/run/secrets/presharedKey";
|
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";
|
endpoint = "neuruppin.boehm.sh:51820";
|
||||||
persistentKeepalive = 25;
|
persistentKeepalive = 25;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue