Moved riri's networking config and boot config to riri.nix

This commit is contained in:
mayel 2025-11-05 15:29:54 +01:00
parent f9c1d9a027
commit 4b92a9d971

View file

@ -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"];
}