motd: fix infinite recursion

This commit is contained in:
Sandro - 2022-12-22 01:52:09 +01:00
parent a9e71931ba
commit ea73362f0e
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
2 changed files with 8 additions and 12 deletions

View File

@ -196,11 +196,13 @@ in
}]; }];
}; };
networking.interfaces = lib.mkIf (cfg.hq.interface != null) { networking = {
"${cfg.hq.interface}".ipv6.addresses = [{ interfaces = lib.mkIf (cfg.hq.interface != null) {
address = toHqPrivateAddress config.networking.hostName; "${cfg.hq.interface}".ipv6.addresses = [{
prefixLength = 64; address = toHqPrivateAddress config.networking.hostName;
}]; prefixLength = 64;
}];
};
nameservers = with hostRegistry.dnscache; [ nameservers = with hostRegistry.dnscache; [
ip4 ip4
@ -221,7 +223,7 @@ in
programs = { programs = {
ssh.knownHosts = ssh.knownHosts =
let let
inherit ((import ../ssh-public-keys.nix)) hosts; inherit (import ../ssh-public-keys.nix) hosts;
list = map list = map
(name: { (name: {
inherit name; inherit name;

View File

@ -1,6 +0,0 @@
______ ______
/ / / / / /\ \ \
/ / / / / / \ \ \
\ \ \ \ / / / / /
\_\_\_\/_/ /_/_/