summaryrefslogtreecommitdiff
path: root/os/core
diff options
context:
space:
mode:
authoradikro <adikro@disroot.org>2026-01-26 14:05:26 +0100
committeradikro <adikro@disroot.org>2026-01-26 14:05:26 +0100
commit7d21a315bb43c80764d80a5670bfefa556b4b3a8 (patch)
treee01e5669ae7ef9dc9b0262b911bf58c8efafefd8 /os/core
parent945cdcc5b2de50f77a0bdccca2c53267a117d4e2 (diff)
pendrive fix
Diffstat (limited to 'os/core')
-rw-r--r--os/core/ssh.nix4
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"
];
};