summaryrefslogtreecommitdiff
path: root/nix/nixops/comet/configuration.nix
diff options
context:
space:
mode:
authorMiguel <m.i@gmx.at>2021-11-21 03:12:12 +0100
committerMiguel <m.i@gmx.at>2021-11-21 03:12:12 +0100
commit267178be9f7b8893f769d7189b69fa586b1016ec (patch)
tree887aad254efadad8cc0d796c2792856083604bda /nix/nixops/comet/configuration.nix
parenta7e171392f9ca073e1cb33f4c8d049262f25981e (diff)
cabal build via nix
Diffstat (limited to 'nix/nixops/comet/configuration.nix')
-rw-r--r--nix/nixops/comet/configuration.nix9
1 files changed, 9 insertions, 0 deletions
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/";