From 48711d87f004c1413a63eef5db39bf0f6c033d1f Mon Sep 17 00:00:00 2001 From: Philipp Date: Sat, 29 Nov 2025 15:58:16 +0100 Subject: [PATCH] nixfmt --- modules/nixos/services/linkwarden/default.nix | 6 ++++-- packages/proton-ge-bin-9/default.nix | 1 - systems/aarch64-linux/aquarius/networking.nix | 10 ++++++++-- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/modules/nixos/services/linkwarden/default.nix b/modules/nixos/services/linkwarden/default.nix index 4c747ed..5474e23 100644 --- a/modules/nixos/services/linkwarden/default.nix +++ b/modules/nixos/services/linkwarden/default.nix @@ -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 diff --git a/packages/proton-ge-bin-9/default.nix b/packages/proton-ge-bin-9/default.nix index 083905f..0d4dd2c 100644 --- a/packages/proton-ge-bin-9/default.nix +++ b/packages/proton-ge-bin-9/default.nix @@ -78,4 +78,3 @@ stdenvNoCC.mkDerivation (finalAttrs: { sourceProvenance = [ lib.sourceTypes.binaryNativeCode ]; }; }) - diff --git a/systems/aarch64-linux/aquarius/networking.nix b/systems/aarch64-linux/aquarius/networking.nix index 6769fbf..fd1efbe 100644 --- a/systems/aarch64-linux/aquarius/networking.nix +++ b/systems/aarch64-linux/aquarius/networking.nix @@ -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; }