mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
26 lines
612 B
Nix
26 lines
612 B
Nix
{ config, pkgs, ... }:
|
|
let retiolumKey = (import ../secrets.nix).retiolum.privateKey;
|
|
in {
|
|
imports = [ ../modules/retiolum.nix ];
|
|
|
|
networking.hosts = {
|
|
"42:0:ca48:f98f:63d7:31ce:922b:245d" = [ "go" ];
|
|
};
|
|
|
|
networking.retiolum = {
|
|
scardanelli = {
|
|
ipv4 = "10.243.2.2";
|
|
ipv6 = "42:0:3c46:4007:5bce:f1bc:606b:2b18";
|
|
};
|
|
homeros = {
|
|
ipv4 = "10.243.2.1";
|
|
ipv6 = "42:0:3c46:53e:e63d:e62a:56ea:c705";
|
|
};
|
|
}.${config.networking.hostName};
|
|
|
|
environment.etc."tinc/retiolum/rsa_key.priv" = {
|
|
text = retiolumKey.${config.networking.hostName};
|
|
mode = "400";
|
|
};
|
|
}
|