3
0
Fork 0
forked from mirrors/nixpkgs

nixos/networkmanager: add extraConfig

This commit is contained in:
Yegor Timoshenko 2018-06-17 20:03:29 +03:00 committed by adisbladis
parent 590b51cb95
commit b5d6a49085
No known key found for this signature in database
GPG key ID: ED58F95069B004F5

View file

@ -38,6 +38,8 @@ let
[device]
wifi.scan-rand-mac-address=${if cfg.wifi.scanRandMacAddress then "yes" else "no"}
${cfg.extraConfig}
'';
/*
@ -120,6 +122,14 @@ in {
'';
};
extraConfig = mkOption {
type = types.lines;
default = "";
description = ''
Configuration appended to the generated NetworkManager.conf.
'';
};
unmanaged = mkOption {
type = types.listOf types.string;
default = [];