fixes #127
This commit is contained in:
@@ -77,6 +77,11 @@ in {
|
|||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|
||||||
|
assertions = [{
|
||||||
|
assertion = config.networking.wireless.enable == false;
|
||||||
|
message = "You can not use networking.networkmanager with services.networking.wireless";
|
||||||
|
}];
|
||||||
|
|
||||||
environment.etc = [
|
environment.etc = [
|
||||||
{ source = ipUpScript;
|
{ source = ipUpScript;
|
||||||
target = "NetworkManager/dispatcher.d/01nixos-ip-up";
|
target = "NetworkManager/dispatcher.d/01nixos-ip-up";
|
||||||
|
|||||||
Reference in New Issue
Block a user