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

5647 commits

Author SHA1 Message Date
Brian Lyles
1652349e57 git: add option for difftastic context
The ability to control the number of contextual lines is a basic
expectation of a diff program, so a dedicated option feels warranted.
2025-10-06 08:06:53 -05:00
Brian Lyles
d328666dba git: add tests for difftastic 2025-10-06 08:06:53 -05:00
Brian Lyles
e46b52ab56 darwinScrublist: add difftastic 2025-10-06 08:06:53 -05:00
Dash
b72be79a42
smug: add new option introduced by v0.3.7 (#7930)
Adds 'selected' option for tmux windows
2025-10-06 08:03:47 -05:00
Austin Horstman
6f4021da5d deprecations: move just module deprecation to new module
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-05 19:36:44 -05:00
Austin Horstman
3f07ce05c3 deprecations: add deprecations/removal module
Add a module for consolidating the module level deprecations in an
easier to spot location.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-05 19:36:44 -05:00
Austin Horstman
5b45dcf479 tests/hyprshot: add tests
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-05 17:19:26 -05:00
Austin Horstman
9f2912e3a6 hyprshot: add platform assertion
Only available on linux.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-05 17:19:26 -05:00
Austin Horstman
3c3076b1c1 tests/discoss: add tests
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-05 16:38:57 -05:00
Austin Horstman
6e8ab005bc tests/darwinscrublist: add discocss and discord
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-05 16:38:57 -05:00
Austin Horstman
f72f660976 discocss: only generate css when provided
No need to generate a file with empty contents.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-05 16:38:57 -05:00
Austin Horstman
aa10fe094b discocss: fix discordPackage override
error: cannot coerce a set to a string: { _type = "if"; condition =
«thunk»; content = «thunk»; }

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-05 16:38:57 -05:00
Austin Horstman
994d854a4a tests/grep: add tests
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-05 16:22:37 -05:00
Austin Horstman
c2e3f1cacd tests/gcc: add tests
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-05 16:22:37 -05:00
Austin Horstman
78fda50bd6 gcc: fix sessionVariables mkIf evaluation error
error: The option `home.sessionVariables.GCC_COLORS' was accessed but
has no value defined. Try setting the option.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-05 16:22:37 -05:00
Austin Horstman
51870a37a3 grep: fix sessionVariables mkIf evaluation error
error: The option `home.sessionVariables.GREP_COLORS' was accessed but
has no value defined. Try setting the option.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-05 16:22:37 -05:00
Austin Horstman
06e268d66b services/barrier: drop module
Upstream package removed and unmaintained project. Recommended to
replace with maintained alternatives such as `deskflow` and `input-leap`

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-05 14:19:07 -05:00
home-manager-ci[bot]
b52ece2bb6 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/e9f00bd893984bc8ce46c895c3bf7cac95331127?narHash=sha256-0m27AKv6ka%2Bq270dw48KflE0LwQYrO7Fm4/2//KCVWg%3D' (2025-09-28)
  → 'github:NixOS/nixpkgs/7df7ff7d8e00218376575f0acdcc5d66741351ee?narHash=sha256-gTrEEp5gEspIcCOx9PD8kMaF1iEmfBcTbO0Jag2QhQs%3D' (2025-10-02)
2025-10-05 14:19:07 -05:00
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