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";
|
news.display = "silent";
|
||||||
|
|
||||||
home.file.".local/bin/scripts" = {
|
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;
|
programs.home-manager.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -100,7 +100,11 @@
|
||||||
|
|
||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
enableDefaultConfig = false;
|
||||||
matchBlocks = {
|
matchBlocks = {
|
||||||
|
"*" = {
|
||||||
|
addKeysToAgent = "yes";
|
||||||
|
};
|
||||||
"github.com" = {
|
"github.com" = {
|
||||||
identityFile = "~/.ssh/id_ed25519";
|
identityFile = "~/.ssh/id_ed25519";
|
||||||
};
|
};
|
||||||
|
|
@ -138,7 +142,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultCacheTtl = 3600;
|
defaultCacheTtl = 3600;
|
||||||
maxCacheTtl = 7200;
|
maxCacheTtl = 7200;
|
||||||
pinentryPackage = pkgs.pinentry-curses;
|
pinentry.package = pkgs.pinentry-curses;
|
||||||
};
|
};
|
||||||
|
|
||||||
home.activation.secretPermissions = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
home.activation.secretPermissions = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
||||||
|
|
|
||||||
|
|
@ -169,6 +169,7 @@ in {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
initContent = ''
|
initContent = ''
|
||||||
|
export GPG_TTY=$(tty)
|
||||||
export THEME="''${THEME:-${config.theme}}"
|
export THEME="''${THEME:-${config.theme}}"
|
||||||
|
|
||||||
setopt auto_cd
|
setopt auto_cd
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue