1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-24 18:00:58 +01:00
Commit graph

3464 commits

Author SHA1 Message Date
Marien Zwart
361ab4484e home-environment: add home.extraDependencies
This should have the same effect `system.extraDependencies` has in
nixpkgs: adds paths to the runtime closure without installing them
anywhere.

This is useful for preventing garbage collection of packages that are
expensive to rebuild. For example:

- nixpkgs itself suggests using this for `factorio.src`, which requires
  a token to fetch.
- we can use it to address #6157: avoid needlessly rebuilding
  completions for packages that do not have any.

The implementation mirrors nixpkgs: add a file containing the store
paths we want to keep around to the home-manager-generation derivation.
2025-05-02 11:11:28 +02:00
pancho horrillo
81431b6d6f
gpg-agent: fix typo (#6950)
See 46e634be05/pkgs/by-name/wa/wayprompt/package.nix (L60)
2025-05-01 15:11:25 -05:00
Jess
5f217e5a31 restic: change service type from simple to oneshot
Fixes #6930
2025-04-30 14:19:59 -05:00
June Stepp
272eb00d13
fcitx5: ensure config doesn't get overwritten (#6940)
fcitx5 overwrites config files unless the entire folder is readonly. With this PR, a single fcitx5 symlink is made instead of multiple fcitx5/* ones. The link is only created when relevant options are set.
2025-04-30 14:19:29 -05:00
nakoo
c9c2c1a14e
kime: fix systemd service (#6911) 2025-04-30 14:18:20 -05:00
Bryn Edwards
ca39b34829
carapace: fix nushell PATH env var (#6936)
`carapace _carapace nushell` adds `/homeless-shelter/.config/carapace/bin`
to PATH, this changes it to ` $HOME/.config/carapace/bin`. Other shells
don't have this problem as they run the command and source on startup
whereas Nix writes the command output to a file as part of the build.
2025-04-29 23:15:32 -05:00
Austin Horstman
9389f373be
pls: enableAliases -> enableShellIntegration (#6932)
Allow granular control of alias creation utilizing our shell integration
options.
2025-04-29 20:37:20 -05:00
Austin Horstman
a4c3ce44fc gpg-agent: pinentryPackage -> pinentry.package and add pinentry.program`
Alternative option for allowing a user to automatically configure what
binary to use from a `pinentry` package. Previously, we always used
`meta.mainProgram` but, there are packages that provide multiple
binaries and this would allow flexibility for a user to override the
default program used.
2025-04-29 20:36:45 -05:00
octvs
1ad1232399
rclone: make secret injection non-interactive (#6919)
Pass `--non-interactive` flag to `rclone config update` calls so that an
incomplete config is not used, resulting in failure on some remotes,
for example gdrive.
2025-04-28 21:38:55 -05:00
awwpotato
c803a38927
nh: add path option for flake (#6898) 2025-04-28 21:27:29 -05:00
zowoq
4d2baba75e
espanso: fix alias in news (#6931) 2025-04-28 21:20:13 -05:00
Aguirre Matteo
d0d9d0a145
mpvpaper: add module (#6926)
Provides a module for configuring mpvpaper a video wallpaper program for wlroots based wayland compositors. It provides options for setting the 'pauselist' and 'stoplist'.
2025-04-28 11:49:19 -05:00
Thiago Kenji Okada
c54a8ab0d2
rofi: remove thiagokokada from maintainers (#6928)
I am not using `rofi` nowadays and people keep pinging me about issues in this module.
2025-04-28 10:13:12 -05:00
Benedikt M. Rips
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
Aguirre Matteo
69c60b035e
kickoff: add module (#6918) 2025-04-28 09:47:38 -05:00
Austin Horstman
be7cf1709b lsd: add package option 2025-04-27 22:15:34 -05:00
Austin Horstman
77f849c114 lsd: refactor module 2025-04-27 22:15:34 -05:00
Austin Horstman
cf351071fb lsd: enableAliases -> enableShellIntegration
Allow granular control of alias creation utilizing our shell integration
options.
2025-04-27 22:15:34 -05:00
Austin Horstman
9c46dc881c
mkFirefoxModule: support wrapped darwin derivations (#6913)
Wrapped firefox support was added for Darwin. We can now pass the extra parameters to wrap firefox on Darwin.
2025-04-27 20:15:17 -05:00
Austin Horstman
edaeeda264 eza: default disable nushell integration again
Reverting default behavior for this module again since the nushell
integration causes a breaking behavior with the `ls` alias.
2025-04-27 14:30:15 -05:00
Gugu72
2a264c17d5
zsh: add type to zprof.enable option (#6916) 2025-04-27 14:29:57 -05:00
Patrick Stevens
adb3fbc584
neomutt: use correct neomutt in config file (#6915) 2025-04-27 14:27:52 -05:00
phanirithvij
0fbd8207e9 news: forward args to file news entries
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
2025-04-27 11:36:10 -05:00
phanirithvij
29fce40e13 espanso: add crossplatform support
Co-authored-by: Austin Horstman <khaneliman12@gmail.com>
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
2025-04-27 11:36:10 -05:00
phanirithvij
1d2f0b3d4b espanso: add phanirithvij as maintainer
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
2025-04-27 11:36:10 -05:00
Aguirre Matteo
50bb714a82
rmpc: add module (#6910) 2025-04-27 09:32:40 -05:00
Aguirre Matteo
2f5819a962
onedrive: add module (#6907) 2025-04-26 16:40:10 -05:00
Coolio
4d2d322317
thefuck: Add alias option (#6909)
Added an alias option supported by bash, zsh, fish, and nushell integration
2025-04-25 19:39:49 -05:00
B1kku
542078066b
wezterm: don't create config if extraConfig is empty, and don't create one by default (#6908)
Tests updated to check the file wasn't created when no config is
provided.
2025-04-25 10:11:18 -05:00
K900
abfad3d295 treewide: substituteAll -> replaceVars/substitute
substituteAll is now officially deprecated.
2025-04-24 13:40:11 +02:00
awwpotato
d31710fb2c
fcitx5: fix iniFormat usage (#6899) 2025-04-23 15:10:12 -05:00
awwpotato
6d1f834ca6
fcitx5: add upstream options (#6892) 2025-04-23 11:51:43 -05:00
Austin Horstman
b7527e2daf
vesktop: only generate settings when configured (#6897)
Prevent generating empty settings files that prevent using the
application's writable settings files.
2025-04-23 10:21:41 -05:00
awwpotato
ff6adf83b9
input-method: fix enable condition (#6896) 2025-04-23 10:11:31 -05:00
awwpotato
1d0e13904b i18n.inputMethod: add awwpotato as maintainer 2025-04-22 20:48:01 -07:00
awwpotato
585bae4bbb i18n.inputMethod: align enable option with nixos
see: https://github.com/NixOS/nixpkgs/pull/310708
2025-04-22 20:48:01 -07:00
awwpotato
7ef3137035
vesktop: fix config path on darwin (#6889) 2025-04-22 22:41:31 -05:00
awwpotato
68bc080cdf
fcitx5: refactor logic (#6886)
* fcitx5: use mapAttrsToList instead of mapAttrs + attrValues

* fcitx5: refactor xdg dataFile logic
2025-04-22 21:20:08 -05:00
Austin Horstman
f1aabf1deb
zsh: deprecate initLocation options in favor of initContent (#6841)
https://github.com/nix-community/home-manager/pull/6479 introduced a
more comprehensive option that allows fine tuning location of zsh
config. Encourage using that over the predetermined locations.
2025-04-22 20:45:44 -05:00
Austin Horstman
c42f04c83f
mkFirefoxModule: revert userChrome changes (#6887)
Reverting all the recent userChrome changes because of too many issues
and bikeshedding.
2025-04-22 20:44:48 -05:00
Flameopathic
6899001a76
fcitx5: add themes and classicUiConfig options (#6876) 2025-04-22 14:30:45 -05:00
Benedikt M. Rips
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
zincentimeter
342b3e3e6d
msmtp: rename environment variables (#6839)
I've started seeing $HOME/log $HOME/.msmtp.queue.log populated after using
msmtp via neomutt. Although the latter is not, the former is a bit
annoying. Home-manager already tries to avoids this 1, so I was curious to why
this occured.

Interestingly this didn't happen until a month ago, so I've tried to git blame my way out of the problem both on my configuration and on upstream
home-manager however I didn't find a fitting change on the suspected dates.

Home-manager uses2 msmtpq script3 to send emails through which manages
also the queue of mails to be sent. As stated on upstream source of the script
4, it looks for MSMTPQ_Q and MSMTPQ_LOG variables to decide where to

https://git.marlam.de/gitweb/?p=msmtp.git;a=blob_plain;f=scripts/msmtpq/msmtpq;hb=HEAD
2025-04-22 17:22:16 +02:00
Benedikt M. Rips
cf0c5e0105
xdg-autostart: fix runCommandNoCCLocal deprecation (#6880) 2025-04-22 09:05:27 -05:00
Johan Eklund
ce8dc1f77a
xsettingsd: Remove erroneous lib. insertion (#6877) 2025-04-22 07:34:49 -05:00
Austin Horstman
81541ea36d
lorri: fix missing makeSearchPath (#6875) 2025-04-21 14:55:32 -07:00
Josh Heinrichs
42d90297b3
git: support maintenance on darwin (#6868) 2025-04-21 14:25:57 -07:00
awwpotato
22b326b42b
television: add module (#6866) 2025-04-21 12:26:20 -05:00
awwpotato
be4e5ec62c
nix-init: add module (#6864)
Co-authored-by: uncenter <47499684+uncenter@users.noreply.github.com>
2025-04-21 12:25:56 -05:00
awwpotato
08b85bd000
vesktop: add support for multiple themes (#6860) 2025-04-21 12:25:22 -05:00