- users/rin/default.nix -> users/rin.nix - users/rin/home.nix +-> users/rin.nix - users/rin/*.nix -> modules/user/*.nix - users/rin/scripts/ -> scripts/ - hosts/winter/default.nix -> hosts/winter.nix - hosts/winter/*.nix -> modules/system/*.nix - modules are dynamically imported as sets for system and user
21 lines
538 B
Nix
21 lines
538 B
Nix
{ config, ... }: {
|
|
networking.wireless = {
|
|
enable = true;
|
|
interfaces = [ "wlp3s0" ];
|
|
};
|
|
|
|
networking.useDHCP = false;
|
|
networking.interfaces.eno1.useDHCP = false;
|
|
networking.interfaces.wlp3s0.useDHCP = false;
|
|
|
|
networking.interfaces.eno1.ipv4.addresses = [{
|
|
address = "10.0.0.2";
|
|
prefixLength = 24;
|
|
}];
|
|
networking.interfaces.wlp3s0.ipv4.addresses = [{
|
|
address = "192.168.100.13";
|
|
prefixLength = 24;
|
|
}];
|
|
networking.defaultGateway = "192.168.100.1";
|
|
networking.nameservers = ["192.168.100.11"];
|
|
}
|