Compare commits

..
5 changed files with 13 additions and 29 deletions

16
flake.lock generated
View file

@ -363,11 +363,11 @@
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1780328189, "lastModified": 1780253615,
"narHash": "sha256-UL+7BjYxzUjB74hxjBcs/Ir4SC4vVXTv+QsneLOuCUw=", "narHash": "sha256-TjRnDvTAu4ocOmqnBZ/+//eq0bxdFbYl5zZu7j1ONpY=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "26c9c13cf518b19c975c111167c8d87e1f5c270f", "rev": "7cc26907173f880fcce0e40635d1ed364ccb5a5f",
"revCount": 1240, "revCount": 1109,
"type": "git", "type": "git",
"url": "https://forge.darkest.space/hyperhive/hyperhive.git" "url": "https://forge.darkest.space/hyperhive/hyperhive.git"
}, },
@ -383,11 +383,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1780265484, "lastModified": 1780152618,
"narHash": "sha256-S8gycwVbWmg3CLDK2ocfGSkBS8UWX6tZFmOjYG2TIEE=", "narHash": "sha256-vnx1m2lxIjoJd1e3PJz4XVmScF4maxQ9SMZWQym1mm0=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "e1360b269ac56579ab290e8ecab836538753dfb0", "rev": "98930caaca4d8bdc5957d6e24aa1438dac122d85",
"revCount": 17, "revCount": 15,
"type": "git", "type": "git",
"url": "https://forge.darkest.space/hyperhive/website.git" "url": "https://forge.darkest.space/hyperhive/website.git"
}, },

View file

@ -1,9 +1,4 @@
{ { pkgs, hyperhive, hyperhive-website, ... }:
pkgs,
hyperhive,
hyperhive-website,
...
}:
let let
blog-domain-socket = "/run/nginx/blog.sock"; blog-domain-socket = "/run/nginx/blog.sock";
anubis-domain-socket = "/run/anubis/anubis-main/anubis.sock"; anubis-domain-socket = "/run/anubis/anubis-main/anubis.sock";
@ -51,7 +46,8 @@ in
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
root = hyperhive-website.packages.${pkgs.stdenv.hostPlatform.system}.default; 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,14 +34,7 @@ in
}; };
service.DISABLE_REGISTRATION = true; service.DISABLE_REGISTRATION = true;
session.COOKIE_SECURE = true; session.COOKIE_SECURE = true;
ui.THEMES = lib.concatStringsSep "," ( ui.THEMES = lib.concatStringsSep "," ([ "forgejo-auto" "forgejo-light" "forgejo-dark" ] ++ themeNames);
[
"forgejo-auto"
"forgejo-light"
"forgejo-dark"
]
++ themeNames
);
ui.DEFAULT_THEME = "catppuccin-mocha-mauve"; ui.DEFAULT_THEME = "catppuccin-mocha-mauve";
}; };
}; };

View file

@ -14,11 +14,7 @@
fileSystems."/var/lib/forgejo" = { fileSystems."/var/lib/forgejo" = {
device = "/dev/disk/by-uuid/da5efb9a-7dc2-4fa3-aeca-c9bf634054b0"; device = "/dev/disk/by-uuid/da5efb9a-7dc2-4fa3-aeca-c9bf634054b0";
fsType = "ext4"; fsType = "ext4";
options = [ options = [ "discard" "nofail" "defaults" ];
"discard"
"nofail"
"defaults"
];
}; };
}; };
} }

View file

@ -10,7 +10,6 @@
gui.enable = true; gui.enable = true;
serverName = "pr1ma.darkest.space"; serverName = "pr1ma.darkest.space";
}; };
forge.ci.enable = true;
gateway.localHostsEntry = true; gateway.localHostsEntry = true;
}; };
} }