Moved riri's networking config and boot config to riri.nix
This commit is contained in:
parent
f9c1d9a027
commit
4b92a9d971
1 changed files with 25 additions and 0 deletions
|
|
@ -2,4 +2,29 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
networking.hostName = "fifi";
|
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"];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue