From c8192d8299149350c70b3e536d2fd3bd295a84d0 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 19 Apr 2021 22:06:50 +0200 Subject: fix inclusion of ssh authorized keys --- users/gkleen/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ home = "/home/${userName}"; shell = "${pkgs.zsh}/bin/zsh"; isNormalUser = true; - openssh.authorizedKeys.keyFiles = lib.attrValues (customUtils.recImport rec { dir = ./authorized-keys; _import = name: _base: dir + "/${name}"; }); + openssh.authorizedKeys.keyFiles = let dir = ./authorized-keys; in lib.mapAttrsToList (n: _: dir + "/${n}") (builtins.readDir dir); hashedPassword = "$6$rounds=500000$dOMgCU7DAk$yQFYGOURTEt12387LIYBnFKSWmtwXMUk1LJWnV0m7OFt.y2TnxQn2abdGA5dhwG9EmMB5wZGXf4J5F71c746C/"; }; -- cgit v1.2.3