about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--nixos/modules/services/networking/connman.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/connman.nix b/nixos/modules/services/networking/connman.nix
index 6e36e656830a..2b26fe88129b 100644
--- a/nixos/modules/services/networking/connman.nix
+++ b/nixos/modules/services/networking/connman.nix
@@ -60,6 +60,7 @@ in {
       description = "ConnMan VPN service";
       wantedBy = [ "multi-user.target" ];
       after = [ "syslog.target" ];
+      before = [ "connman" ];
       serviceConfig = {
         Type = "dbus";
         BusName = "net.connman.vpn";
@@ -72,6 +73,7 @@ in {
       description = "D-BUS Service";
       serviceConfig = {
         Name = "net.connman.vpn";
+        before = [ "connman" ];
         ExecStart = "${pkgs.connman}/sbin/connman-vpnd -n";
         User = "root";
         SystemdService = "connman-vpn.service";