diff options
author | makefu <github@syntax-fehler.de> | 2021-01-27 23:03:29 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2021-01-27 23:03:29 +0100 |
commit | 90e0ff75e83738158cf6752388c1a3b739554ac7 (patch) | |
tree | 262e402e52c49c0c914e3187e2ecc77b25710776 | |
parent | 314dfe325460ea081429f58d1de59e23b0d1628a (diff) |
ma mycube.connector.one: cleanup
-rw-r--r-- | 2configs/deployment/mycube.connector.one.nix | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/2configs/deployment/mycube.connector.one.nix b/2configs/deployment/mycube.connector.one.nix index 379176f78..aa9ff514c 100644 --- a/2configs/deployment/mycube.connector.one.nix +++ b/2configs/deployment/mycube.connector.one.nix @@ -1,15 +1,12 @@ { config, lib, pkgs, ... }: # more than just nginx config but not enough to become a module -with import <stockholm/lib>; let hostname = config.krebs.build.host.name; external-ip = config.krebs.build.host.nets.internet.ip4.addr; wsgi-sock = "${config.services.uwsgi.runDir}/uwsgi.sock"; in { - services.redis = { - enable = true; - }; - systemd.services.redis.serviceConfig.LimitNOFILE=10032; + services.redis = { enable = true; }; + systemd.services.redis.serviceConfig.LimitNOFILE=65536; services.uwsgi = { enable = true; @@ -28,7 +25,7 @@ in { }; services.nginx = { - enable = mkDefault true; + enable = lib.mkDefault true; virtualHosts."mybox.connector.one" = { locations = { "/".extraConfig = '' |