Commit graph

6237 commits

Author SHA1 Message Date
mikaeladev
05e6dc0f6e qt: fix typo in qtct example 2026-02-14 03:52:59 +01:00
Ryan Hendrickson
26dfad95d9 nix: add assumeXdg option
The use-xdg-base-directories Nix setting can be set globally in
/etc/nix/nix.conf, in which case Home Manager doesn't know about it.
Users could fix that by also setting it, redundantly, in `nix.settings`,
but then Nix issues a lot of spurious warnings about
use-xdg-base-directories being a restricted setting that untrusted users
can't pass on to the daemon.

As an alternative, users can now set `nix.assumeXdg`, which makes Home
Manager assume that use-xdg-base-directories is in effect without adding
it to the user's nix.conf file.
2026-02-13 15:28:13 -06:00
Matthias Beyer
b3258dece8 programs.radicle: Document how "rad auth" must be used with this
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2026-02-13 14:34:42 -06:00
Peter Kling
e9b706bef7 syncthing: activate logging for macOS agents 2026-02-13 14:05:36 -06:00
Peter Kling
cadfe449aa syncthing: more reliable syncthing launchd agent
Starts the syncthing-init launchd agent (responsible for updating the configuration) as a oneshot agent instead of via WatchPaths (the latter is too unreliable).

