summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-30 15:35:49 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-30 15:35:49 +0200
commitf8b65eb1df3cacb1027c60cf299405ab3e8b96c2 (patch)
tree3e5a68f4ea1b51989c4e17ad5229bc0b52f7728e
parentd679c25cda52e5fc135026964b891e21084397a4 (diff)
downloadnixos-f8b65eb1df3cacb1027c60cf299405ab3e8b96c2.tar
nixos-f8b65eb1df3cacb1027c60cf299405ab3e8b96c2.tar.gz
nixos-f8b65eb1df3cacb1027c60cf299405ab3e8b96c2.tar.bz2
nixos-f8b65eb1df3cacb1027c60cf299405ab3e8b96c2.tar.xz
nixos-f8b65eb1df3cacb1027c60cf299405ab3e8b96c2.zip
SSH keys
-rw-r--r--odin.nix2
-rw-r--r--users/gkleen.nix2
-rw-r--r--users/keys/gkleen-hel-rsa.pub1
3 files changed, 2 insertions, 3 deletions
diff --git a/odin.nix b/odin.nix
index 035293f9..21352a7c 100644
--- a/odin.nix
+++ b/odin.nix
@@ -29,7 +29,7 @@
29 enable = true; 29 enable = true;
30 ssh = { 30 ssh = {
31 enable = true; 31 enable = true;
32 authorizedKeys = map builtins.readFile config.users.users."root".openssh.authorizedKeys.keyFiles; 32 authorizedKeys = [ (builtins.readFile ./users/keys/gkleen-hel-rsa.pub) ];
33 }; 33 };
34 }; 34 };
35 35
diff --git a/users/gkleen.nix b/users/gkleen.nix
index 5fb90bb0..be52116b 100644
--- a/users/gkleen.nix
+++ b/users/gkleen.nix
@@ -9,8 +9,6 @@
9 shell = "/run/current-system/sw/bin/zsh"; 9 shell = "/run/current-system/sw/bin/zsh";
10 isNormalUser = true; 10 isNormalUser = true;
11 openssh.authorizedKeys.keyFiles = [ 11 openssh.authorizedKeys.keyFiles = [
12 keys/gkleen-skadhi.pub
13 keys/gkleen-vali.pub
14 keys/gkleen-hel.pub 12 keys/gkleen-hel.pub
15 ]; 13 ];
16 hashedPassword = "$6$rounds=500000$dOMgCU7DAk$yQFYGOURTEt12387LIYBnFKSWmtwXMUk1LJWnV0m7OFt.y2TnxQn2abdGA5dhwG9EmMB5wZGXf4J5F71c746C/"; 14 hashedPassword = "$6$rounds=500000$dOMgCU7DAk$yQFYGOURTEt12387LIYBnFKSWmtwXMUk1LJWnV0m7OFt.y2TnxQn2abdGA5dhwG9EmMB5wZGXf4J5F71c746C/";
diff --git a/users/keys/gkleen-hel-rsa.pub b/users/keys/gkleen-hel-rsa.pub
new file mode 100644
index 00000000..58ddc724
--- /dev/null
+++ b/users/keys/gkleen-hel-rsa.pub
@@ -0,0 +1 @@
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDc6L8DsDw1Y/dS4nlVP+YTQXA2bHu6XFARFHy81CHvoW9RLo1mi6IpYShsRXHKYGYvKTgdF61SrSJPoMPRG4RP+p7JASN0glCYJIyEfQjKKc7dcw2iO8NJ6NC2gLlAvk/0YuBPCkXz/PTqmb/BO/XszRt/l2k6LFAz9mNma4b44k2LFDRwyEhlO8ri7vlnhcWDaw2bC8Lp/+WnfeaFa+L15tQXL+s5ri9i9PwMpC0jlSJ6IAJNUiBjtotvr/uLXWf/wbfrUIqFNt1vwEEaKE6LK7dfhuvznbA6L1xq7UtT6t5G6kwRvu0Tu1E1Ek6OiyXo34K/qwFbE+hTH5CjzOfmg6jF7LUkfR2h08tcJ6TbvUEkpBxmpwDBWWcr9rpu4FId6bz9+59QVduLxIN39s9ezddUCFIXuaSbO6zO98NMknG2o6TBtRzAzjeK84mM5A/Xga4oqJAo7jtDZ+XyftJn5TsppxvhxXJLHuAo/pwYqwPTOq6tQF7F58ejoJI8iF3ha228lZyGh1OApxg+fBh5DkRCG6A8hJbx71QVnifHr0y2mnPGZkZnry+GN+tB71K3ddixf1ULNLUJgizvNC/AuvECka0kV+PRC5ot/TN3XSE5yjCYl83KFy0XJ4Iq/9PJ9ZM3p+kEePltyfN0fHRk+qXEwGfgdRkMo+821p5t6w== gkleen@hel