diff --git a/nixos/default.nix b/nixos/default.nix index a5c5a2e..1faae50 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -8,6 +8,7 @@ common.imports = [ ./nix.nix ./caches + ./ssh-authorize.nix ]; my-home = { @@ -24,7 +25,6 @@ self.nixosModules.my-home self.nixosModules.common ./self-ide.nix - ./ssh-authorize.nix ./current-location.nix ]; }; diff --git a/nixos/ssh-authorize.nix b/nixos/ssh-authorize.nix index baa5372..a4ebe9f 100644 --- a/nixos/ssh-authorize.nix +++ b/nixos/ssh-authorize.nix @@ -9,6 +9,9 @@ in { root.openssh.authorizedKeys.keys = myKeys; - ${people.myself}.openssh.authorizedKeys.keys = myKeys; + ${people.myself} = { + openssh.authorizedKeys.keys = myKeys; + isNormalUser = true; + }; }; }