Clean up montalin configuration
This commit is contained in:
parent
8424e0875c
commit
4c5c5a42ca
8 changed files with 156 additions and 106 deletions
21
host/montalin/networking.nix
Normal file
21
host/montalin/networking.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
networking.hostName = "montalin"; # Define your hostname.
|
||||
|
||||
networking.useDHCP = false;
|
||||
networking.interfaces.eno1 = {
|
||||
ipv4.addresses = [{
|
||||
address = "10.1.2.2";
|
||||
prefixLength = 24;
|
||||
}];
|
||||
};
|
||||
networking.interfaces.wlp1s0.useDHCP = true;
|
||||
|
||||
networking.defaultGateway = "10.1.2.1";
|
||||
networking.nameservers = [ "10.1.2.1" ];
|
||||
|
||||
# Configure network proxy if necessary
|
||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue