refactor
This commit is contained in:
parent
d5f1ef4af6
commit
2b9062e1f1
2 changed files with 5 additions and 2 deletions
|
@ -32,6 +32,7 @@ in
|
|||
imports = [
|
||||
./disko-config.nix
|
||||
./hardware-configuration.nix
|
||||
./hetzner.nix
|
||||
];
|
||||
|
||||
services.smartd.enable = true;
|
||||
|
@ -56,8 +57,8 @@ in
|
|||
clan.core.facts.services.zfs = factsGenerator.zfs { };
|
||||
networking.hostId = config.clan.core.facts.services.zfs.public."zfs.hostId".value;
|
||||
|
||||
systemd.network.networks."10-uplink".networkConfig.Address = ipv6.address;
|
||||
boot.initrd.systemd.network.networks."10-uplink" = config.systemd.network.networks."10-uplink";
|
||||
systemd.network.networks."10-hetzner".networkConfig.Address = ipv6.address;
|
||||
boot.initrd.systemd.network.networks."10-hetzner" = config.systemd.network.networks."10-hetzner";
|
||||
|
||||
# todo: use ssh component
|
||||
boot.initrd.kernelModules = [ networkInterfaceModule ];
|
||||
|
|
2
machines/orbi/hardware-configuration/hetzner.nix
Normal file
2
machines/orbi/hardware-configuration/hetzner.nix
Normal file
|
@ -0,0 +1,2 @@
|
|||
{ config, ... }:
|
||||
{ }
|
Loading…
Reference in a new issue