enable gpg/ssh agent
This commit is contained in:
parent
5df8317a4a
commit
f21d40ce98
3 changed files with 4 additions and 3 deletions
|
|
@ -9,9 +9,9 @@
|
|||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
nvim = {
|
||||
url = "github:iofq/nvim.nix";
|
||||
url = "github:iofq/nvim.nix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
};
|
||||
outputs = { self, nixpkgs, home-manager, nixos-hardware, ... } @inputs:
|
||||
let
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@
|
|||
};
|
||||
services.gpg-agent = {
|
||||
enable = true;
|
||||
enableSshSupport = true;
|
||||
pinentryFlavor = "curses";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@
|
|||
bind '"\C-k": previous-history'
|
||||
bind '"\C-j": next-history'
|
||||
function cd {
|
||||
cmd="ls"
|
||||
cmd="ls --color=auto"
|
||||
builtin cd "$@" && $cmd
|
||||
}
|
||||
exists "kubectl" && source <(kubectl completion bash)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue