From 7fe9c596ba4bc6b52cb71a52ebf0a80618d4842e Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 30 Apr 2018 15:29:50 +0200 Subject: initrd network --- odin.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/odin.nix b/odin.nix index d092061e..9e29474e 100644 --- a/odin.nix +++ b/odin.nix @@ -25,6 +25,14 @@ boot.extraTTYs = [ "tty7" ]; + boot.initrd.network = { + enable = true; + ssh = { + enable = true; + authorizedKeys = with users.users."gkleen".openssh; map builtins.readFile authorizedKeys.keyFiles ++ authorizedKeys.keys; + }; + }; + networking.hostName = "odin"; # Define your hostname. # Select internationalisation properties. -- cgit v1.2.3