nixos/networkmanager: add extraConfig
This commit is contained in:
parent
590b51cb95
commit
b5d6a49085
@ -38,6 +38,8 @@ let
|
|||||||
|
|
||||||
[device]
|
[device]
|
||||||
wifi.scan-rand-mac-address=${if cfg.wifi.scanRandMacAddress then "yes" else "no"}
|
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 {
|
unmanaged = mkOption {
|
||||||
type = types.listOf types.string;
|
type = types.listOf types.string;
|
||||||
default = [];
|
default = [];
|
||||||
|
Loading…
Reference in New Issue
Block a user