From 4b92a9d971f8a3f6b6bb203e7e7ddd922ef1abb8 Mon Sep 17 00:00:00 2001 From: mayel Date: Wed, 5 Nov 2025 15:29:54 +0100 Subject: [PATCH] Moved riri's networking config and boot config to riri.nix --- cluster/nodes/fifi.nix | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/cluster/nodes/fifi.nix b/cluster/nodes/fifi.nix index 7dd9ea1..fb3b829 100755 --- a/cluster/nodes/fifi.nix +++ b/cluster/nodes/fifi.nix @@ -2,4 +2,29 @@ { networking.hostName = "fifi"; + + # Configuration du Wifi et configuration IP fixe (hors du range DHCP: 50-200) + + networking.wireless.enable = true; + networking.wireless.networks = { + "Atalante_5G" = { + pskRaw = "1bd70fc8bb0c9834dab5f10a1f2f3b84a6444e6605c5e11419b95e81f4e8fac8"; + }; + }; + + networking.interfaces.wlp3s0.ipv4.addresses = [ + { + address = "192.168.1.222"; + prefixLength = 24; + } + ]; + + networking.defaultGateway = "192.168.1.1"; + networking.nameservers = [ "1.1.1.1" "8.8.8.8" ]; + + + # Configuration du bootloader en mode EFI + + boot.loader.grub.devices = [ "nodev"]; + }