diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-06-06 01:35:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-06 01:35:18 +0200 |
commit | 6e2204ea3257fe3ed193e85644cbe9f70a6d23a5 (patch) | |
tree | 9d9a460f76cbd8ce6656df50189b1284fde8e82f /nixos/modules/virtualisation | |
parent | d641f2d6c6c078ba5f2f1ea2cfcd16578ce4f932 (diff) | |
parent | 80830373f08c7affe08b2806bee2f7fc5d85e9fc (diff) |
Merge pull request #123364 from edude03/patch-7
Diffstat (limited to 'nixos/modules/virtualisation')
-rw-r--r-- | nixos/modules/virtualisation/openvswitch.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/virtualisation/openvswitch.nix b/nixos/modules/virtualisation/openvswitch.nix index c6a3ceddc3e03..ccf32641df626 100644 --- a/nixos/modules/virtualisation/openvswitch.nix +++ b/nixos/modules/virtualisation/openvswitch.nix @@ -66,9 +66,7 @@ in { }; in (mkMerge [{ - - environment.systemPackages = [ cfg.package pkgs.ipsecTools ]; - + environment.systemPackages = [ cfg.package ]; boot.kernelModules = [ "tun" "openvswitch" ]; boot.extraModulePackages = [ cfg.package ]; @@ -146,6 +144,8 @@ in { } (mkIf (cfg.ipsec && (versionOlder cfg.package.version "2.6.0")) { + environment.systemPackages = [ pkgs.ipsecTools ]; + services.racoon.enable = true; services.racoon.configPath = "${runDir}/ipsec/etc/racoon/racoon.conf"; |