From 267178be9f7b8893f769d7189b69fa586b1016ec Mon Sep 17 00:00:00 2001 From: Miguel Date: Sun, 21 Nov 2021 03:12:12 +0100 Subject: cabal build via nix --- nix/nixops/comet/configuration.nix | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'nix/nixops/comet/configuration.nix') diff --git a/nix/nixops/comet/configuration.nix b/nix/nixops/comet/configuration.nix index 78ceaa6..35d573b 100644 --- a/nix/nixops/comet/configuration.nix +++ b/nix/nixops/comet/configuration.nix @@ -98,9 +98,11 @@ in services.ejabberd.configFile = "/etc/ejabberd.yaml"; # GITOLITE + # https://gitolite.com/gitolite/list-non-core.html services.gitolite.enable = true; services.gitolite.extraGitoliteRc = "$RC{UMASK} = 0027; push( @{$RC{ENABLE}}, 'D' ); + push( @{$RC{ENABLE}}, 'readme' ); "; services.gitolite.adminPubkey = my_ssh_pub_key; @@ -142,6 +144,12 @@ in root = "/var/www/comet.softwarefools.com"; }; + services.nginx.virtualHosts."aquarius.softwarefools.com" = { +# forceSSL = true; +# enableACME = true; + locations."/" = { proxyPass = "http://192.168.122.72/"; }; + }; + # ICINGAWEB2 services.icingaweb2.enable = true; services.icingaweb2.modules.monitoring.enable = false; @@ -202,6 +210,7 @@ in } ]; networking.defaultGateway6 = { address = "fe80::1"; interface = "ens3"; }; + networking.interfaces.ens6.useDHCP = true; # Configure network proxy if necessary # networking.proxy.default = "http://user:password@proxy:port/"; -- cgit v1.2.3