Skip to content

Commit

Permalink
nixos/networkmanager: add extraConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
lukateras committed Jun 17, 2018
1 parent 153c766 commit bb2c507
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions nixos/modules/services/networking/networkmanager.nix
Expand Up @@ -38,6 +38,8 @@ let
[device]
wifi.scan-rand-mac-address=${if cfg.wifi.scanRandMacAddress then "yes" else "no"}
${cfg.extraConfig}
'';

/*
Expand Down Expand Up @@ -119,6 +121,14 @@ in {
to change network settings to this group.
'';
};

extraConfig = mkOption {
type = types.lines;
default = '''';
description = ''
Configuration appended to the generated NetworkManager.conf.
'';
};

unmanaged = mkOption {
type = types.listOf types.string;
Expand Down

0 comments on commit bb2c507

Please sign in to comment.