refactor
All checks were successful
Build all NixOS Configurations / nix build (push) Successful in 9m45s

This commit is contained in:
Ingolf Wagner 2024-08-07 22:03:11 +02:00
parent 4f6ed530db
commit 9b7ff29143
Signed by: palo
GPG key ID: 76BF5F1928B9618B
2 changed files with 4 additions and 4 deletions

View file

@ -57,8 +57,8 @@ in
clan.core.facts.services.zfs = factsGenerator.zfs { }; clan.core.facts.services.zfs = factsGenerator.zfs { };
networking.hostId = config.clan.core.facts.services.zfs.public."zfs.hostId".value; networking.hostId = config.clan.core.facts.services.zfs.public."zfs.hostId".value;
systemd.network.networks."10-hetzner".networkConfig.Address = ipv6.address; systemd.network.networks."10-uplink".networkConfig.Address = ipv6.address;
boot.initrd.systemd.network.networks."10-hetzner" = config.systemd.network.networks."10-hetzner"; boot.initrd.systemd.network.networks."10-uplink" = config.systemd.network.networks."10-uplink";
# todo: use ssh component # todo: use ssh component
boot.initrd.kernelModules = [ networkInterfaceModule ]; boot.initrd.kernelModules = [ networkInterfaceModule ];

View file

@ -3,14 +3,14 @@
# set up hetzner cloud network # set up hetzner cloud network
systemd.network.enable = true; systemd.network.enable = true;
systemd.network.networks."10-hetzner" = { systemd.network.networks."10-uplink" = {
matchConfig.Name = "en*"; matchConfig.Name = "en*";
networkConfig.DHCP = "ipv4"; networkConfig.DHCP = "ipv4";
linkConfig.RequiredForOnline = "routable"; linkConfig.RequiredForOnline = "routable";
}; };
# set up hetzner cloud network during init # set up hetzner cloud network during init
boot.initrd.systemd.network.networks."10-hetzner" = config.systemd.network.networks."10-hetzner"; boot.initrd.systemd.network.networks."10-uplink" = config.systemd.network.networks."10-uplink";
boot.initrd.availableKernelModules = [ "virtio_pci" ]; # network kernel module boot.initrd.availableKernelModules = [ "virtio_pci" ]; # network kernel module
# set up hetzner boot loader # set up hetzner boot loader