mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 17:37:43 -04:00
Move settings to private flake
This commit is contained in:
parent
23ada378c6
commit
9a056ac94d
1 changed files with 4 additions and 16 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, username, ... }: {
|
{ config, pkgs, username, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./disk-config.nix
|
./disk-config.nix
|
||||||
|
|
@ -88,21 +88,9 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
networks."10-wan" = {
|
networks."10-wan" = {
|
||||||
matchConfig.Name = "enp1s0";
|
matchConfig.Name = "enp1s0";
|
||||||
address = [
|
address = config.private-flake.hetznix01.networkAddresses;
|
||||||
"5.161.244.95/32"
|
dns = config.private-flake.hetznix01.dnsServers;
|
||||||
"2a01:4ff:f0:977c::1/64"
|
routes = config.private-flake.hetznix01.networkRoutes;
|
||||||
];
|
|
||||||
dns = [
|
|
||||||
"185.12.64.1"
|
|
||||||
"185.12.64.2"
|
|
||||||
"2a01:4ff:ff00::add:1"
|
|
||||||
"2a01:4ff:ff00::add:2"
|
|
||||||
];
|
|
||||||
routes = [
|
|
||||||
{ Destination = "172.31.1.1"; }
|
|
||||||
{ Gateway = "172.31.1.1"; GatewayOnLink = true; }
|
|
||||||
{ Gateway = "fe80::1"; }
|
|
||||||
];
|
|
||||||
# make the routes on this interface a dependency for network-online.target
|
# make the routes on this interface a dependency for network-online.target
|
||||||
linkConfig.RequiredForOnline = "routable";
|
linkConfig.RequiredForOnline = "routable";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue