summaryrefslogtreecommitdiff
path: root/os/core/ssh.nix
diff options
context:
space:
mode:
Diffstat (limited to 'os/core/ssh.nix')
-rw-r--r--os/core/ssh.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/os/core/ssh.nix b/os/core/ssh.nix
index 3d1bedb..4f9b551 100644
--- a/os/core/ssh.nix
+++ b/os/core/ssh.nix
@@ -20,16 +20,18 @@ in
};
};
+ programs.ssh.startAgent = true;
+ services.gnome.gcr-ssh-agent.enable = false;
+
programs.gnupg.agent = {
enable = true;
- enableSSHSupport = true;
- # settings.default-key = "1DCCDC4E78380113E9BBBE413C7DEF329223B701";
+ enableSSHSupport = false;
pinentryPackage = pkgs.pinentry-curses;
};
users.users = {
${username}.openssh.authorizedKeys.keys = [
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID5/Mr4PLMDflZ+SoaYP9N3kRbkkh1qL5NLSgW6C7sAu adikro@disroot.org"
+ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIC610CJfgc3yII7MpLVqzEzQGa8Tsm+dih+CTXHXTnv4 adikro@disroot.org"
];
};
};