summaryrefslogtreecommitdiffstats
path: root/nixos/modules/services
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services')
-rw-r--r--nixos/modules/services/networking/wireguard.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/wireguard.nix b/nixos/modules/services/networking/wireguard.nix
index c07481582c2f..e9dcb0fc896c 100644
--- a/nixos/modules/services/networking/wireguard.nix
+++ b/nixos/modules/services/networking/wireguard.nix
@@ -303,7 +303,7 @@ let
};
script = ''
- ${optionalString (!config.boot.isContainer) "modprobe wireguard"}
+ ${optionalString (!config.boot.isContainer) "modprobe wireguard || true"}
${values.preSetup}