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

1718 commits

Author SHA1 Message Date
Thierry Delafontaine
c740351870 opencode: add mcp module integration 2025-11-03 20:25:16 -06:00
Thierry Delafontaine
083b20c1a0 mcp: init module 2025-11-03 20:25:16 -06:00
Pierre-Yves Landuré
1f34c2c855 zed-editor: options to generate debug.json
Add `mutableUserDebug` and `userDebug` options to generate `debug.json` file.
The options are heavily inspired by `mutableUserTasks` and `userTasks` options implementation.

Closes #8091
2025-11-03 20:24:19 -06:00
aldur
95d65dddae gpg: fix correctly setting trust for all keys
When passing `gpg.publicKeys` a `source` including _multiple_ keys,
only the first one in `source` will have `trust` set correctly.

This commit fixes the issue and adds a corresponding test
(failing without the patch, fixed with it).
2025-11-03 15:14:46 -06:00
Hoang Nguyen
9d6e28fd32 rio: add support for custom themes 2025-11-03 09:23:19 -06:00
Hoang Nguyen
e22fb25cde rio: use stub package for all test cases 2025-11-03 09:23:19 -06:00
bruce oberg
3c16ac3646 home manager: add test for option subcommand
- added a test to the standalone-basics unit:  the option subcommand queries the `home.username` value and ensures that something sane is returned.

details:

