fixes #127
This commit is contained in:
parent
f40a38b2c8
commit
969c577173
@ -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";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user