From 20e4642ec0379085543a947921e1847c34b86223 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?m=C3=BCde?= Date: Mon, 1 Jun 2026 17:38:30 +0200 Subject: [PATCH] nix fmt, update hyperhive --- flake.lock | 8 ++++---- nixosConfigurations/hetzner-vpn2/nginx.nix | 10 +++++++--- nixosConfigurations/hyperforge/forgejo.nix | 9 ++++++++- nixosConfigurations/hyperforge/hardware.nix | 6 +++++- 4 files changed, 24 insertions(+), 9 deletions(-) diff --git a/flake.lock b/flake.lock index 3ee20db..a68ad79 100644 --- a/flake.lock +++ b/flake.lock @@ -363,11 +363,11 @@ "treefmt-nix": "treefmt-nix" }, "locked": { - "lastModified": 1780265153, - "narHash": "sha256-vFVabTN5FtTE99Brvc6s3Tr0pz9dLFvnw3zMc8FVCwU=", + "lastModified": 1780328189, + "narHash": "sha256-UL+7BjYxzUjB74hxjBcs/Ir4SC4vVXTv+QsneLOuCUw=", "ref": "refs/heads/main", - "rev": "6f25ff7ee727d8d4c472703c9a2dd5045290a5d8", - "revCount": 1150, + "rev": "26c9c13cf518b19c975c111167c8d87e1f5c270f", + "revCount": 1240, "type": "git", "url": "https://forge.darkest.space/hyperhive/hyperhive.git" }, diff --git a/nixosConfigurations/hetzner-vpn2/nginx.nix b/nixosConfigurations/hetzner-vpn2/nginx.nix index 7b4033d..381dde2 100644 --- a/nixosConfigurations/hetzner-vpn2/nginx.nix +++ b/nixosConfigurations/hetzner-vpn2/nginx.nix @@ -1,4 +1,9 @@ -{ pkgs, hyperhive, hyperhive-website, ... }: +{ + pkgs, + hyperhive, + hyperhive-website, + ... +}: let blog-domain-socket = "/run/nginx/blog.sock"; anubis-domain-socket = "/run/anubis/anubis-main/anubis.sock"; @@ -46,8 +51,7 @@ in forceSSL = true; enableACME = true; root = hyperhive-website.packages.${pkgs.stdenv.hostPlatform.system}.default; - locations."/options/".alias = - "${hyperhive.packages.${pkgs.stdenv.hostPlatform.system}.docs}/"; + locations."/options/".alias = "${hyperhive.packages.${pkgs.stdenv.hostPlatform.system}.docs}/"; }; }; }; diff --git a/nixosConfigurations/hyperforge/forgejo.nix b/nixosConfigurations/hyperforge/forgejo.nix index e9873e0..2fed1b0 100644 --- a/nixosConfigurations/hyperforge/forgejo.nix +++ b/nixosConfigurations/hyperforge/forgejo.nix @@ -34,7 +34,14 @@ in }; service.DISABLE_REGISTRATION = true; session.COOKIE_SECURE = true; - ui.THEMES = lib.concatStringsSep "," ([ "forgejo-auto" "forgejo-light" "forgejo-dark" ] ++ themeNames); + ui.THEMES = lib.concatStringsSep "," ( + [ + "forgejo-auto" + "forgejo-light" + "forgejo-dark" + ] + ++ themeNames + ); ui.DEFAULT_THEME = "catppuccin-mocha-mauve"; }; }; diff --git a/nixosConfigurations/hyperforge/hardware.nix b/nixosConfigurations/hyperforge/hardware.nix index 45ad020..b2eba6e 100644 --- a/nixosConfigurations/hyperforge/hardware.nix +++ b/nixosConfigurations/hyperforge/hardware.nix @@ -14,7 +14,11 @@ fileSystems."/var/lib/forgejo" = { device = "/dev/disk/by-uuid/da5efb9a-7dc2-4fa3-aeca-c9bf634054b0"; fsType = "ext4"; - options = [ "discard" "nofail" "defaults" ]; + options = [ + "discard" + "nofail" + "defaults" + ]; }; }; }