feat: add initial config
This commit is contained in:
commit
fb98563bb6
26 changed files with 576 additions and 0 deletions
15
system/network.nix
Normal file
15
system/network.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
networking.hostName = "nixos-proxy";
|
||||
networking.useDHCP = false;
|
||||
networking.interfaces.eth0.ipv4.addresses = [
|
||||
{ address = "193.31.24.99"; prefixLength = 22; }
|
||||
];
|
||||
networking.defaultGateway = "193.31.24.1";
|
||||
networking.interfaces.eth0.ipv6.addresses = [
|
||||
{ address = "2a03:4000:2b:1836:748d:84ff:fe53:2a09"; prefixLength = 64; }
|
||||
];
|
||||
networking.defaultGateway6 = { address = "fe80::1"; interface = "eth0"; };
|
||||
networking.nameservers = [ "1.1.1.1" "9.9.9.9" "2606:4700:4700::1111" "2620:fe::fe" ];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue