1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00
Commit graph

5163 commits

Author SHA1 Message Date
Austin Horstman
cfe397c8c0 arrpc: assert linux
Only has systemd support, so don't let darwin users think they are
enabling something.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-29 10:31:11 -05:00
Austin Horstman
0f9fae161d tests/arrpc: add service module test coverage
- Add custom-target.nix test for custom systemd target configuration

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-29 10:31:11 -05:00
Austin Horstman
1ed730a977 ci: manage reviewers doesn't re-add manually removed reviewers
We dont want to try re-adding people that get removed manually.
Otherwise you start fighting CI.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-29 10:21:56 -05:00
Austin Horstman
2c8306e506 ci: manage reviewers add dry run option
Accidentally affected a real PR testing a change, add dry run to prevent
it.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-29 10:21:56 -05:00
awwpotato
50adf8fcaa
PR_TEMPLATE: remove maintainer cc section (#7569)
now that maintainers automatically get review requested this seems unnecessary.
2025-07-28 23:03:47 -05:00
Austin Horstman
f49e872f55 zsh: lib better docstrings
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-28 14:47:42 -05:00
Austin Horstman
a1b7e7f510 tests/antidote: remove deprecated relative path usage
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-28 14:47:42 -05:00
Austin Horstman
471eeaa975 zsh: add khaneliman maintainer
Been active in it and use it a lot.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-28 14:47:42 -05:00
Austin Horstman
08f162350c news: add news entry for zsh path refactor
Give a news entry about change for path handling work done in
https://github.com/nix-community/home-manager/pull/6089.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-28 14:47:42 -05:00
Austin Horstman
e52c6c3da3 zsh: env var assertion for dotdir
Needs to be known at build time. Ensure user doesn't accidentally use
env var in `dotDir`

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-28 14:47:42 -05:00
Austin Horstman
40af7ba06b zsh: relative path deprecation warning
Warn users when they configure a relative path. We want to encourage
using absolute paths and env variables.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-28 14:47:42 -05:00
Austin Horstman
9ff467fbe7 tests/zsh: add more path test cases
Test the new lib file path function

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-28 14:47:42 -05:00
Austin Horstman
938ecd797f zsh: fix lib function for env var path parsing
Allow env variables to be used and avoid mangling path.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-28 14:47:42 -05:00
home-manager-ci[bot]
20cf285e9f
maintainers: update all-maintainers.nix (#7558)
Automated update of the master maintainers list combining:
- Home Manager specific maintainers from modules/lib/maintainers.nix
- Nixpkgs maintainers referenced in Home Manager modules

**Added:** 1 maintainers
**Removed:** 0 maintainers
**Total:** 263 → 264 maintainers

** Added:** nukdokplex

Generated by: lib/python/generate-all-maintainers.py

Co-authored-by: home-manager-ci[bot] <214323736+home-manager-ci[bot]@users.noreply.github.com>
2025-07-28 08:26:25 -05:00
Nalon
a7b7c6f520
docs: add upgrade guide for NixOS version transitions
- Add comprehensive documentation for upgrading Home Manager channels.

- Cover channel-based, flake-based, and NixOS module methods.

- Include troubleshooting section and state version updates.

- Update examples for NixOS 25.05 compatibility.
2025-07-28 11:04:16 +02:00
Robert Helgesson
3156a1c419
docs: minor manual style fix
- Make sure the warning and note boxes are tall enough to fit the
  icon.

- Add styling of the h4 element.
2025-07-28 11:04:16 +02:00
Austin Horstman
e4b032ba51 ci: re-enable home manager install and uninstall tests on darwin
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-27 23:02:18 -05:00
Austin Horstman
a07400a2e5 ci: don't duplicate test runs on github
We have moved towards running more tests on buildbot for better
performance. Don't duplicate efforts on github actions.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-27 23:02:18 -05:00
Austin Horstman
800f16a9c5 tests: forward only test chunks to buildbot
We currently only need the tests covered by test-chunks in CI. We will
migrate more tests into the buildbot CI, as we are able to flesh them
out more.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-27 23:02:18 -05:00
Austin Horstman
7a02711a61 tests: integration tests only run on linux
Using dependencies that require linux.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-27 23:02:18 -05:00
Austin Horstman
9fa2ad30c5 buildbot-nix.toml: add file
Support testing on buildbot CI

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-27 23:02:18 -05:00
Austin Horstman
234f10ec6d tests/flake: add buildbot output
Filters tests to specific platforms for buildbot.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-27 23:02:18 -05:00
Austin Horstman
e45ff5651c ci: split tests into chunks
We have lots of tests and would like to add more. However, adding more
testing coverage comes at the cost of a slower CI when we run them
sequentially. This adds test outputs that are chunked however we'd like
to tune for batch sizes. Allowing us to create a parallelized CI
workflow.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-27 23:02:18 -05:00
Austin Horstman
72cc1e3134 tests/hyprlock: update tests with upstream changes
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-27 07:03:54 -05:00
Austin Horstman
0daef6fbe0 hyprlock: update example config
Some breaking changes from upstream

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-27 07:03:54 -05:00
Seth Flynn
e88671567b
zsh: only apply plugins when zsh is enabled (#7555) 2025-07-27 07:03:09 -05:00
Robert Helgesson
710771af3d
docs: add a poison module
The poison module is intended to catch cases where the documentation
depends on the user's configuration. We want to keep such dependencies
to a minimum as it increases the risk of documentation rebuilds and
confusion caused by documentation being different depending on the
source.
2025-07-27 07:52:42 +02:00
Robert Helgesson
6ce4338185
nixos: increase laziness regarding shared modules 2025-07-27 07:21:15 +02:00
Robert Helgesson
ed1eeeeee6
xdg-terminal-exec: make sure the module is imported 2025-07-27 07:02:11 +02:00
Robert Helgesson
42924f0eff
xdg-terminal-exec: minor cleanup of option description 2025-07-27 07:02:11 +02:00
Robert Helgesson
63dd0e9409
opencode: minor cleanup of option description 2025-07-27 07:02:11 +02:00
Austin Horstman
2b73c2fcca
treewide: remove config dependency on docs (#7547)
Tested with rebased
https://github.com/nix-community/home-manager/pull/6411 so I could find
all instances of config usage in docs.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
Co-authored-by: Robert Helgesson <robert@rycee.net>
2025-07-26 17:11:53 -05:00
Austin Horstman
37fec70bd5
ci: extract maintainers with single file eval (#7548)
Currently, we send all files as a list but it can be problematic with
files that can't be evaluated properly. Instead of crashing the entire
extraction process, we will send a file at a time for eval so we can
just bypass files causing issues.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-26 13:26:14 -05:00
Friedrich Altheide
a1817d1c0e yarn: improve docs 2025-07-25 14:03:11 -05:00
Friedrich Altheide
26e33ea5c0 docker-cli: Improve docs, fix enviornment variable 2025-07-25 14:03:11 -05:00
Kristopher James Kent (kjkent)
9fca491587 zsh: improve histfile handling
Previously, a stateVersion check for 20.03 determined whether or not the input to
`programs.zsh.history.path` would be prepended with `$HOME`. However, this was not
communicated in the documentation, which stated the version check determined whether
the default histfile location would be in `programs.zsh.dotDir` or
`home.homeDirectory`.

The current change simplifies matters and brings path handling in-line with that of
the preceding work on dotDir path handling. If a relative path is provided, it is
parsed as being relative to `home.homeDirectory`. Both absolute and relative paths
are supported, and are cleaned before being passed to other functions.

Tests have been rewritten for the new logic, with case handling for reusability.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-25 13:15:29 -05:00
Kristopher James Kent (kjkent)
21399deff2 zsh: improve dotDir handling
Previously, `config.programs.zsh.dotDir` prepended strings with `$HOME`.
This caused issues like nix-community#5100, where `$HOME` is
inconsistently resolved in time for the evaluation of the option. The handling
of this variable is also inconsistent with how paths are handled elsewhere,
including within the same module, where `config.programs.zsh.history.path`
does not mutate the supplied string.

To preserve backwards compatibility, this change prepends
`config.home.homeDirectory` to relative paths, while assigning absolute paths
unchanged. Tests for both cases are added.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-25 13:15:29 -05:00
Weblate (bot)
ef8a9767fc
Translate using Weblate (Spanish) (#7543)
Currently translated at 100.0% (17 of 17 strings)

Translate using Weblate (Spanish)

Currently translated at 100.0% (39 of 39 strings)


Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/es/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/es/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules

Co-authored-by: Harrizon Soler <harryalex0281@hotmail.com>
2025-07-25 13:10:08 -05:00
William Brockhus
c77de65ece
command-not-found: sync with nixpkgs (#7499)
updates command-not-found.pl and adds fish compatibility
2025-07-25 13:09:58 -05:00
fabiancholewinski1234
308b8570ec
home-environment: add home.checks (#7407)
This should have the same effect `system.checks` has in nixpkgs:
adds paths to the build closure without being becoming part of the
generated configuration.

This is useful for built-time checks as these should not leave a
trace in the built home configuration.

The implementation mirrors nixpkgs: add an unused argument to the
home-manager-generation derivation.
2025-07-25 13:01:12 -05:00
Viktor Titov
70c79ca6f4
xdg-terminal-exec: init (#7527)
port xdg.terminal-exec from nixos to hm
2025-07-25 12:54:38 -05:00
Weblate (bot)
80515f553d
Translate using Weblate (Spanish) (#7539)
Currently translated at 100.0% (17 of 17 strings)

Translate using Weblate (Spanish)

Currently translated at 100.0% (39 of 39 strings)


Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/es/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/es/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules

Co-authored-by: Harrizon Soler <harryalex0281@hotmail.com>
2025-07-25 12:44:26 -05:00
Joseph Daly
060824a69b
mpd: fix typo (#7541) 2025-07-25 12:44:09 -05:00
Aguirre Matteo
a35f6b6043
trippy: add forceUserConfig option (#7536) 2025-07-24 15:01:14 -05:00
Thierry Delafontaine
64796151f7 opencode: add JSON schema reference to config.json output
- Automatically include "$schema": "https://opencode.ai/config.json" in the generated
  opencode config.json file
- Update documentation to mention the added schema property
- Add corresponding "$schema" entry in test config.json file for validation purposes

Closes #7506
2025-07-24 11:05:45 -05:00
Thierry Delafontaine
1df662dde0 opencode: add empty-settings test
- Add `empty-settings` test to ensure the config file is not generated
  when no settings are provided
2025-07-24 11:05:45 -05:00
Thierry Delafontaine
08edcbe9df opencode: add support for global custom instructions via rules option
- Introduce `rules` option to provide global custom instructions for opencode
- Write `rules` content to `~/.config/opencode/AGENTS.md` if non-empty
- Update tests to cover presence and absence of `AGENTS.md` file with rules content
2025-07-24 11:05:45 -05:00
Nikolaos Karaolidis
0a98177bb8
maintainers: remove karaolidis keys (#7537)
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
2025-07-24 11:03:53 -05:00
Austin Horstman
e2fe7256c4
news: add misc news entries for recent modules (#7531)
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-24 09:04:33 -05:00
Aguirre Matteo
1fde6fb1be
yofi: add module (#7528) 2025-07-23 13:13:14 -05:00