Clean up montalin configuration

This commit is contained in:
Fabian Hauser 2020-06-27 23:20:14 +02:00
parent 8424e0875c
commit 4c5c5a42ca
8 changed files with 156 additions and 106 deletions

View 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";
}