diff options
Diffstat (limited to 'os')
| -rw-r--r-- | os/core/ssh.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/core/ssh.nix b/os/core/ssh.nix index aeb43c5..2fb35f8 100644 --- a/os/core/ssh.nix +++ b/os/core/ssh.nix @@ -1,4 +1,4 @@ -{ config, lib, pkgs, ... }: +{ config, lib, pkgs, username, ... }: let cfg = config.os.core.ssh; in @@ -19,7 +19,7 @@ in enableSSHSupport = true; pinentryPackage = pkgs.pinentry-curses; }; - users.users.adam.openssh.authorizedKeys.keys = [ + users.users.${username}.openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID5/Mr4PLMDflZ+SoaYP9N3kRbkkh1qL5NLSgW6C7sAu adikro@disroot.org" ]; }; |
