Clean files + add IP to hosts

This commit is contained in:
zuma 2025-11-06 22:21:20 +01:00
parent ca436c49a3
commit b6d31e25b9
6 changed files with 140 additions and 110 deletions

View file

@ -1,25 +1,30 @@
{ config, lib, pkgs, ...}:
{
config,
lib,
pkgs,
...
}:
{
config.filouterie.hostName = "fifi";
{
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";
};
};
# 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.interfaces.wlp3s0.ipv4.addresses = [
{
address = "192.168.1.222";
prefixLength = 24;
}
];
config.networking.defaultGateway = "192.168.1.1";
config.networking.defaultGateway = "192.168.1.1";
# Setting up bootloader in UEFI mode
config.boot.loader.grub.devices = [ "nodev"];
# Setting up bootloader in UEFI mode
config.boot.loader.grub.devices = [ "nodev" ];
}

View file

@ -1,4 +1,9 @@
{ config, lib, pkgs, ...}:
{
config,
lib,
pkgs,
...
}:
{
config.filouterie.hostName = "loulou";

View file

@ -1,4 +1,9 @@
{ config, lib, pkgs, ...}:
{
config,
lib,
pkgs,
...
}:
{
config.filouterie.hostName = "riri";