modules: move ssh keys into subdirectory

This commit is contained in:
Bruno BELANYI 2021-02-15 22:40:39 +00:00
parent 9992914ea6
commit b0d3cb0e8e
3 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ in
isNormalUser = true;
extraGroups = [ "wheel" ]; # Enable sudo for the user.
openssh.authorizedKeys.keys = with builtins; let
keyDir = ../ssh;
keyDir = ./ssh;
contents = readDir keyDir;
names = attrNames contents;
files = filter (name: contents.${name} == "regular") names;