add host Remilia
This commit is contained in:
22
hosts/servers/marisa/networking.nix
Executable file
22
hosts/servers/marisa/networking.nix
Executable file
@@ -0,0 +1,22 @@
|
||||
{config, ...}:
|
||||
{
|
||||
networking = {
|
||||
hostName = "Marisa";
|
||||
firewall.allowedTCPPorts = [ 22 80 ];
|
||||
wireless = {
|
||||
enable = false;
|
||||
iwd.enable = true;
|
||||
};
|
||||
interfaces = {
|
||||
wlan0 = {
|
||||
useDHCP = false;
|
||||
ipv4.addresses = [ {
|
||||
prefixLength = 24;
|
||||
address = "192.168.0.159";
|
||||
} ];
|
||||
};
|
||||
};
|
||||
defaultGateway = "192.168.0.1";
|
||||
nameservers = [ "1.1.1.1" "8.8.8.8" ];
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user