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

5679 commits

Author SHA1 Message Date
Aguirre Matteo
9070d7d32b news: add am2rlauncher entry 2025-10-05 14:01:08 -05:00
Aguirre Matteo
87570dbc43 am2rlauncher: add module 2025-10-05 14:01:08 -05:00
Aguirre Matteo
8b62404497 news: add amber entry 2025-10-05 14:00:51 -05:00
Aguirre Matteo
2b64e332a0 amber: add module 2025-10-05 14:00:51 -05:00
andre4ik3
5f06ceafc6
vscode: also test unknown package if IFD is enabled 2025-10-04 12:18:56 +02:00
Ross Brunton
03f83f513d
vscode: get paths from product.json
The VSCode packages contain a product.json which is used to determine
the extension and config dirs. When the package name is not known,
this change parses this file (using IFD) (which may appear in a few
places) and uses that to generate the paths.

This hopefully allows more VSCode derivatives to "just work" without
Home Manager updates.

Co-authored-by: andre4ik3 <andre4ik3@fastmail.com>
2025-10-04 12:18:50 +02:00
Jairo Llopis
817ace497b lorri: make notifications service auto-start if enabled
Without this fix, the notifications service would need to start by hand
every time.

@moduon MT-1075
2025-10-03 23:01:12 -05:00
Enrico Stemmer
66e9a024b9 hyprshell: fixed tests to use correct name for style file 2025-10-03 23:00:58 -05:00
Enrico Stemmer
bdf78c2d2c hyprshell: fixed path for style file 2025-10-03 23:00:58 -05:00
Aidan Gauland
edfbe06e1a treewide: remove aidalgol 2025-10-03 22:59:59 -05:00
Aguirre Matteo
edafd6da19 news: add aliae's configLocation option entry 2025-10-03 19:01:20 -05:00
Aguirre Matteo
2126d13d7f aliae: add configLocation option 2025-10-03 19:01:20 -05:00
S0AndS0
bd92e8ee4a asciinema: Add module to configure package
Enabling and defining minimal config file example;

```nix
{
  programs.asciinema = {
    enable = true;
    settings = {
      session.idle_time_limit = 2;
    };
  };
}
```

...  _Should_ result in output `~/.config/asciinema/config.toml` of;

```toml
[session]
idle_time_limit = 2
```

Co-authored-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-03 14:21:22 -05:00
Aguirre Matteo
dd2b0f7492 news: add alistral entry 2025-10-03 13:36:26 -05:00
Aguirre Matteo
6bbfe2d697 alistral: add module 2025-10-03 13:36:26 -05:00
saygo-png
004753ae6b home-manager: add backup overwrite option
When using the backupFileExtension option, if the backup file exists,
the activation process fails. This adds an option to instead overwrite
the old backup instead of failing.
2025-10-01 11:45:00 -05:00
x71c9
7500458e85 files: improve collision error message formatting for readability
Render each bullet as a single line at runtime while keeping ~80-column source formatting. Prevents truncation of the colliding path in service logs, reducing the need to inspect journal output.
2025-10-01 11:43:30 -05:00
Austin Horstman
a42e05d9b1 Revert "fish: support theme plugins"
This reverts commit 5a21f4819e.
2025-10-01 11:17:30 -05:00
Austin Horstman
5890176f85 ci: backport use ubuntu latest
Doesn't need to be fixed and can follow same runners we use elsewhere.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-01 10:13:36 -05:00
home-manager-ci[bot]
9d5b443cc8 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/e643668fd71b949c53f8626614b21ff71a07379d?narHash=sha256-NY3kSorgqE5LMm1LqNwGne3ZLMF2/ILgLpFr1fS4X3o%3D' (2025-09-24)
  → 'github:NixOS/nixpkgs/e9f00bd893984bc8ce46c895c3bf7cac95331127?narHash=sha256-0m27AKv6ka%2Bq270dw48KflE0LwQYrO7Fm4/2//KCVWg%3D' (2025-09-28)
2025-10-01 09:55:27 -05:00
Thiago Kenji Okada
6b1b122c1b tests: fix zsh-session-variables test 2025-10-01 09:50:11 -05:00
NovaViper
5a21f4819e fish: support theme plugins
Allows for linking fish plugin theme files to [fish's themes
folder](https://fishshell.com/docs/current/cmds/fish_config.html#theme-files).
Fully allowing for theme plugins to properly be installed declaratively.
Fixes nix-community/home-manager#3724
2025-09-30 14:48:53 -05:00
Aguirre Matteo
dcf52ade95 news: add aliae entry 2025-09-30 14:45:48 -05:00
Aguirre Matteo
10bcab77af aliae: add module 2025-09-30 14:45:48 -05:00
Aguirre Matteo
48e7d82187 news: add algia entry 2025-09-30 14:41:57 -05:00
Aguirre Matteo
a65df80783 algia: add module 2025-09-30 14:41:57 -05:00
Thiago Kenji Okada
9e0453a9b0 zsh: source session variable file directly
Right now we load `hm-session-vars.sh` from
`config.home.profileDirectory`, generally resulting in the following
code being generated in `zshenv`:

```
. "/etc/profiles/per-user/<username>/etc/profile.d/hm-session-vars.sh"
```

This is problematic in a few situations. For example, when entering a
`distrobox` environment I got the following error:

```
/home/<username>/.zshenv:.:2: no such file or directory: /etc/profiles/per-user/<username>/etc/profile.d/hm-session-vars.sh
```

Instead, let's point to the path directly to the `/nix/store` by using
`config.home.sessionVariablesPackage` instead. This is more robust and
it is more consistent with other things we source in ZSH.
2025-09-30 07:50:26 -05:00
home-manager-ci[bot]
12fa8548fe maintainers: update all-maintainers.nix
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:** 276 → 277 maintainers

** Added:** aionescu

Generated by: lib/python/generate-all-maintainers.py
2025-09-29 21:05:51 +02:00
Aguirre Matteo
619ae56929 news: add intelli-shell entry 2025-09-28 19:47:46 -05:00
Aguirre Matteo
580ff74a71 intelli-shell: add module 2025-09-28 19:47:46 -05:00
Aguirre Matteo
50375df1f7 git-worktree-switcher: use cfg.package 2025-09-28 19:40:56 -05:00
Austin Horstman
6ee8473173 tests: improve debugging for failed test runs
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-09-28 16:28:05 -05:00
Austin Horstman
e9114f96ef tests: rename test-all-* tests
Make the names more unique so it's easier to run the one you want from
cli.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-09-28 16:26:13 -05:00
Austin Horstman
a97df40c19 zsh: envVarsStr fix indentation
Use new indentation support to generate properly indented variables

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-09-28 14:44:14 -05:00
Austin Horstman
2b03dc82bb lib/zsh: revert escapeShellArg in toZshValue
Causes variables to be generated with single ticks breaking shell
expansion.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-09-28 14:44:14 -05:00
Austin Horstman
64a809b198 lib/zsh: exportAll add support for indentation
Allow indenting the output level

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-09-28 14:44:14 -05:00
fk29g
c75fd8e300
gurk-rs: remove references to deprecated 'data_path' option
The 'data_path' key was deprecated upstream a while ago.
See commit d9b538d0 (d9b538d0)
for details.
2025-09-28 09:08:41 +02:00
S0AndS0
1dbb3fd2f7
radio-active: add module to create config files
Configuration entry similar to;

```nix
programs.radio-active.enable = true;
```

By default `ffplay` is used for recording/playback, but that can be
changed by applying either of the following;

```nix
programs.radio-active.settings.AppConfig.player = "vlc";
programs.radio-active.settings.AppConfig.player = "mpv";
```

All other configuration options documented by;
https://github.com/deep5050/radio-active?tab=readme-ov-file#default-configs
maybe applied under the `AppConfig` attribute set.

Finally, the `aliases` attribute set allows for defining key/value pares
that will generate a `~/.radio-active-alias` of bookmarked stations, for
example something like;

```nix
programs.radio-active.aliases = {
  "Deep House Lounge" = "http://198.15.94.34:8006/stream";
};
```

... will result in;

```
Deep House Lounge==http://198.15.94.34:8006/stream
```

WARN: Darwin hosts may report issues about `pkgs.vlc`

Co-authored-by: Robert Helgesson <robert@rycee.net>
2025-09-28 08:58:42 +02:00
Austin Horstman
26ace005b7 tests/zsh: add comprehensive smart formatting test
Add test to verify intelligent width optimization of shell arrays.
The test demonstrates how formatShellArrayContent packs multiple items
per line
within reasonable width limits rather than one item per line.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-09-27 13:18:01 -05:00
Austin Horstman
3aaf340173 zsh: optimize setOptions with array-based loops
Replace individual setopt statements with array-based loops for cfg.setOptions.
Use lib.hm.zsh.define for consistent array formatting and add unset statements
to clean up temporary variables, improving consistency with other zsh optimizations.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-09-27 13:18:01 -05:00
Austin Horstman
04f672b5db zsh/history: optimize history options with array-based loops
Replace individual setopt/unsetopt statements for history options with efficient
array-based loops. Also optimize history substring search key bindings using
the same pattern. Use lib.hm.zsh.define for consistent array formatting and
add unset statements to clean up temporary variables.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-09-27 13:18:01 -05:00
Austin Horstman
c26a2ac2e4 zsh/plugins: optimize plugin loading with array-based loops
Replace individual plugin PATH/fpath statements and conditional sourcing with
efficient array-based loops. Use lib.hm.zsh.define for consistent array
formatting and add unset statements to clean up temporary variables.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-09-27 13:18:01 -05:00
Austin Horstman
bd81c11eb3 tests/darwinScrublist: add zsh-history-substring-search
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-09-27 13:18:01 -05:00
Austin Horstman
5176d93c0a lib/zsh: fix shell escaping and integrate formatShellArrayContent
Replace naive string quoting with lib.escapeShellArg for proper shell escaping
of special characters, spaces, and quotes. Integrate with new formatShellArrayContent
for intelligent multi-line array formatting in zsh array definitions.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-09-27 13:18:01 -05:00
Austin Horstman
a8dbb4e325 lib/shell: add formatShellArrayContent function for intelligent width optimization
Add shared utility function that formats shell arrays with smart width optimization.
Packs multiple items per line based on available width (~78 chars per line) while
maintaining readability. Includes helper functions wrapLines and formatMultiLine.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-09-27 13:18:01 -05:00
Karolis Labrencis
11cc3d55de macos-remap-keys: add NonUSBackslash keycode 2025-09-27 09:59:25 -05:00
Er1ckR1ck0
bc2afee55b Translate using Weblate (Russian)
Currently translated at 100.0% (17 of 17 strings)

Translate using Weblate (Russian)

Currently translated at 100.0% (39 of 39 strings)

Co-authored-by: Er1ckR1ck0 <eryckov37@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/ru/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/ru/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2025-09-26 18:21:00 -05:00
Aguirre Matteo
497e2bfa8a news: add aichat agents option entry 2025-09-26 14:53:41 -05:00
Aguirre Matteo
e3e15e765d aichat: add agents option 2025-09-26 14:53:41 -05:00
Aguirre Matteo
35329d44f3 news: add aider-chat entry 2025-09-26 14:52:49 -05:00