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

View File

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