summaryrefslogtreecommitdiff
path: root/users
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-07-03 18:37:07 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2015-07-03 18:37:07 +0200
commit76090b81f6bee97d58e4da9d8316be15b44eca82 (patch)
tree01ba5fea72157e8052b4f62296413e903136a43a /users
parentc7c060953e40e39caae5105be66fa78d5bf75f5c (diff)
downloadnixos-76090b81f6bee97d58e4da9d8316be15b44eca82.tar
nixos-76090b81f6bee97d58e4da9d8316be15b44eca82.tar.gz
nixos-76090b81f6bee97d58e4da9d8316be15b44eca82.tar.bz2
nixos-76090b81f6bee97d58e4da9d8316be15b44eca82.tar.xz
nixos-76090b81f6bee97d58e4da9d8316be15b44eca82.zip
Moved users to saner place
Diffstat (limited to 'users')
-rw-r--r--users/gkleen.nix17
-rw-r--r--users/keys/skadhi.pub1
2 files changed, 18 insertions, 0 deletions
diff --git a/users/gkleen.nix b/users/gkleen.nix
new file mode 100644
index 00000000..fb505426
--- /dev/null
+++ b/users/gkleen.nix
@@ -0,0 +1,17 @@
1{
2 users.extraUsers.gkleen = {
3 name = "gkleen";
4 description = "Gregor Kleen";
5 extraGroups = [ "wheel" "wlan" "lp" "dialout" ];
6 group = "users";
7 uid = 1000;
8 createHome = true;
9 home = "/home/gkleen";
10 shell = "/run/current-system/sw/bin/zsh";
11 isNormalUser = true;
12 openssh.authorizedKeys.keyFiles = [
13 keys/skadhi.pub
14 ];
15 hashedPassword = "$6$fJbC4zdY$fOdHMAfIZldfE1oYcLN0WflJpD1J4tXjCP21QfjP6R4nVcbYI.bb1AjZftcJtpHvBA/tC5pJXYoaxTRFvwxvA/";
16 };
17}
diff --git a/users/keys/skadhi.pub b/users/keys/skadhi.pub
new file mode 100644
index 00000000..29dfee9e
--- /dev/null
+++ b/users/keys/skadhi.pub
@@ -0,0 +1 @@
ecdsa-sha2-nistp521 AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1MjEAAACFBABVMu+0txXdxdTSY8POAYVXbuOEDW6VxJzaYwQljc9kzM63VUZuE606R0g2ZGr9A+Gk6qO6fpCiq4SM+1Yygz5yHgGlbO750TOGaTe6KSGw+u3miaeDviejmxTqetGmiJe7BTLRAbYHjRgD5SkK/Ovos0cDSyOfZ5aha/ehox+proQKGA== gkleen@cathy