mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 18:59:07 +01:00
networking: Unify underlay config across hosts
This commit is contained in:
parent
1d1709e1ba
commit
27b5c57023
19 changed files with 240 additions and 258 deletions
|
|
@ -24,9 +24,14 @@
|
|||
de.hyprland.enable = true;
|
||||
|
||||
networking = {
|
||||
overlay.address = "10.254.250.1";
|
||||
underlay.interface = "enp6s0";
|
||||
isClient = true;
|
||||
overlay = {
|
||||
address = "10.254.250.1";
|
||||
role = "client";
|
||||
};
|
||||
underlay = {
|
||||
interface = "enp6s0";
|
||||
useDhcp = true;
|
||||
};
|
||||
};
|
||||
|
||||
services = {
|
||||
|
|
|
|||
|
|
@ -33,16 +33,6 @@ _: {
|
|||
'';
|
||||
};
|
||||
|
||||
networking.useNetworkd = true;
|
||||
systemd.network = {
|
||||
enable = true;
|
||||
networks."10-enp6s0" = {
|
||||
matchConfig.Name = "enp6s0";
|
||||
networkConfig.DHCP = "ipv4";
|
||||
linkConfig.RequiredForOnline = "routable";
|
||||
};
|
||||
};
|
||||
|
||||
hardware.fancontrol = {
|
||||
enable = true;
|
||||
config = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue