30 lines
631 B
Nix
Executable file
30 lines
631 B
Nix
Executable file
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
|
|
{
|
|
config.filouterie.hostName = "fifi";
|
|
|
|
# Setting up wifi networking and static ip (out of DHCP range 50-200)
|
|
config.networking.wireless.enable = true;
|
|
config.networking.wireless.networks = {
|
|
"Atalante_5G" = {
|
|
pskRaw = "1bd70fc8bb0c9834dab5f10a1f2f3b84a6444e6605c5e11419b95e81f4e8fac8";
|
|
};
|
|
};
|
|
|
|
config.networking.interfaces.wlp3s0.ipv4.addresses = [
|
|
{
|
|
address = "192.168.1.222";
|
|
prefixLength = 24;
|
|
}
|
|
];
|
|
|
|
config.networking.defaultGateway = "192.168.1.1";
|
|
|
|
# Setting up bootloader in UEFI mode
|
|
config.boot.loader.grub.devices = [ "nodev" ];
|
|
}
|