more stuff

This commit is contained in:
Barrett Ruth 2026-02-08 14:57:18 -05:00
parent 5a0199c486
commit 745075530c
3 changed files with 9 additions and 2 deletions

View file

@ -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;

View file

@ -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" ] ''

View file

@ -169,6 +169,7 @@ in {
'';
initContent = ''
export GPG_TTY=$(tty)
export THEME="''${THEME:-${config.theme}}"
setopt auto_cd