summary refs log tree commit diff
path: root/nixos/modules/module-list.nix
diff options
context:
space:
mode:
authorMatthieu Coudron <mattator@gmail.com>2018-05-11 17:42:37 +0900
committerMatthieu Coudron <mattator@gmail.com>2018-05-15 21:55:04 +0900
commit1e0975f4c05959cf11b5a905f335c269dcaae630 (patch)
tree22dba45f4228d53c664d7b76cbad0c6f363cf9ee /nixos/modules/module-list.nix
parent6db7f92cc2af827e8b8b181bf5ed828a1d0f141d (diff)
downloadnixlib-1e0975f4c05959cf11b5a905f335c269dcaae630.tar
nixlib-1e0975f4c05959cf11b5a905f335c269dcaae630.tar.gz
nixlib-1e0975f4c05959cf11b5a905f335c269dcaae630.tar.bz2
nixlib-1e0975f4c05959cf11b5a905f335c269dcaae630.tar.lz
nixlib-1e0975f4c05959cf11b5a905f335c269dcaae630.tar.xz
nixlib-1e0975f4c05959cf11b5a905f335c269dcaae630.tar.zst
nixlib-1e0975f4c05959cf11b5a905f335c269dcaae630.zip
iproute2: module to create rt_table file & co
When doing source routing/multihoming, it's practical to give names to routing
tables. The absence of the rt_table file in /etc make this impossible.
This patch recreates these files on rebuild so that they can be modified
by the user see NixOS#38638.

iproute2 is modified to look into config.networking.iproute2.confDir instead of
/etc/iproute2.
Diffstat (limited to 'nixos/modules/module-list.nix')
-rw-r--r--nixos/modules/module-list.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/module-list.nix b/nixos/modules/module-list.nix
index 6c4326046ef8..5d390f606670 100644
--- a/nixos/modules/module-list.nix
+++ b/nixos/modules/module-list.nix
@@ -9,6 +9,7 @@
   ./config/fonts/ghostscript.nix
   ./config/gnu.nix
   ./config/i18n.nix
+  ./config/iproute2.nix
   ./config/krb5/default.nix
   ./config/ldap.nix
   ./config/networking.nix