diff --git a/nixos/ssh-authorize.nix b/nixos/ssh-authorize.nix index a4ebe9f4..721f0f03 100644 --- a/nixos/ssh-authorize.nix +++ b/nixos/ssh-authorize.nix @@ -1,4 +1,4 @@ -{ flake, ... }: +{ flake, pkgs, lib, ... }: { # Let me login @@ -11,6 +11,7 @@ root.openssh.authorizedKeys.keys = myKeys; ${people.myself} = { openssh.authorizedKeys.keys = myKeys; + } // lib.optionalAttrs pkgs.stdenv.isLinux { isNormalUser = true; }; };