1
0
mirror of https://github.com/kmein/niveum synced 2026-03-18 02:51:08 +01:00
Files
niveum/configs/retiolum.nix

25 lines
580 B
Nix
Raw Normal View History

{ config, pkgs, ... }:
{
2019-04-11 07:43:08 +02:00
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";
2018-12-04 21:08:12 +01:00
};
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" = {
2019-04-11 07:43:08 +02:00
text = (import <dot/secrets.nix>).retiolum.privateKey.${config.networking.hostName};
mode = "400";
};
2018-12-04 21:08:12 +01:00
}