From 23d2a4de701aef1a61d5b3722075ed8fb9ff6a22 Mon Sep 17 00:00:00 2001 From: niten Date: Fri, 15 Oct 2021 14:25:22 -0700 Subject: [PATCH] Just fuckin remove the whole thing bet this doesn't work --- lib/default.nix | 2 +- lib/fudo/initrd-network.nix | 15 +-------------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/lib/default.nix b/lib/default.nix index a54d000..385fb79 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -20,7 +20,7 @@ with lib; { ./fudo/global.nix ./fudo/grafana.nix ./fudo/hosts.nix - ./fudo/initrd-network.nix + # ./fudo/initrd-network.nix ./fudo/ipfs.nix ./fudo/kdc.nix ./fudo/ldap.nix diff --git a/lib/fudo/initrd-network.nix b/lib/fudo/initrd-network.nix index 571b4d3..758d1e7 100644 --- a/lib/fudo/initrd-network.nix +++ b/lib/fudo/initrd-network.nix @@ -48,7 +48,7 @@ in { port = 22; authorizedKeys = admin-ssh-keys; hostKeys = [ - (builtins.trace initrd-cfg.keypair.private-key-file initrd-cfg.keypair.private-key-file) + initrd-cfg.keypair.private-key-file ]; }; }; @@ -56,19 +56,6 @@ in { }; fudo = { - ## Sigh...this doesn't work because the file isn't available soon enough - ## during activation. - # - # secrets.host-secrets = mapAttrs - # (hostname: key-pkg: { - # initrd-ssh-host-key = { - # source-file = "${key-pkg}/${key-filename}"; - # target-file = "/var/run/ssh/${key-filename}"; - # user = "root"; - # }; - # }) - # host-keys; - local-network = let initrd-network-hosts = filterAttrs