From 778e2e68608d33fdd5ca9a613812f68fc1831710 Mon Sep 17 00:00:00 2001 From: Sky Hearn Date: Wed, 19 Jun 2024 21:51:20 +0000 Subject: [PATCH] remove unnececary commits and improper gitea configuration --- configuration.nix | 13 +------------ services/gitea.nix | 2 -- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/configuration.nix b/configuration.nix index 4b1d6d3..4a2414d 100644 --- a/configuration.nix +++ b/configuration.nix @@ -167,7 +167,7 @@ # List services that you want to enable: - networking.firewall.allowedTCPPorts = [ 80 443 22 25565 25566 25567]; + networking.firewall.allowedTCPPorts = [ 80 443 22 25565 25566 25567]; services.nginx = { enable = true; @@ -192,17 +192,6 @@ }; }; - # Open ports in the firewall. - # networking.firewall.allowedTCPPorts = [ ... ]; - # networking.firewall.allowedUDPPorts = [ ... ]; - # Or disable the firewall altogether. - # networking.firewall.enable = false; - - # Copy the NixOS configuration file and link it from the resulting system - # (/run/current-system/configuration.nix). This is useful in case you - # accidentally delete configuration.nix. - # system.copySystemConfiguration = true; - # This option defines the first version of NixOS you have installed on this particular machine, # and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions. # diff --git a/services/gitea.nix b/services/gitea.nix index 0a9a3f7..34e2207 100755 --- a/services/gitea.nix +++ b/services/gitea.nix @@ -26,8 +26,6 @@ passwordFile = "/run/keys/gitea-dbpassword"; }; settings.server = { - DOMAIN = "git.skymath.duckdns.org"; - ROOT_URL = "https://git.skymath.duckdns.org/"; HTTP_PORT = 3001; }; };