- the option subcommand was broken by upstream changes to the `nixos-option` command.
- hm had no tests for the option subcommand, so the problem was discovered by users.
- output from nixos-option probably starts with 'Value:\n  "alice"', but we're only looking for 'alice' because the output format is not guaranteed.
2025-11-03 09:12:22 -06:00
Benedikt Rips
2318e30ea1 tests: hostPlatform -> stdenv.hostPlatform 2025-11-03 07:59:03 -06:00
Benedikt Rips
b4350d54c2 tmpfiles: add option to purge rules' targets on change 2025-11-02 23:02:10 -06:00
Benedikt Rips
090aa14e5d tmpfiles: migrate to an RFC42-style option 2025-11-02 23:02:10 -06:00
Austin Horstman
32a671dce5 tests/gtk: ubuntu_font_family -> ubuntu-classic
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-11-02 22:59:59 -06:00
Austin Horstman
ab0d3db1aa tests/darkman: python -> python2
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-11-02 22:59:59 -06:00
Austin Horstman
acf7743c89 darwinScrublist: taskwarrior rename
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-11-02 22:59:59 -06:00
Austin Horstman
d9cd40d2da
local-ai: string -> str (#8116)
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-11-03 04:41:08 +00:00
Ilya Savitsky
61f2cc5908
local-ai: init module (#6718) 2025-11-02 22:04:44 -06:00
Alex Ionescu
50a5766d51
kitty: add option mouseBindings (#8111) 2025-11-02 21:55:45 -06:00
Matt Sturgeon
87044c5722 tests: explicitly define NIX_CONFIG
Ensure NIX_CONFIG is correctly configured for the tests command.

It is possible that someone may enable experimental features on an
ad-hoc basis, e.g. via the `--extra-experimental-features` CLI flag.
In this scenario, the tests script cannot assume they are already
enabled.

In the future, we may also wish to configure other things, like extra
binary substitutors.
2025-11-01 14:29:06 -05:00
Matt Sturgeon
7248450206 tests: add fzf dependency to package
The tests script depends on fzf when asking which test to run.
Explicitly make it available via `runtimeInputs`.
2025-11-01 14:29:06 -05:00
Matt Sturgeon
9278414dcc tests: switch package to writeShellApplication 2025-11-01 14:29:06 -05:00
Matt Sturgeon
5fb2203af7 tests: move package to its own file
Extract the `tests` package from `flake.nix`  into its own file
`tests/package.nix`.

This a) de-couples it from the flake (to a degree) and b) allows more
neatly using the callPackage pattern.
2025-11-01 14:29:06 -05:00
Malik
b8082c6803 khal: fix trailing slash bug for singlefile calendars
Fix the trailing slash bug described in issue #8024 by conditionally adding a slash only for filesystem type, not for singlefile. Also update the expected test output to match the correct order.
2025-10-29 16:14:04 +01:00
Malik
58d90d298d tests: khal: add testcase
for singlefile
2025-10-29 16:14:04 +01:00
Benedikt Rips
05c7c900f1 fontconfig: fix cache existence tests 2025-10-28 08:55:38 -05:00
Hoang Nguyen
aa888ffc10 kraftkit: new module 2025-10-27 09:13:26 -05:00
Thierry Delafontaine
0a3fb53ee2 delta: add jujutsu integration option 2025-10-27 09:11:41 -05:00
Benedikt M. Rips
bbaeb9f1c2
glab: init module (#8066) 2025-10-26 20:59:05 -05:00
Aguirre Matteo
5e3b79ac84 zapzap: add module 2025-10-26 20:58:30 -05:00
Sami Haahtinen
255b6a0ef2
home-manager-auto-upgrade: add flake support (#8053)
Adds the ability for the auto-upgrade service to update a Nix flake
instead of Nix channels.

This is controlled by a new `useFlake` boolean option. When enabled, the
service will run `nix flake update` in the directory specified by the
`flakeDir` option.

`flakeDir` defaults to the standard Home Manager configuration directory
(`~/.config/home-manager`), making this feature work out-of-the-box for
most users. The path is passed to the upgrade script via an environment
variable in the systemd service unit.
2025-10-26 16:21:41 -05:00
Benedikt M. Rips
f2f1076c1f
treewide: remove no-ops (#8061) 2025-10-26 15:43:53 -05:00
Lorenz Leutgeb
2aaf924e82
radicle: init (#5409)
Co-authored-by: Matthias Beyer <mail@beyermatthias.de>
Co-authored-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-26 15:34:09 -05:00
musjj
5c54b182ab zed-editor: option to generate immutable settings 2025-10-25 21:30:50 -05:00
Dixon Sean Low Yan Feng
b652e703f1 picom: add test for extraConfig 2025-10-25 21:15:52 -05:00
PerchunPak
aa559a682b delta: add test where git integration is disabled 2025-10-21 10:37:08 -05:00
Dietrich Daroch
84e1adb0cd zellij: Allow using extraConfig without settings
Fixes https://github.com/nix-community/home-manager/issues/8015
2025-10-20 19:04:33 -05:00
Anton Mosich
2b0a46285b tests/pimsync: init 2025-10-20 17:10:44 +02:00
Anton Mosich
89a9fa0f3f generators: rewrite toSCFG
The former toSCFG implementation had several shortcomings which
did not consider a few possibilities SCFG provides. Details were lined
out in #7465.
The new interface needs more verbosity, but reflects better the
properties of the SCFG format. I also chose to use the names used in the
[Specification].

[Specification]: https://git.sr.ht/~emersion/scfg#specification-draft
2025-10-20 17:10:44 +02:00
Bruno BELANYI
c9d758b500 tests/delta: add 'delta-final-package'
This tests the usage of the wrapper program when `programs.git` is
disabled, and therefore home-manager is _not_ generating its
configuration.
2025-10-20 09:13:03 -05:00
Austin Horstman
aeabc1ac63 tests/git: add settigs deprecation test
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-19 10:24:15 -05:00
Austin Horstman
a709427248 git: aliases / user options -> settings
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-19 10:24:15 -05:00
Austin Horstman
ac7c05a90c git: extraConfig -> settings
Remove string support and convert to rfc42 settings option

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-19 10:24:15 -05:00
Austin Horstman
85cd07b8b0 diff-so-fancy: use freeform settings option
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-19 10:24:15 -05:00
Austin Horstman
7522ba8a0c tests/riff: add
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-19 10:24:15 -05:00
Austin Horstman
41fd9b197c tests/patdiff: add
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-19 10:24:15 -05:00
Austin Horstman
c80be80282 patdiff: new module
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-19 10:24:15 -05:00
Austin Horstman
4fef8e73a6 tests/git: add git-lfs test
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-19 10:24:15 -05:00
Austin Horstman
4166d4e163 tests/difftastic: add
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-19 10:24:15 -05:00
Austin Horstman
111329b475 difftastic: new module
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-19 10:24:15 -05:00
Austin Horstman
16cd8abad6 tests/diff-so-fancy: add
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-19 10:24:15 -05:00
Austin Horstman
486487b5e9 tests/diff-highlight: add
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-19 10:24:15 -05:00
Austin Horstman
2c8b962091 tests/delta: add tests
Create a new set of tests to verify the new module's behavior.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-19 10:24:15 -05:00