nix fmt, update hyperhive

This commit is contained in:
müde 2026-06-01 17:38:30 +02:00
commit 20e4642ec0
4 changed files with 24 additions and 9 deletions

8
flake.lock generated
View file

@ -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"
},

View file

@ -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}/";
};
};
};

View file

@ -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";
};
};

View file

@ -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"
];
};
};
}