Commit Graph
83 Commits
Author SHA1 Message Date
Benedikt RipsandAustin Horstman 71402c5df3 treewide: mark unused lambda arguments 2026-04-13 22:02:40 -05:00
Benedikt RipsandAustin Horstman 8ec54491cd sshAuthSock: fix naming scheme 2026-04-04 22:28:41 -05:00
Benedikt RipsandAustin Horstman 9dc93220c1 ssh_auth_sock: assert that at most one agent is enabled 2026-04-03 21:15:34 -05:00
Benedikt RipsandAustin Horstman a61b22e323 ssh_auth_sock: init module
`$SSH_AUTH_SOCK` must not be set unconditionally through
'home.sessionVariables' since its value needs to be preserved if it
stems from a forwarded SSH agent. Hence, this commit establishes a
centralized, internal 'ssh_auth_sock.initialization' option for setting
`$SSH_AUTH_SOCK`. It checks whether its value has to be preserved and
injects the initialization code into the proper
'programs.(bash|fish|nushell|zsh).*' options.
2026-04-03 21:15:34 -05:00
Benedikt RipsandAustin Horstman 7c5d9345ad news: add 'services.ssh-agent.pkcs11Whitelist' entry 2026-01-09 23:20:10 -05:00
Benedikt RipsandAustin Horstman 37158e5267 vesktop: deduplicate platform-dependent files 2026-01-08 14:49:34 -05:00
Benedikt RipsandAustin Horstman cd74467526 streamlink: deduplicate platform-dependent files 2026-01-08 14:49:34 -05:00
Benedikt RipsandAustin Horstman 72476602b9 sapling: deduplicate platform-dependent files 2026-01-08 14:49:34 -05:00
Benedikt RipsandAustin Horstman e926e27968 rbw: deduplicate platform-dependent files 2026-01-08 14:49:34 -05:00
Benedikt RipsandAustin Horstman db116ceb76 qutebrowser: deduplicate platform-dependent files 2026-01-08 14:49:34 -05:00
Benedikt RipsandAustin Horstman f7b2bdf042 pueue: deduplicate platform-dependent files 2026-01-08 14:49:34 -05:00
Benedikt RipsandAustin Horstman a1a11393d9 pistol: deduplicate platform-dependent files 2026-01-08 14:49:34 -05:00
Benedikt RipsandAustin Horstman 802ce0a7b1 mullvad-vpn: deduplicate platform-dependent files 2026-01-08 14:49:34 -05:00
Benedikt RipsandAustin Horstman e69fbc243a lazygit: deduplicate platform-dependent files 2026-01-08 14:49:34 -05:00
Benedikt RipsandAustin Horstman ebab435f3e lazydocker: deduplicate platform-dependent files 2026-01-08 14:49:34 -05:00
Benedikt RipsandAustin Horstman bacad23b8c kubecolor: deduplicate platform-dependent files 2026-01-08 14:49:34 -05:00
Benedikt RipsandAustin Horstman 6067be4770 kitty: deduplicate platform-dependent files 2026-01-08 14:49:34 -05:00
Benedikt RipsandAustin Horstman 12a723df97 gurk-rs: deduplicate platform-dependent files 2026-01-08 14:49:34 -05:00
Benedikt RipsandRobert Helgesson d1da1de5c2 lib.darwin: simplify assertInterval 2026-01-08 14:29:57 +01:00
Benedikt RipsandMatthieu Coudron 6e94d8157c keepassxc: point to the default upstream branch 2026-01-06 22:08:42 +01:00
Benedikt RipsandMatthieu Coudron 6e3931c01f keepassxc: add note about error message in the GUI 2026-01-06 22:08:42 +01:00
Benedikt Rips 6841643203 yubikey-agent: remove redundant platform checks 2026-01-05 23:10:04 +01:00
Benedikt Rips a755d94ab0 xdg: remove redundant platform checks 2026-01-05 23:10:04 +01:00
Benedikt Rips 33fe25dbe5 ssh-agent: remove redundant platform checks 2026-01-05 23:10:04 +01:00
Benedikt Rips 337d3602c0 restic: remove redundant platform checks 2026-01-05 23:10:04 +01:00
Benedikt Rips 5d814af6af pueue: remove redundant platform checks 2026-01-05 23:10:03 +01:00
Benedikt Rips 787784fb6f ollama: remove redundant platform checks 2026-01-05 23:10:03 +01:00
Benedikt Rips 2379f704b0 nix-gc: remove redundant platform checks 2026-01-05 23:10:03 +01:00
Benedikt Rips a26335db1b nh: remove redundant platform checks 2026-01-05 23:10:03 +01:00
Benedikt Rips d016674f6a mpd: remove redundant platform checks 2026-01-05 23:10:03 +01:00
Benedikt Rips c2d3a75ebe home-manager-auto-expire: remove redundant platform checks 2026-01-05 23:10:03 +01:00
Benedikt Rips 93af99ec02 gpg-agent: remove redundant platform checks 2026-01-05 23:10:03 +01:00
Benedikt Rips c8b68aafed git-sync: remove redundant platform checks 2026-01-05 23:10:03 +01:00
Benedikt Rips bca7415de4 emacs: remove redundant platform checks 2026-01-05 23:10:03 +01:00
Benedikt Rips d070d83048 colima: remove redundant platform checks 2026-01-05 23:10:03 +01:00
Benedikt Rips 048104c098 clipse: remove redundant platform checks 2026-01-05 23:10:02 +01:00
Benedikt Rips af894fbbc7 borgmatic: remove redundant platform checks 2026-01-05 23:10:02 +01:00
Benedikt Rips 53084c95ce atuin: remove redundant platform checks 2026-01-05 23:08:11 +01:00
Benedikt RipsandRobert Helgesson f894bc4ffd ssh-agent: improve handling of SSH_AUTH_SOCK variable
Specifically, only preserve `$SSH_AUTH_SOCK` when it points to a
forwarded agent.
2026-01-04 20:52:35 +01:00
Benedikt RipsandRobert Helgesson 73f5a5ecc9 ssh-agent: fix Nushell's check for emptiness
Previously, it would not succeed if `$env.SSH_AUTH_SOCK` is set to an
empty string.
2026-01-04 20:52:35 +01:00
Benedikt RipsandRobert Helgesson c211298f7e tree-wide: use lib.hm.assertions.assertPlatform 2026-01-04 09:31:10 +01:00
Benedikt RipsandAustin Horstman 89c9508bbe ssh-agent: set $SSH_AUTH_SOCK in non-interactive shells
Since PR #8099, the module sets `$SSH_AUTH_SOCK` through shells' options
for interactive shell initialization instead of
`home.sessionVariablesExtra`. The replacement was not faithful, however,
since `home.sessionVariablesExtra` is sourced also in non-interactive
shells. With this commit, the shells' profile options (where
`home.sessionVariablesExtra` is sourced) are used to set
`$SSH_AUTH_SOCK`.

