strongswan service: use config.system.sbin.modprobe instead of kmod

Fixes: #8343
This commit is contained in:
Bas van Dijk 2015-11-30 01:50:57 +01:00
parent 775512eb6d
commit db43a79f10

View file

@ -118,7 +118,7 @@ in
systemd.services.strongswan = {
description = "strongSwan IPSec Service";
wantedBy = [ "multi-user.target" ];
path = with pkgs; [ kmod iproute iptables utillinux ]; # XXX Linux
path = with pkgs; [ config.system.sbin.modprobe iproute iptables utillinux ]; # XXX Linux
wants = [ "keys.target" ];
after = [ "network.target" "keys.target" ];
environment = {