networkmanager module: No need to start ModemManager explicitly, done by NM

This commit is contained in:
Rickard Nilsson 2014-02-13 18:04:46 +01:00
parent 0d506296f0
commit fc90a739ba

View File

@ -177,16 +177,13 @@ in {
systemd.services."networkmanager-init" = {
description = "NetworkManager initialisation";
wantedBy = [ "network.target" ];
partOf = [ "NetworkManager.service" ];
wants = [ "ModemManager.service" "NetworkManager.service" ];
wants = [ "NetworkManager.service" ];
before = [ "NetworkManager.service" ];
script = ''
mkdir -m 700 -p /etc/NetworkManager/system-connections
mkdir -m 755 -p ${stateDirs}
'';
serviceConfig = {
Type = "oneshot";
};
serviceConfig.Type = "oneshot";
};
# Turn off NixOS' network management