forked from natto1784/dotfiles
restructured again
This commit is contained in:
20
satori/networking.nix
Normal file
20
satori/networking.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{lib, config, ... }:
|
||||
|
||||
{
|
||||
networking = {
|
||||
hostName = "Satori";
|
||||
wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||
interfaces = {
|
||||
enp7s0.useDHCP = true;
|
||||
wlp0s20f3 = {
|
||||
useDHCP = true;
|
||||
ipv4.addresses = [ {
|
||||
prefixLength = 24;
|
||||
address = "192.168.0.109";
|
||||
} ];
|
||||
};
|
||||
};
|
||||
defaultGateway = "192.168.0.1";
|
||||
nameservers = [ "192.168.0.1" ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user