fix(client): keychain -> ssh-agent
keychain is cool but is first of all unmaintained, and only really works in the context of a shell. since it "dynamically" starts agents and exports variables (with set -U to make matters worse), nothing exists outside of the context of the shell which makes it impossible to sign commits in gui apps (except vscode for some reason); using a classical ssh-agent with the env var exported by hand simply works
This commit is contained in:
parent
ccbff72f9e
commit
aa4aac6063
3 changed files with 17 additions and 8 deletions
|
@ -3,8 +3,9 @@
|
|||
imports = [
|
||||
./common.nix
|
||||
|
||||
../programs/rust.nix
|
||||
../programs/neovim
|
||||
../programs/rust.nix
|
||||
../programs/ssh-agent.nix
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
@ -14,12 +15,6 @@
|
|||
nixd
|
||||
];
|
||||
|
||||
hm.programs.keychain = {
|
||||
enable = true;
|
||||
agents = [ "ssh" ];
|
||||
keys = [ "id_ed25519" ];
|
||||
};
|
||||
|
||||
networking = {
|
||||
useNetworkd = false;
|
||||
networkmanager = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue