From ff6798e921608225eb8f504064c177e9db99b0af Mon Sep 17 00:00:00 2001 From: Zuckerberg Date: Wed, 31 Jan 2024 22:45:10 -0700 Subject: [PATCH] update removed/deprecated options --- common/network/vpn.nix | 3 --- common/server/gitea.nix | 6 ++++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/common/network/vpn.nix b/common/network/vpn.nix index 81e7f5a..b854deb 100644 --- a/common/network/vpn.nix +++ b/common/network/vpn.nix @@ -72,9 +72,6 @@ in config = { imports = allModules ++ [ cfg.config ]; - # speeds up evaluation - nixpkgs.pkgs = pkgs; - # networking.firewall.enable = mkForce false; networking.firewall.trustedInterfaces = [ # completely trust internal interface to host diff --git a/common/server/gitea.nix b/common/server/gitea.nix index 2c741a0..6188d90 100644 --- a/common/server/gitea.nix +++ b/common/server/gitea.nix @@ -12,12 +12,14 @@ in }; config = lib.mkIf cfg.enable { services.gitea = { - domain = cfg.hostname; - rootUrl = "https://${cfg.hostname}/"; appName = cfg.hostname; # lfs.enable = true; # dump.enable = true; settings = { + server = { + ROOT_URL = "https://${cfg.hostname}/"; + DOMAIN = cfg.hostname; + }; other = { SHOW_FOOTER_VERSION = false; };