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

3478 commits

Author SHA1 Message Date
Aguirre Matteo
64f7d5e6b9
wofi: allow path to style.css (#6966) 2025-05-03 19:11:10 -05:00
Aguirre Matteo
d1bbab6b04
mako: refactor (#6948)
Refactors the services.mako module to replace all its configuration options with a freeform settings option and criterias. I also added a test for the configuration.
2025-05-03 19:09:56 -05:00
Ihar Hrachyshka
75268f6252
tests: enable all firefox tests on darwin (plus derivations) (#6960) 2025-05-03 10:51:18 -05:00
Ihar Hrachyshka
929f8ee836
thunderbird: deprecate darwinSetupWarning option (#6531)
nixpkgs support thunderbird for darwin now
2025-05-03 10:40:34 -05:00
MithicSpirit
c0962eeeab
thunderbird: fix accounts being removed (#6959)
Even if no accounts were configured, it was defaulting to just account1,
which meant all other accounts were deleted every time thunderbird was
restarted. This fixes that by defaulting to the empty list (so it
remains unset in the user.js).
2025-05-02 22:32:45 -05:00
Aguirre Matteo
123297c57e
onagre: add module (#6958) 2025-05-02 22:09:45 -05:00
Dawid Ciężarkiewicz
1e8c62c651 gpg-agent: avoid console output when using ssh
Without `--quiet` gpg-connect-agent sometimes prints

```
gpg-connect-agent: connection to the agent is in restricted mode
```
2025-05-02 18:56:14 +02:00
Aguirre Matteo
d6b0c05457
visidata: add module (#6956) 2025-05-02 11:14:19 -05:00
Joaquín Triñanes
355a6b937d
nushell: throw instead of abort (#6870) 2025-05-02 08:45:16 -05:00
Jess
2eabb26d08
restic: allow the convenience script to source environmentFile (#6947) 2025-05-02 08:23:57 -05:00
Aguirre Matteo
f15be4feb6
clipcat: add module (#6946) 2025-05-02 08:22:35 -05:00
milanglacier
c5cad190ba
zsh: update doc to show how to add initContent at multiple location. (#6945) 2025-05-02 08:18:11 -05:00
Aguirre Matteo
669e813c75
element-desktop: add module (#6935) 2025-05-02 08:17:24 -05:00
Marien Zwart
f045bd46b7 fish: keep all fish-completions packages around
...even empty ones.

For packages in `home.packages` with no Fish completions, we build an
empty directory that is not included in our runtime closure (because we
build a collection of symlinks to their contents: if there are no
contents, there is nothing to symlink). This means these empty
completion packages get garbage-collected by Nix. They are not that
expensive to rebuild but there can be enough of them it adds up, and any
change to any package in `home.packages` is enough to trigger a rebuild.

Fix this by forcing a dependency on all of them. Since we already
depended on them anyway if they were non-empty, this only adds
dependencies on empty directories (so should not significantly affect
storage space).

Fixes #6157.
2025-05-02 11:11:28 +02:00
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