From 7d21a315bb43c80764d80a5670bfefa556b4b3a8 Mon Sep 17 00:00:00 2001 From: adikro Date: Mon, 26 Jan 2026 14:05:26 +0100 Subject: pendrive fix --- os/core/ssh.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'os/core') 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" ]; }; -- cgit v1.3