machines: serv,zero: Switch to DHCP auto-configuration
It's just easier to configure everything on the router and let DHCP do the rest. Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
parent
5ec9fa569d
commit
dc9e47b523
|
@ -1,12 +1,5 @@
|
|||
{ lib, ... }:
|
||||
|
||||
{
|
||||
networking = {
|
||||
usePredictableInterfaceNames = lib.mkDefault true;
|
||||
nameservers = lib.mkDefault [ "9.9.9.9" ];
|
||||
domain = "c8h4.io";
|
||||
search = [ "c8h4.io" ];
|
||||
};
|
||||
networking.usePredictableInterfaceNames = true;
|
||||
|
||||
networking.firewall = {
|
||||
allowPing = true;
|
||||
|
|
|
@ -21,10 +21,6 @@ in {
|
|||
|
||||
system.stateVersion = "23.05";
|
||||
|
||||
networking = my.homelab.networking // {
|
||||
interfaces.eth0 = my.machines.serv.eth0;
|
||||
};
|
||||
|
||||
services.dashboard-icons = {
|
||||
enable = true;
|
||||
virtualHost = {
|
||||
|
|
|
@ -42,9 +42,7 @@
|
|||
|
||||
fileSystems."/storage/bunker" = my.homelab.nfsServers.tank.bunker;
|
||||
|
||||
networking = my.homelab.networking // {
|
||||
interfaces.eno1 = my.machines.zero.eno1 // { wakeOnLan.enable = true; };
|
||||
};
|
||||
networking.interfaces.eno1.wakeOnLan.enable = true;
|
||||
|
||||
home-manager.users.christoph = {
|
||||
imports = [ ../secrets/home-manager/tu-vienna.nix ];
|
||||
|
|
BIN
secrets/my.nix
BIN
secrets/my.nix
Binary file not shown.
Loading…
Reference in a new issue