summary refs log tree commit diff
path: root/nixos/modules/services/networking/mullvad-vpn.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/networking/mullvad-vpn.nix')
-rw-r--r--nixos/modules/services/networking/mullvad-vpn.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/networking/mullvad-vpn.nix b/nixos/modules/services/networking/mullvad-vpn.nix
index cc98414257c..d9e6e57c92c 100644
--- a/nixos/modules/services/networking/mullvad-vpn.nix
+++ b/nixos/modules/services/networking/mullvad-vpn.nix
@@ -29,9 +29,9 @@ with lib;
         # Needed for ping
         "/run/wrappers"
       ];
+      startLimitBurst = 5;
+      startLimitIntervalSec = 20;
       serviceConfig = {
-        StartLimitBurst = 5;
-        StartLimitIntervalSec = 20;
         ExecStart = "${pkgs.mullvad-vpn}/bin/mullvad-daemon -v --disable-stdout-timestamps";
         Restart = "always";
         RestartSec = 1;