diff --git a/ssh/aramis.pub b/modules/ssh/aramis.pub similarity index 100% rename from ssh/aramis.pub rename to modules/ssh/aramis.pub diff --git a/ssh/shared.pub b/modules/ssh/shared.pub similarity index 100% rename from ssh/shared.pub rename to modules/ssh/shared.pub diff --git a/modules/users.nix b/modules/users.nix index 1b1b709..80b9bad 100644 --- a/modules/users.nix +++ b/modules/users.nix @@ -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;