summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-04-19 22:06:50 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2021-04-19 22:06:50 +0200
commitc8192d8299149350c70b3e536d2fd3bd295a84d0 (patch)
tree8bb54859eaae1d97f044ac53ba99302328ab01cb
parent0f76ce09ebecc39346f63d17c394e5da34e95c8a (diff)
downloadnixos-c8192d8299149350c70b3e536d2fd3bd295a84d0.tar
nixos-c8192d8299149350c70b3e536d2fd3bd295a84d0.tar.gz
nixos-c8192d8299149350c70b3e536d2fd3bd295a84d0.tar.bz2
nixos-c8192d8299149350c70b3e536d2fd3bd295a84d0.tar.xz
nixos-c8192d8299149350c70b3e536d2fd3bd295a84d0.zip
fix inclusion of ssh authorized keys
-rw-r--r--users/gkleen/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/gkleen/default.nix b/users/gkleen/default.nix
index 582bac46..c5ec7025 100644
--- a/users/gkleen/default.nix
+++ b/users/gkleen/default.nix
@@ -13,7 +13,7 @@
13 home = "/home/${userName}"; 13 home = "/home/${userName}";
14 shell = "${pkgs.zsh}/bin/zsh"; 14 shell = "${pkgs.zsh}/bin/zsh";
15 isNormalUser = true; 15 isNormalUser = true;
16 openssh.authorizedKeys.keyFiles = lib.attrValues (customUtils.recImport rec { dir = ./authorized-keys; _import = name: _base: dir + "/${name}"; }); 16 openssh.authorizedKeys.keyFiles = let dir = ./authorized-keys; in lib.mapAttrsToList (n: _: dir + "/${n}") (builtins.readDir dir);
17 hashedPassword = "$6$rounds=500000$dOMgCU7DAk$yQFYGOURTEt12387LIYBnFKSWmtwXMUk1LJWnV0m7OFt.y2TnxQn2abdGA5dhwG9EmMB5wZGXf4J5F71c746C/"; 17 hashedPassword = "$6$rounds=500000$dOMgCU7DAk$yQFYGOURTEt12387LIYBnFKSWmtwXMUk1LJWnV0m7OFt.y2TnxQn2abdGA5dhwG9EmMB5wZGXf4J5F71c746C/";
18 }; 18 };
19 19