diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-30 15:29:50 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-30 15:29:50 +0200 |
commit | 7fe9c596ba4bc6b52cb71a52ebf0a80618d4842e (patch) | |
tree | 66818534c1ffa05d43d8a62f1be8c30eae200fe4 | |
parent | 8ebff793557c8b39682e3bd3c85406dd17a6d64b (diff) | |
download | nixos-7fe9c596ba4bc6b52cb71a52ebf0a80618d4842e.tar nixos-7fe9c596ba4bc6b52cb71a52ebf0a80618d4842e.tar.gz nixos-7fe9c596ba4bc6b52cb71a52ebf0a80618d4842e.tar.bz2 nixos-7fe9c596ba4bc6b52cb71a52ebf0a80618d4842e.tar.xz nixos-7fe9c596ba4bc6b52cb71a52ebf0a80618d4842e.zip |
initrd network
-rw-r--r-- | odin.nix | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -25,6 +25,14 @@ | |||
25 | 25 | ||
26 | boot.extraTTYs = [ "tty7" ]; | 26 | boot.extraTTYs = [ "tty7" ]; |
27 | 27 | ||
28 | boot.initrd.network = { | ||
29 | enable = true; | ||
30 | ssh = { | ||
31 | enable = true; | ||
32 | authorizedKeys = with users.users."gkleen".openssh; map builtins.readFile authorizedKeys.keyFiles ++ authorizedKeys.keys; | ||
33 | }; | ||
34 | }; | ||
35 | |||
28 | networking.hostName = "odin"; # Define your hostname. | 36 | networking.hostName = "odin"; # Define your hostname. |
29 | 37 | ||
30 | # Select internationalisation properties. | 38 | # Select internationalisation properties. |