1
0
mirror of https://github.com/kmein/niveum synced 2026-03-19 19:41:08 +01:00

feat(retiolum): update tinc module to add hosts declaratively

This commit is contained in:
2020-12-20 20:25:32 +01:00
parent fb85c29651
commit 96a67a937e
3 changed files with 12 additions and 16 deletions

View File

@@ -1,10 +1,7 @@
{ config, pkgs, ... }: {
imports = [ <niveum/modules/retiolum.nix> ];
imports = [
<niveum/modules/retiolum.nix>
];
networking.hosts = { "42:0:ca48:f98f:63d7:31ce:922b:245d" = [ "go" ]; };
environment.etc."tinc/retiolum/rsa_key.priv" = {
text = builtins.readFile <system-secrets/retiolum.key>;
mode = "400";
};
}