This commit is contained in:
Ingolf Wagner 2024-08-07 21:51:43 +02:00
parent d5f1ef4af6
commit 2b9062e1f1
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
2 changed files with 5 additions and 2 deletions

View file

@ -32,6 +32,7 @@ in
imports = [ imports = [
./disko-config.nix ./disko-config.nix
./hardware-configuration.nix ./hardware-configuration.nix
./hetzner.nix
]; ];
services.smartd.enable = true; services.smartd.enable = true;
@ -56,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-uplink".networkConfig.Address = ipv6.address; systemd.network.networks."10-hetzner".networkConfig.Address = ipv6.address;
boot.initrd.systemd.network.networks."10-uplink" = config.systemd.network.networks."10-uplink"; boot.initrd.systemd.network.networks."10-hetzner" = config.systemd.network.networks."10-hetzner";
# todo: use ssh component # todo: use ssh component
boot.initrd.kernelModules = [ networkInterfaceModule ]; boot.initrd.kernelModules = [ networkInterfaceModule ];

View file

@ -0,0 +1,2 @@
{ config, ... }:
{ }