1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 16:42:09 +00:00
nixpkgs/nixos/modules/services/security
lf- b37bbca521 nixos/modules: fix systemd start rate-limits
These were broken since 2016:
f0367da7d1
since StartLimitIntervalSec got moved into [Unit] from [Service].
StartLimitBurst has also been moved accordingly, so let's fix that one
too.

NixOS systems have been producing logs such as:
/nix/store/wf98r55aszi1bkmln1lvdbp7znsfr70i-unit-caddy.service/caddy.service:31:
Unknown key name 'StartLimitIntervalSec' in section 'Service', ignoring.

I have also removed some unnecessary duplication in units disabling
rate limiting since setting either interval or burst to zero disables it
(ad16158c10/src/basic/ratelimit.c (L16))
2020-10-31 01:35:56 -07:00
..
bitwarden_rs nixos/bitwarden_rs: add environmentFile option 2020-09-07 17:39:53 +02:00
certmgr.nix nixos/certmgr: Flip either submodule path type 2020-01-08 23:54:45 +01:00
cfssl.nix
clamav.nix treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
fail2ban.nix treewide: De-inline uses of lib.boolToString 2020-10-14 01:46:17 +02:00
fprintd.nix fprintd: 0.9.0 -> 1.90.1 2020-05-19 14:03:31 +02:00
fprot.nix treewide: add bool type to enable options, or make use of mkEnableOption 2020-04-21 08:55:36 +02:00
haka.nix
haveged.nix nixos/modules: remove trailing whitespace 2020-08-07 14:45:39 +01:00
hologram-agent.nix nixos/*: use $out instead of $bin with buildGoPackage 2020-04-28 20:30:29 +10:00
hologram-server.nix nixos/*: use $out instead of $bin with buildGoPackage 2020-04-28 20:30:29 +10:00
munge.nix
nginx-sso.nix nixos/nginx.sso: add package option 2020-01-12 14:35:23 +01:00
oauth2_proxy.nix oauth2_proxy: 5.1.1 -> 6.0.0 (#93121) 2020-07-19 22:08:33 -07:00
oauth2_proxy_nginx.nix
physlock.nix Merge pull request #85963 from seqizz/g_physlock_message 2020-08-27 10:18:34 +02:00
privacyidea.nix nixos: remove StandardOutput=syslog, StandardError=syslog lines 2020-08-13 18:49:15 +02:00
shibboleth-sp.nix
sks.nix
sshguard.nix nixos/sshguard: use nftables backend if enabled 2020-01-27 14:42:28 +01:00
tor.nix Merge pull request #96042 from rnhmjoj/loaOf 2020-09-02 08:45:37 -04:00
torify.nix nixos/tsocks: Add types to the options 2020-01-05 00:15:26 +01:00
torsocks.nix treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
usbguard.nix treewide: De-inline uses of lib.boolToString 2020-10-14 01:46:17 +02:00
vault.nix nixos/modules: fix systemd start rate-limits 2020-10-31 01:35:56 -07:00
yubikey-agent.nix nixos/yubikey-agent: add missing mkIf 2020-07-26 09:34:24 +02:00