modules: move ssh keys into subdirectory
This commit is contained in:
parent
9992914ea6
commit
b0d3cb0e8e
|
@ -14,7 +14,7 @@ in
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
||||||
openssh.authorizedKeys.keys = with builtins; let
|
openssh.authorizedKeys.keys = with builtins; let
|
||||||
keyDir = ../ssh;
|
keyDir = ./ssh;
|
||||||
contents = readDir keyDir;
|
contents = readDir keyDir;
|
||||||
names = attrNames contents;
|
names = attrNames contents;
|
||||||
files = filter (name: contents.${name} == "regular") names;
|
files = filter (name: contents.${name} == "regular") names;
|
||||||
|
|
Loading…
Reference in a new issue