more stuff
This commit is contained in:
parent
5a0199c486
commit
745075530c
3 changed files with 9 additions and 2 deletions
|
|
@ -25,7 +25,9 @@ in {
|
|||
news.display = "silent";
|
||||
|
||||
home.file.".local/bin/scripts" = {
|
||||
source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/nix-config/scripts";
|
||||
source = ../scripts;
|
||||
recursive = true;
|
||||
executable = true;
|
||||
};
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
|
|
|
|||
|
|
@ -100,7 +100,11 @@
|
|||
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
enableDefaultConfig = false;
|
||||
matchBlocks = {
|
||||
"*" = {
|
||||
addKeysToAgent = "yes";
|
||||
};
|
||||
"github.com" = {
|
||||
identityFile = "~/.ssh/id_ed25519";
|
||||
};
|
||||
|
|
@ -138,7 +142,7 @@
|
|||
enable = true;
|
||||
defaultCacheTtl = 3600;
|
||||
maxCacheTtl = 7200;
|
||||
pinentryPackage = pkgs.pinentry-curses;
|
||||
pinentry.package = pkgs.pinentry-curses;
|
||||
};
|
||||
|
||||
home.activation.secretPermissions = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
||||
|
|
|
|||
|
|
@ -169,6 +169,7 @@ in {
|
|||
'';
|
||||
|
||||
initContent = ''
|
||||
export GPG_TTY=$(tty)
|
||||
export THEME="''${THEME:-${config.theme}}"
|
||||
|
||||
setopt auto_cd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue