restructured again

This commit is contained in:
2021-05-16 08:00:04 +05:30
parent a3e2fa3b5a
commit 7578463af7
30 changed files with 164 additions and 58 deletions

20
satori/networking.nix Normal file
View 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" ];
};
}