Compare commits
No commits in common. "335205338f8a8ed5543cc991401c5c53436bb3e5" and "f83298f63261ab657bebcfa33dd03524276ec149" have entirely different histories.
335205338f
...
f83298f632
2 changed files with 3 additions and 13 deletions
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
manualHostname = "manual.everest.tailscale";
|
||||
|
|
@ -32,14 +31,10 @@ in {
|
|||
virtualHosts = {
|
||||
nixos-manual = {
|
||||
hostName = manualHostname;
|
||||
extraConfig = let
|
||||
manual = pkgs.compressDrvWeb config.system.build.manual.manualHTML {};
|
||||
in ''
|
||||
extraConfig = ''
|
||||
import tailscale
|
||||
file_server {
|
||||
precompressed zstd br gzip
|
||||
}
|
||||
root * ${manual}/share/doc/nixos
|
||||
file_server
|
||||
root * ${config.system.build.manual.manualHTML}/share/doc/nixos
|
||||
'';
|
||||
};
|
||||
downloads = {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
config,
|
||||
lib,
|
||||
flakeSelf,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
hostSecrets = "${flakeSelf.inputs.secrets}/" + config.networking.hostName + "/";
|
||||
|
|
@ -25,7 +24,6 @@ in {
|
|||
specialisation.forgejoEnableRegistration.configuration.services.forgejo.settings.service.DISABLE_REGISTRATION = false;
|
||||
services.forgejo = {
|
||||
enable = true;
|
||||
package = pkgs.forgejo;
|
||||
settings = {
|
||||
service = {
|
||||
DISABLE_REGISTRATION = lib.mkDefault true;
|
||||
|
|
@ -43,9 +41,6 @@ in {
|
|||
DEFAULT_PUSH_CREATE_PRIVATE = true;
|
||||
DEFAULT_BRANCH = "main";
|
||||
};
|
||||
indexer = {
|
||||
REPO_INDEXER_ENABLED = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue