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

5739 commits

Author SHA1 Message Date
Leon Schwarzäugl
c39c07bf31 opkssh: init module 2025-11-04 08:34:45 -06:00
Austin Horstman
aa6936bb63 tests/yazi: fix bash/zsh integration tests
Didn't fail even with incorrect assertion. Multi line string for
assertFileContains didn't properly work. Don't want to manage an entire
zsh config file in assertFileContent so just multi step asserting the
generated file.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-11-03 21:54:12 -06:00
meck
65bf99c579 yazi: update wrappers not to use cat in subshell
If cat is aliased to bat the non piping operation
in the script might include extra text, use builtins
instead
2025-11-03 21:54:12 -06:00
Austin Horstman
6feb368511 news: add vicinae entry
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-11-03 21:18:48 -06:00
leiserfg
5cdf9ef995 vicinae service: init
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-11-03 21:18:48 -06:00
Thierry Delafontaine
1342b821db news: add entry for mcp module and integrations
Add news entry documenting the new `programs.mcp` module and MCP
integration support in OpenCode and VSCode modules.
2025-11-03 20:25:16 -06:00
Thierry Delafontaine
9ff9a94fd4 vscode: add mcp module integration 2025-11-03 20:25:16 -06:00
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
a5fee07792 rio: reformat 2025-11-03 09:23:19 -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
bruce oberg
64c49b1aa5 home-manager: fix option subcommand
- calls nix-instatiate instead of nixos-option (using nix-option's underlying nix script).
- loops over options to display since nixos-option can only process a single option.
- passes through the --recursive flag from nixos-option. and includes --help and man page for the flag.

details:

nixos-option was changed from a C++ command to a shell script that feeds a nix script (with arguments) to nix-instatiate. in the process, the --config_expr and --options_expr we once passed to nixos-option were removed.

without changing the nixos-option shell script, we have no may to override the arguments to the nixos-option nix script.

luckily, we can use our modulesExpr as a direct argument to the new nixos-option nix script.

unluckily, the nix script does not accept multiple options per instantiation. so we are also looping through the given options ourselves and feeding them each to nixos-option's nix script.

the nixos-option shell and nix scripts are in different places in the nix store, so we have to search the store for the nix script given the location of the shell script.

also, the nixos-option nix script wants a 'recursive' flag, so we now honor that flag for the home-manager option subcommand.
2025-11-03 09:12:22 -06:00
Benedikt Rips
c93684cd87 tmpfiles: use correct path in the onChange hook 2025-11-03 08:52:18 -06:00
Benedikt Rips
8c824254b1 glab: coerce glab tmpfile rule argument to string 2025-11-03 07:59:26 -06:00
Benedikt Rips
2318e30ea1 tests: hostPlatform -> stdenv.hostPlatform 2025-11-03 07:59:03 -06:00
Benedikt Rips
b5ed4afc22 glab: remove the config file if it is empty or glab disabled 2025-11-02 23:02:10 -06:00
Benedikt Rips
7503ffb0b0 tmpfiles: add maintainer bmrips 2025-11-02 23:02:10 -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
9901bb6afc taskwarrior-sync: taskwarrior -> taskwarrior2
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-11-02 22:59:59 -06:00
Austin Horstman
9f3a82bfd1 taskwarrior: taskwarrior -> taskwarrior2
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
home-manager-ci[bot]
983cbdc75c flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/6a08e6bb4e46ff7fcbb53d409b253f6bad8a28ce?narHash=sha256-Q/uhWNvd7V7k1H1ZPMy/vkx3F8C13ZcdrKjO7Jv7v0c%3D' (2025-10-25)
  → 'github:NixOS/nixpkgs/2fb006b87f04c4d3bdf08cfdbc7fab9c13d94a15?narHash=sha256-kJ8lIZsiPOmbkJypG%2BB5sReDXSD1KGu2VEPNqhRa/ew%3D' (2025-10-31)
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
Raul Rodrigues de Oliveira
0fe68257a9
fish: added repaint to binds (#8113) 2025-11-02 21:53:28 -06:00
Robert Radestock
371608e69c
rclone: add option to set log-level (#8105)
Add an option to set rclone's log-level per mount:
programs.rclone.remotes.<name>.mounts.<name>.logLevel = "DEBUG";
If no value is set, it'll use rclone's implicit default ("NOTICE")

Previously, the debug log-level got enforced (via "-vv"),
which caused noisy logs, and there was no easy way to change that.

Note: rclone global-flags can't be configured in the config file,
so this uses the environment variable approach.

references:
- https://rclone.org/docs/#logging
- https://rclone.org/docs/#v-vv-verbose

If no value is given, use the implicit default of rclone instead of redefining it through the options
2025-11-02 21:52:56 -06:00
Yechiel Worenklein
43e205606a cbatticon: add package example
After batticonplus was merged into nixpkgs
2025-11-02 06:44:15 -06:00
pancho horrillo
5eaa0072ff gpg-agent: restore empty newlines after commands 2025-11-02 05:52:54 -06:00
pancho horrillo
363797f8a9 gpg-agent: fix syntax-breaking extraneous new line 2025-11-02 05:52:54 -06:00
jaredmontoya
c0016dd147 ssh-agent: add shell integrations
replaces `home.sessionVariablesExtra`
2025-11-01 18:56:56 -05:00
jaredmontoya
3557df69ee gpg-agent: refactor 2025-11-01 18:56:08 -05:00
Bruno Bigras
c537cb21e3 radicle: pkgs.hostPlatform -> pkgs.stdenv.hostPlatform 2025-11-01 18:55:02 -05:00
jaredmontoya
ae22fa930e lazygit: fix nushell and fish integrations 2025-11-01 18:54:42 -05: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
Christoph Hollizeck
4ac96eb21c
easyeffects: use new typecheck (#8090) 2025-10-30 21:39:41 -05:00
Austin Horstman
97e3022a8d news: add backupCommand entry
Introduced in https://github.com/nix-community/home-manager/pull/7153

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-30 12:33:41 -05:00
Christina O'Donnell
ce76393bb7
home-manager: add support for custom backup command (#6424) (#7153)
This adds a new backupCommand option to allow users to specify a
custom command to run on existing files during activation, as an
alternative to the existing backupFileExtension mechanism.

Adds backupCommand option to NixOS and nix-darwin modules.

Exports HOME_MANAGER_BACKUP_COMMAND environment variable when set.

Updates file activation logic to use the custom backup command if
provided, falling back to the existing backup extension logic.

Updates collision checking and user-facing instructions to
mention the new option.

This enables advanced backup workflows, such as moving files to
trash or archiving with custom tools, before managing them with
Home Manager.
2025-10-30 12:26:13 -05:00
Benedikt Rips
c6d4cb31d7 home-manager: define a central package 2025-10-30 08:20:54 -05:00
andre4ik3
124b99dbd1 aerospace: don't use ifd 2025-10-29 15:47:12 -05:00