30 lines
670 B
Nix
Executable file
30 lines
670 B
Nix
Executable file
{ config, lib, pkgs, ...}:
|
|
|
|
{
|
|
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"];
|
|
|
|
}
|