Fixes #8129.
2025-12-17 08:15:55 -06:00
Benedikt RipsandAustin Horstman d787ec69c3 less: list options in correct order 2025-12-13 00:08:50 -06:00
Benedikt RipsandAustin Horstman 07d79726f1 less: enable options to be specified multiple times 2025-12-13 00:08:50 -06:00
Benedikt RipsandAustin Horstman d7b1ece79d xdg-portal: assert that required paths are linked on NixOS 2025-11-08 22:03:46 -06:00
Benedikt RipsandAustin Horstman c93684cd87 tmpfiles: use correct path in the onChange hook 2025-11-03 08:52:18 -06:00
Benedikt RipsandAustin Horstman 8c824254b1 glab: coerce glab tmpfile rule argument to string 2025-11-03 07:59:26 -06:00
Benedikt RipsandAustin Horstman 2318e30ea1 tests: hostPlatform -> stdenv.hostPlatform 2025-11-03 07:59:03 -06:00
Benedikt RipsandAustin Horstman b5ed4afc22 glab: remove the config file if it is empty or glab disabled 2025-11-02 23:02:10 -06:00
Benedikt RipsandAustin Horstman 7503ffb0b0 tmpfiles: add maintainer bmrips 2025-11-02 23:02:10 -06:00
Benedikt RipsandAustin Horstman b4350d54c2 tmpfiles: add option to purge rules' targets on change 2025-11-02 23:02:10 -06:00
Benedikt RipsandAustin Horstman 090aa14e5d tmpfiles: migrate to an RFC42-style option 2025-11-02 23:02:10 -06:00
Benedikt RipsandAustin Horstman c6d4cb31d7 home-manager: define a central package 2025-10-30 08:20:54 -05:00
Benedikt RipsandAustin Horstman 05c7c900f1 fontconfig: fix cache existence tests 2025-10-28 08:55:38 -05:00
Benedikt RipsandAustin Horstman b53026f683 tmpfiles: echo the onChange command and respect $DRY_RUN 2025-10-28 08:55:07 -05:00
Benedikt M. RipsandGitHub bbaeb9f1c2 glab: init module (#8066) 2025-10-26 20:59:05 -05:00
Benedikt M. RipsandGitHub f2f1076c1f treewide: remove no-ops (#8061) 2025-10-26 15:43:53 -05:00
Benedikt RipsandAustin Horstman 0d1e116e4f ssh-tpm-agent: match the upstream systemd units 2025-08-18 21:16:27 -05:00
Benedikt RipsandAustin Horstman 3a5136d8dd ssh-tpm-agent: on NixOS, check TPM accessibility 2025-08-18 21:16:27 -05:00
Benedikt RipsandAustin Horstman f9ea660b24 ssh-tpm-agent: fix ssh-agent proxy 2025-08-18 21:16:27 -05:00
Benedikt RipsandAustin Horstman 94a238f9c1 ssh-agent: add option for the socket name 2025-08-18 21:16:27 -05:00
Benedikt RipsandAustin Horstman af03309c12 ssh-tpm-agent: add maintainer bmrips 2025-08-18 21:16:27 -05:00
Benedikt RipsandAustin Horstman ec369a58f9 ssh-agent: add maintainer bmrips 2025-08-18 21:16:27 -05:00
Benedikt M. RipsandGitHub 11626a4383 keepassxc: note the manifest installation conflict (#7675) 2025-08-14 22:46:10 -05:00
Benedikt M. RipsandGitHub d9a57c597c davmail: enable access to the display server (#7671)
Without this access, davmail can not display its token request dialogue.
2025-08-13 15:52:17 -05:00
Benedikt RipsandAustin Horstman 67393957c2 less: configure LESS options 2025-08-11 10:01:10 -05:00
Benedikt RipsandAustin Horstman dfcea0573d less: rename keys to config 2025-08-11 10:01:10 -05:00
Benedikt RipsandAustin Horstman 9a132f2971 less: generate lesskey only when non-empty 2025-08-11 10:01:10 -05:00
Benedikt RipsandAustin Horstman 6275d1fc57 accounts.email: add 'davmail' flavor 2025-08-07 08:30:18 -05:00
Benedikt RipsandAustin Horstman 5ab62b61fb accounts.email: add authentication mechanism 2025-08-07 08:30:18 -05:00
Benedikt RipsandAustin Horstman 62fdc8d410 keepassxc: add autostart option 2025-08-06 19:08:16 -05:00
Benedikt RipsandAustin Horstman cb8cfa0eb9 keepassxc: add maintainer bmrips 2025-08-06 19:08:16 -05:00
Benedikt RipsandAustin Horstman 2a29968912 git-credential-keepassxc: init module 2025-08-06 12:39:55 -05:00
Benedikt RipsandAustin Horstman 88913c98fe goto: init module 2025-08-06 10:57:16 -05:00
Benedikt RipsandAustin Horstman 74b4edc2d2 fontconfig: add options for font rendering 2025-08-05 14:05:43 -05:00
Benedikt RipsandAustin Horstman 672381a34e fontconfig: add maintainer bmrips 2025-08-05 14:05:43 -05:00
Benedikt M. RipsandGitHub 6d1fddb13b gcc: init module (#7614) 2025-08-05 14:04:47 -05:00
Benedikt M. RipsandGitHub 0cda19d420 grep: init module (#7613) 2025-08-05 14:04:24 -05:00
Benedikt M. RipsandGitHub 36ad7d25fb zsh: option to define autoloadable site-functions (#7611)
Add an option to the Zsh module that allows defining autoloadable site functions.
2025-08-05 14:03:10 -05:00
Benedikt M. RipsandGitHub 6f974faa19 gh: add hosts option (#6925)
Add a programs.gh.hosts option that -- similar to programs.gh.settings -- gives structured access to $XDG_CONFIG_HOME/gh/hosts.yml.
2025-04-28 10:12:47 -05:00
Benedikt M. RipsandGitHub c9433ae62f keepassxc: register as native messaging host (#6879)
Register KeepassXC as a native messaging host in supported browsers to integrate with KeepassXC's browser extension.  See https://discourse.nixos.org/t/keepassxc-browser-extension-integration/39553 for more information.
2025-04-22 11:42:04 -05:00
Benedikt M. RipsandGitHub cf0c5e0105 xdg-autostart: fix runCommandNoCCLocal deprecation (#6880) 2025-04-22 09:05:27 -05:00
Benedikt M. RipsandGitHub 57e9a8a290 davmail: init module (#6674) 2025-03-23 09:01:35 -05:00