modules: move ssh keys into subdirectory
This commit is contained in:
parent
9992914ea6
commit
b0d3cb0e8e
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue