feat: add gitea

This commit is contained in:
Xavier Morel
2025-11-14 20:12:17 +01:00
parent 6e05b7d50a
commit e87843f371
5 changed files with 83 additions and 3 deletions

View File

@@ -6,6 +6,7 @@ let
lib = pkgs.lib;
modulesPath = pkgs.path + "/nixos/modules";
config = import ../config/_globals.nix { };
id = (import ../config/_ids.nix { }).id;
in
{
imports = [
@@ -37,6 +38,11 @@ in
dates = "weekly";
options = "--delete-older-than 7d";
};
networking.nameservers =
(
if (lib.hasAttr "dns" id) then [ "${config.globals.ip_prefix}${toString (id.dns - 1000)}" ] else [ ]
)
++ [ "9.9.9.9" ];
time.timeZone = config.globals.default_tz;