Ideally, the syncthing-init agent should be started after the syncthing agent started the Syncthing server, since syncthing-init updates the configuration using API calls to the Syncthing server. The Linux systemd service versions handle this via the Requires and After attribute. Launchd under macOS is missing a reliable way to order agents. Theoretically, one can achieve similar things via, e.g., WatchPaths (used before this commit). But this is known to be very unreliable (see also my comment in issue #6542). Thus, we just start syncthing-init and rely on the wrapped curl bash function (see curlShellFunction in nix file) to wait for the Syncthing server to be up and running.
2026-02-13 14:05:36 -06:00
Austin Horstman
bc5652b227 tests/types: add suboptions doc test
Verify we are able to extract suboptions properly with our custom lib
extension.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2026-02-13 13:41:08 -06:00
Austin Horstman
29d617ecc8 docs: improve submodule options rendering
Certain types don't offer `getSubOptions` upstream in nixpkgs, at the
moment. We can do some overriding and manually calling it for now to
fetch the options for docs.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2026-02-13 13:41:08 -06:00
Austin Horstman
4c4771cb01 rofi: add missing option description
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2026-02-13 13:41:08 -06:00
Austin Horstman
3017414609 launchd: add missing option description
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2026-02-13 13:41:08 -06:00
Austin Horstman
54ab8bc155 maintainers: remove offline
Removed upstream https://github.com/NixOS/nixpkgs/pull/483520

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2026-02-13 13:26:06 -06:00
home-manager-ci[bot]
975606b2a5 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/d6c71932130818840fc8fe9509cf50be8c64634f?narHash=sha256-ub1gpAONMFsT/GU2hV6ZWJjur8rJ6kKxdm9IlCT0j84%3D' (2026-02-08)
  → 'github:NixOS/nixpkgs/ec7c70d12ce2fc37cb92aff673dcdca89d187bae?narHash=sha256-9xejG0KoqsoKEGp2kVbXRlEYtFFcDTHjidiuX8hGO44%3D' (2026-02-11)
2026-02-13 13:26:06 -06:00
Malik
5e90b62996 tirith: add module
Adds Home Manager module for Tirith, a shell security monitor.

The module supports:
- Shell integration for Bash, Fish, and Zsh
- Allowlist configuration for bypassing Tirith analysis
- Policy configuration for customizing security behavior
2026-02-13 09:08:51 -06:00
Yus314
de4cfffc98 kitty: add autoThemeFiles option
Add support for kitty's automatic theme switching based on OS
color scheme. This creates the required auto theme config files:
- light-theme.auto.conf
- dark-theme.auto.conf
- no-preference-theme.auto.conf

Closes: nix-community/home-manager#6869
2026-02-13 10:32:36 +01:00
Austin Horstman
a6c93262f3 pay-respects: minor style cleanup
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2026-02-12 23:45:12 -06:00
Austin Horstman
f24a755980 news: add pay-respects rules addition
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2026-02-12 23:45:12 -06:00
Austin Horstman
2fe1e0ea38 tests/pay-respects: add rules test
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2026-02-12 23:45:12 -06:00
Austin Horstman
133585ddfa pay-respects: add rules support
Allow creating rules files now following docs from
https://github.com/iffse/pay-respects/blob/main/rules.md

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2026-02-12 23:45:12 -06:00
nescias
9bdb693810 notmuch: add programs.notmuch.package option
Allow users to specify which notmuch package should be used.
2026-02-12 16:42:39 -06:00
nescias
258db1d39b git: respect programs.msmtp.package
Since the user may override `programs.msmtp.package` using
`pkgs.msmtp` as the sendmail binary might result in the wrong package
being used.
2026-02-12 16:42:39 -06:00
Austin Horstman
2cc195b478 docs: update flake module example
Just include some more detail in example

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2026-02-12 15:13:04 -06:00
Austin Horstman
6a1f7101d2 news: add flameshot darwin entry
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2026-02-12 11:04:03 -06:00
Austin Horstman
ede6d1d95e tests/flameshot: add darwin tests
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2026-02-12 11:04:03 -06:00
Austin Horstman
2363f5a377 flameshot: add darwin support
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2026-02-12 11:04:03 -06:00
teto
0825a0922a feat: introduce nix-shell
flakes are not stable yet, community is divided but maintaining both
flake and a set of dependencies in our scripts is hard.
So provide a nix-shell that fetches the nixpkgs recorded in the
flake.lock to keep a single source of truth
2026-02-12 16:27:35 +01:00
home-manager-ci[bot]
0acbd11806 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/00c21e4c93d963c50d4c0c89bfa84ed6e0694df2?narHash=sha256-AYqlWrX09%2BHvGs8zM6ebZ1pwUqjkfpnv8mewYwAo%2BiM%3D' (2026-02-04)
  → 'github:NixOS/nixpkgs/d6c71932130818840fc8fe9509cf50be8c64634f?narHash=sha256-ub1gpAONMFsT/GU2hV6ZWJjur8rJ6kKxdm9IlCT0j84%3D' (2026-02-08)
2026-02-11 08:04:04 -06:00
Adam Poit
b3f43db171 colima: fix KeepAlive to prevent process accumulation on macOS
Change KeepAlive from boolean true to SuccessfulExit dictionary in the LaunchAgent configuration.
When colima fails to start (e.g., disk already attached), the boolean true setting causes
launchd to immediately restart it, spawning orphaned limactl usernet processes with each
restart.

Using SuccessfulExit = true ensures the service only restarts on clean exits (exit code 0),
preventing the aggressive restart loop that accumulates orphaned processes.
2026-02-10 21:19:55 -06:00
home-manager-ci[bot]
6c4fdbe1ad 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:** 282 → 283 maintainers

** Added:** mikaeladev

Generated by: lib/python/generate-all-maintainers.py
2026-02-09 10:28:40 -06:00
Austin Horstman
13a1beb7c9 news: add codex mcp integration
Just letting users know module has the integration enabled now.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2026-02-09 07:14:50 -06:00
Austin Horstman
6c8def1df8 codex: add enableMcpIntegration option
Work with the shared mcp module for integration and transformation.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2026-02-09 07:14:50 -06:00
Austin Horstman
b1f916ba05 news: don't specify nixpkgs revision
Not necessary for using nix-shell and causes extra maintenance.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2026-02-08 15:31:12 -06:00
home-manager-ci[bot]
a0da0f24fd flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/e6eae2ee2110f3d31110d5c222cd395303343b08?narHash=sha256-KHFT9UWOF2yRPlAnSXQJh6uVcgNcWlFqqiAZ7OVlHNc%3D' (2026-02-03)
  → 'github:NixOS/nixpkgs/00c21e4c93d963c50d4c0c89bfa84ed6e0694df2?narHash=sha256-AYqlWrX09%2BHvGs8zM6ebZ1pwUqjkfpnv8mewYwAo%2BiM%3D' (2026-02-04)
2026-02-08 15:21:52 -06:00
Francesco Noacco
afaa85cf32 vivid: add nushell integration 2026-02-08 15:20:51 -06:00
Aguirre Matteo
42c607ecb4 news: add lazyworktree entry 2026-02-08 15:14:18 -06:00
Aguirre Matteo
f5d50fd8cb lazyworktree: add module 2026-02-08 15:14:18 -06:00
Austin Horstman
cbd8a72e5f treewide: remove xorg package set
Xorg package set removed, now aliases.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2026-02-07 13:10:27 -06:00
Francesco Noacco
6cee082157 zed-editor: don't generate empty keymap files
default value for user keymaps is an empty list, but the check was
made against an empty set, generating the file when no value
was given
2026-02-07 09:07:14 -06:00
Austin Horstman
471e6a065f prismlauncher: merge only when configured
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2026-02-05 13:11:00 -06:00
Austin Horstman
f915881ba7 prismlauncher: code style and lint cleanup
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2026-02-05 13:11:00 -06:00
K900
332027bc0a treewide: use pkgs.lndir instead of pkgs.xorg.lndir
Follow the change in nixpkgs.
2026-02-05 10:59:19 -06:00
Anton
bbccee8713 halloy: fix URL in description 2026-02-05 07:58:26 -06:00
mikaeladev
04e5203db6 prismlauncher: add module 2026-02-04 21:47:21 -06:00
mikaeladev
6f64dee491 maintainers: add mikaeladev 2026-02-04 21:47:21 -06:00
Léana 江
cfb3b544f9 programs.git: test git integration options assertion 2026-02-04 21:43:38 -06:00
Léana 江
715e6d7f89 programs.git: fix assertion message inconsistency 2026-02-04 21:43:38 -06:00
Austin Horstman
6c79e409a5 news: add xdg-user-dirs changes entry
Inform users about the various changes to xdg-user-dirs.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2026-02-04 21:16:02 -06:00
Greg Pfeil
c8f9edda94 xdg.userDirs: add notes for stateVersion changes 2026-02-04 21:16:02 -06:00
Greg Pfeil
9b62076484 xdg.userDirs: change the syntax for extraConfig
E.g., use `MISC` instead of `XDG_MISC_DIR`, the same way `xdg-user-dirs-update`
works.

This is conditionalized on 26.05, so in future `XDG_MISC_DIR` will be disallowed.
2026-02-04 21:16:02 -06:00
Greg Pfeil
db9044b119 xdg.userDirs: add a setSessionVariables option
It defaults to `true` to maintain the current behavior.

This is conditionalized on 26.05, so in future `setSessionVariables` will
default to `false`.
2026-02-04 21:16:02 -06:00
Greg Pfeil
83cc9d32e3 xdg.userDirs: add a nullable package option 2026-02-04 21:16:02 -06:00
Greg Pfeil
7c47cafa90 xdg.userDirs: don’t require Linux
Everything here works on Darwin, etc.
2026-02-04 21:16:02 -06:00