diff --git a/modules/users.nix b/modules/users.nix index fbc3880..6fa4e6d 100644 --- a/modules/users.nix +++ b/modules/users.nix @@ -25,13 +25,14 @@ in "video" # screen control "wheel" # `sudo` for the user. ]; - openssh.authorizedKeys.keys = with builtins; let - keyDir = ./ssh; - contents = readDir keyDir; - names = attrNames contents; - files = filter (name: contents.${name} == "regular") names; - keys = map (basename: readFile (keyDir + "/${basename}")) files; - in - keys; + openssh.authorizedKeys.keys = with builtins; + let + keyDir = ./ssh; + contents = readDir keyDir; + names = attrNames contents; + files = filter (name: contents.${name} == "regular") names; + keys = map (basename: readFile (keyDir + "/${basename}")) files; + in + keys; }; }