diff options
author | volth <volth@volth.com> | 2019-08-13 21:52:01 +0000 |
---|---|---|
committer | volth <volth@volth.com> | 2019-08-26 21:40:19 +0000 |
commit | 35d68ef143412f579544eaac7aaa87e29f84b15e (patch) | |
tree | 7e4cc2079e73fde7e1cacdbeb17a4ea290f0a02e /nixos/modules/tasks/network-interfaces-systemd.nix | |
parent | fe9c9f719d143632d31ac2b01f5f7cfbad161ce1 (diff) | |
download | nixlib-35d68ef143412f579544eaac7aaa87e29f84b15e.tar nixlib-35d68ef143412f579544eaac7aaa87e29f84b15e.tar.gz nixlib-35d68ef143412f579544eaac7aaa87e29f84b15e.tar.bz2 nixlib-35d68ef143412f579544eaac7aaa87e29f84b15e.tar.lz nixlib-35d68ef143412f579544eaac7aaa87e29f84b15e.tar.xz nixlib-35d68ef143412f579544eaac7aaa87e29f84b15e.tar.zst nixlib-35d68ef143412f579544eaac7aaa87e29f84b15e.zip |
treewide: remove redundant quotes
Diffstat (limited to 'nixos/modules/tasks/network-interfaces-systemd.nix')
-rw-r--r-- | nixos/modules/tasks/network-interfaces-systemd.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/tasks/network-interfaces-systemd.nix b/nixos/modules/tasks/network-interfaces-systemd.nix index 857aaf1e6e30..b40ea26554ad 100644 --- a/nixos/modules/tasks/network-interfaces-systemd.nix +++ b/nixos/modules/tasks/network-interfaces-systemd.nix @@ -160,14 +160,14 @@ in (mapAttrsToList (k: _: k) do); ""; # get those driverOptions that have been set filterSystemdOptions = filterAttrs (sysDOpt: kOpts: - any (kOpt: do ? "${kOpt}") kOpts.optNames); + any (kOpt: do ? ${kOpt}) kOpts.optNames); # build final set of systemd options to bond values buildOptionSet = mapAttrs (_: kOpts: with kOpts; # we simply take the first set kernel bond option # (one option has multiple names, which is silly) - head (map (optN: valTransform (do."${optN}")) + head (map (optN: valTransform (do.${optN})) # only map those that exist - (filter (o: do ? "${o}") optNames))); + (filter (o: do ? ${o}) optNames))); in seq assertNoUnknownOption (buildOptionSet (filterSystemdOptions driverOptionMapping)); |