git.iko.soy/typeable/nixpkgs
on master help sign in
network-manager: specify full path to sytemctl binary
ec5fcfaDomen Kožar
nixos/modules/services/networking/networkmanager.nix+1−1
@@ -194,7 +194,7 @@ in {
194 };
194 };
195
195
196 powerManagement.resumeCommands = ''
196 powerManagement.resumeCommands = ''
197− systemctl restart network-manager
197+ ${config.systemd.package}/bin/systemctl restart network-manager
198 '';
198 '';
199
199
200 security.polkit.extraConfig = polkitConf;
200 security.polkit.extraConfig = polkitConf;