From ad8bcba5d09a2d80f59f730155eab50767df9923 Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Wed, 1 May 2019 23:06:17 +0200 Subject: [PATCH] migration Bouyges, corrections --- systems/LoutreOS/configuration.nix | 4 ++++ systems/LoutreOS/services.nix | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/systems/LoutreOS/configuration.nix b/systems/LoutreOS/configuration.nix index dc2d3f2..fec57f5 100644 --- a/systems/LoutreOS/configuration.nix +++ b/systems/LoutreOS/configuration.nix @@ -103,6 +103,10 @@ in services.dhcpd4 = { enable = true; interfaces = [ "eno2" ]; + machines = [ + { ethernetAddress = "50:c7:bf:b6:b8:ef"; hostName = "HS110"; ipAddress = "10.30.50.7"; } + { ethernetAddress = "ac:1f:6b:4b:01:15"; hostName = "IPMI"; ipAddress = "10.30.1.1"; } + ]; extraConfig = '' option domain-name-servers 89.234.141.66, 80.67.169.12, 80.67.169.40; option subnet-mask 255.255.0.0; diff --git a/systems/LoutreOS/services.nix b/systems/LoutreOS/services.nix index 4bb9249..fa29bc8 100644 --- a/systems/LoutreOS/services.nix +++ b/systems/LoutreOS/services.nix @@ -102,7 +102,7 @@ in rev = "a0996112fc451b76448589698de440ad5fd6ea79"; sha256 = "1f1625g7rfsddgk428g76p8fr7vz5gfhq3f452q17bjni3rf2pj3"; } - }/tplink_smartplug.py -t 192.168.0.57 -c energy" + }/tplink_smartplug.py -t 10.30.50.7 -c energy" ]; data_format = "json"; name_suffix = "_tplink-smartplug"; @@ -183,8 +183,8 @@ in nfs.server = { enable = true; exports = '' - /mnt/medias 192.168.0.0/16(ro,no_root_squash) - /exports/steam 192.168.0.0/24(rw,async,no_root_squash) + /mnt/medias 10.30.0.0/16(ro,no_root_squash) + /exports/steam 10.30.0.0/16(rw,async,no_root_squash) ''; statdPort = 4000; lockdPort = 4001;