summaryrefslogtreecommitdiff
path: root/odin.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-30 15:29:50 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-30 15:29:50 +0200
commit7fe9c596ba4bc6b52cb71a52ebf0a80618d4842e (patch)
tree66818534c1ffa05d43d8a62f1be8c30eae200fe4 /odin.nix
parent8ebff793557c8b39682e3bd3c85406dd17a6d64b (diff)
downloadnixos-7fe9c596ba4bc6b52cb71a52ebf0a80618d4842e.tar
nixos-7fe9c596ba4bc6b52cb71a52ebf0a80618d4842e.tar.gz
nixos-7fe9c596ba4bc6b52cb71a52ebf0a80618d4842e.tar.bz2
nixos-7fe9c596ba4bc6b52cb71a52ebf0a80618d4842e.tar.xz
nixos-7fe9c596ba4bc6b52cb71a52ebf0a80618d4842e.zip
initrd network
Diffstat (limited to 'odin.nix')
-rw-r--r--odin.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/odin.nix b/odin.nix
index d092061e..9e29474e 100644
--- a/odin.nix
+++ b/odin.nix
@@ -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.