Compare commits

..

No commits in common. "335205338f8a8ed5543cc991401c5c53436bb3e5" and "f83298f63261ab657bebcfa33dd03524276ec149" have entirely different histories.

2 changed files with 3 additions and 13 deletions

View file

@ -1,7 +1,6 @@
{ {
config, config,
lib, lib,
pkgs,
... ...
}: let }: let
manualHostname = "manual.everest.tailscale"; manualHostname = "manual.everest.tailscale";
@ -32,14 +31,10 @@ in {
virtualHosts = { virtualHosts = {
nixos-manual = { nixos-manual = {
hostName = manualHostname; hostName = manualHostname;
extraConfig = let extraConfig = ''
manual = pkgs.compressDrvWeb config.system.build.manual.manualHTML {};
in ''
import tailscale import tailscale
file_server { file_server
precompressed zstd br gzip root * ${config.system.build.manual.manualHTML}/share/doc/nixos
}
root * ${manual}/share/doc/nixos
''; '';
}; };
downloads = { downloads = {

View file

@ -2,7 +2,6 @@
config, config,
lib, lib,
flakeSelf, flakeSelf,
pkgs,
... ...
}: let }: let
hostSecrets = "${flakeSelf.inputs.secrets}/" + config.networking.hostName + "/"; hostSecrets = "${flakeSelf.inputs.secrets}/" + config.networking.hostName + "/";
@ -25,7 +24,6 @@ in {
specialisation.forgejoEnableRegistration.configuration.services.forgejo.settings.service.DISABLE_REGISTRATION = false; specialisation.forgejoEnableRegistration.configuration.services.forgejo.settings.service.DISABLE_REGISTRATION = false;
services.forgejo = { services.forgejo = {
enable = true; enable = true;
package = pkgs.forgejo;
settings = { settings = {
service = { service = {
DISABLE_REGISTRATION = lib.mkDefault true; DISABLE_REGISTRATION = lib.mkDefault true;
@ -43,9 +41,6 @@ in {
DEFAULT_PUSH_CREATE_PRIVATE = true; DEFAULT_PUSH_CREATE_PRIVATE = true;
DEFAULT_BRANCH = "main"; DEFAULT_BRANCH = "main";
}; };
indexer = {
REPO_INDEXER_ENABLED = true;
};
}; };
}; };