diff options
author | makefu <github@syntax-fehler.de> | 2021-06-05 15:52:06 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2021-06-05 15:52:06 +0200 |
commit | e097e3c577ea4a83e508b3aa2a37dc86b8295131 (patch) | |
tree | 5bc6d3e3d09bec4010d95266ac9455b292162ec5 /makefu/2configs/deployment | |
parent | f07ec9d9f0980c7523c397ef7c71d6f0c479f74b (diff) |
ma treewide: make 21.05 compatible (is*User, other fixes)
Diffstat (limited to 'makefu/2configs/deployment')
-rw-r--r-- | makefu/2configs/deployment/owncloud.nix | 2 | ||||
-rw-r--r-- | makefu/2configs/deployment/rss.euer.krebsco.de.nix | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/makefu/2configs/deployment/owncloud.nix b/makefu/2configs/deployment/owncloud.nix index 86bd4b524..0593cf7fc 100644 --- a/makefu/2configs/deployment/owncloud.nix +++ b/makefu/2configs/deployment/owncloud.nix @@ -75,7 +75,7 @@ in { }; }; services.redis.enable = true; - systemd.services.redis.serviceConfig.LimitNOFILE=65536; + systemd.services.redis.serviceConfig.LimitNOFILE=mkForce "65536"; services.postgresql = { enable = true; # Ensure the database, user, and permissions always exist diff --git a/makefu/2configs/deployment/rss.euer.krebsco.de.nix b/makefu/2configs/deployment/rss.euer.krebsco.de.nix index a7ada9395..098ffcdd5 100644 --- a/makefu/2configs/deployment/rss.euer.krebsco.de.nix +++ b/makefu/2configs/deployment/rss.euer.krebsco.de.nix @@ -7,6 +7,11 @@ in { virtualHost = fqdn; selfUrlPath = "https://${fqdn}"; }; + + nixpkgs.config.permittedInsecurePackages = [ + "python2.7-Pillow-6.2.2" + ]; + systemd.services.tt-rss.serviceConfig.ExecStart = lib.mkForce "${pkgs.php}/bin/php /var/lib/tt-rss/update_daemon2.php"; services.postgresql.package = pkgs.postgresql_9_6; state = [ config.services.postgresqlBackup.location ]; |