nixos/connman: fix evaluation

This was caused by 2a37dd8 that introduced strict checking of
the units names.
This commit is contained in:
rnhmjoj 2022-02-05 13:45:53 +01:00
parent 415bdaa0ff
commit 6afcc5afc6
No known key found for this signature in database
GPG key ID: BFBAF4C975F76450

View file

@ -127,7 +127,7 @@ in {
description = "ConnMan VPN service";
wantedBy = [ "multi-user.target" ];
after = [ "syslog.target" ];
before = [ "connman" ];
before = [ "connman.service" ];
serviceConfig = {
Type = "dbus";
BusName = "net.connman.vpn";
@ -140,7 +140,7 @@ in {
description = "D-BUS Service";
serviceConfig = {
Name = "net.connman.vpn";
before = [ "connman" ];
before = [ "connman.service" ];
ExecStart = "${cfg.package}/sbin/connman-vpnd -n";
User = "root";
SystemdService = "connman-vpn.service";