1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-01 06:31:04 +01:00
Commit graph

1942 commits

Author SHA1 Message Date
Thierry Delafontaine
502d9b7d30
codex: starting with v0.2.0 codex uses a TOML configuration file (#7388)
Updated related settings and test files to reflect the new format.
2025-07-06 08:58:22 -05:00
Ludovic Ortega
af8a884164 kubeswitch: add module
Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
Co-authored-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-05 16:30:54 -05:00
Thierry Delafontaine
5a49fe448e
opencode: init (#7320) 2025-07-05 16:02:49 -05:00
Alex Hamilton
f117b383dd numbat: Allow specifying a path for initFile 2025-07-05 10:32:48 -05:00
Alex Hamilton
26d405da41 numbat: Add initFile option 2025-07-05 10:32:48 -05:00
Matthieu Coudron
d75a547415
programs.msmtp: merge extraConfig and extraAccount into configContent (#7385)
We can simplify maintainance of HM while providing more consistency
across modules by relying on the nixpkgs module primitive mkBefore /
mkOrder as it was done in the Zsh module.


Deprecates:
- programs.msmtp.extraConfig
- programs.msmtp.extraAccounts

programs.msmtp: merge extraConfig and extraAccount into configContent

We can simplify maintainance of HM while providing more consistency
across modules by relying on the nixpkgs module primitive mkBefore /
mkOrder as it was done in the Zsh module.


Deprecates:
- programs.msmtp.extraConfig
- programs.msmtp.extraAccounts
2025-07-05 17:26:30 +02:00
Austin Horstman
650a38ebe8 ashell: support yaml and toml config
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-05 00:26:25 -05:00
Dan Lock
a4fc77c63d ashell: new ashell 0.5.0 config standards
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-05 00:26:25 -05:00
June Stepp
e8da7372fd
anki: add module (#7274) 2025-07-04 23:45:35 -05:00
Lukas Nagel
57d1027e1e
aerc: allow config sections to be lines (#7280)
There are some sections that are order sensitive, e.g. filters,
so just lines will preserve that order.

Fixes: #6059
2025-07-04 19:54:53 -05:00
Austin Horstman
b8bb556ce5 maintainers: remove duplicate HM entries
We can remove duplicate entries and redirect to the nixpkgs entry.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-04 09:20:48 -05:00
Jairo Llopis
b182e64c01
zed-editor: survive if previous files are not JSON5 (#7351) 2025-07-03 07:44:20 -05:00
Thane Gill
a5b5672084
kitty: add config change signal on darwin (#7375) 2025-07-02 18:56:54 -05:00
Yiheng He
1b25908d1d firefox: fix user.js extensions.settings creation
Creates the user.js if profile.extensions.settings is set.
This fixes the case when profile.extensions.settings is set but every
other option in the mkIf is false, resulting in no user.js creation.
2025-07-02 15:59:50 -05:00
Tarow
7c45553340
mpvpaper: fix eval if no settings are defined (#7370)
Do not attempt to evaluate the xdg config files if no settings for
pauseList and stopList are defined.
2025-07-02 10:25:41 -05:00
Austin Horstman
479f888967
bash: support path in sessionVariables again (#7354)
Upstream shell environment variables support paths.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-01 10:47:16 -05:00
Ali Jamadi
4074121796 nh: update maintainers 2025-06-30 21:12:20 -05:00
Ali Jamadi
e8a3e2c1e0 nh: fix clean option behaviour for Darwin 2025-06-30 21:12:20 -05:00
Kira
78fc50f1cf
direnv: fix nushell cell-path handling (#7339)
After https://github.com/nushell/nushell/pull/15692, this integration breaks
$PATH conversions again as cell-paths are now case-sensitive.
2025-06-30 13:49:04 -05:00
Austin Horstman
ee2189cb2f
gh: insert empty helper when using credential helper (#7347)
Resets previous helpers so the only one being used is the `gh` cli

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-06-30 12:12:19 -05:00
Matthieu Coudron
0f21ed5182
bash: change sessionVariables to attrsOf ... (#7300)
I had programs.bash.sessionVariables.CDPATH = ... defined in the
different nix files. One was taken into account and the other one
ignored.

Turns out plain "types.attrs" has the following merging strategy:

===
merge = loc: foldl' (res: def: res // def.value) { };
===

Changing it to "attrsOf", the module system warned me of the conflicting
values.
2025-06-30 17:19:07 +02:00
Devin Droddy
f6deff178c
quickshell: add module (#7316) 2025-06-29 18:28:19 -05:00
jaredmontoya
2b3bb17e87
oh-my-posh: fix nushell with v26.0.0 (#7342) 2025-06-29 17:34:38 -05:00
awwpotato
76d0c31fce
formatter: add deadnix (#7331) 2025-06-28 16:28:39 -05:00
Jairo Llopis
ff31a4677c
fix(zed): support preexisting JSON5 settings (#7317)
Zed uses JSON5 for settings files. JQ doesn't understand that format and
fails if found, when merging with preexisting settings.

Here I add a conversion step that converts JSON5 to JSON before handling
the contents to JQ.

Besides, I changed the arguments in the jq function, so instead of using
`[0]` and `[1]`, we now use `$dynamic` and `$static` respectively. This
should make scripts more readable.

Fixes https://github.com/nix-community/home-manager/issues/7247
Fixes https://github.com/nix-community/home-manager/issues/7226
2025-06-24 15:48:03 -05:00
Jonathan Davies
a4bac2b9ba
helix: fix configuration file creation logic (#7319)
without this change, an extraConfig file always gets created, even when
none is specified
2025-06-24 11:06:11 -05:00
damidoug
d33444e63a aerospace: Add launchd agent and enhance configuration 2025-06-23 20:30:43 -05:00
Austin Horstman
86402a17b6 treewide: flatten single file modules
Some files don't need nesting and can be root level again to reduce
conflicts with other PRs.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-06-23 16:20:26 -05:00
Perchun Pak
f5098b0740
programs/hyprpanel: init (#7303) 2025-06-23 15:48:27 -05:00
Dan Xin
4a8f993c45 home-manager: fix broken path reference 2025-06-23 09:59:09 -05:00
Austin Horstman
4fca600cb1 treewide: implement auto importing for modules
Reduce maintenance burden and increase efficiency by automatically
importing modules following a specific convention.

Co-authored-by: awwpotato <awwpotato@voidq.com>
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-06-22 23:58:37 -05:00
Josef Hofer
520fc4b50a
k9s: fix config files not generated correctly & improve options (#7262) 2025-06-22 22:55:09 -05:00
leiserfg
3bd646138a
nushell: Make sure the plugins are not garbage-collected (#7295) 2025-06-22 22:42:38 -05:00
crasm
39b7903eab
helix: don't ignore extraConfig when no other settings (#7302)
Fix so that you can still generate `programs.helix.extraConfig` without
using `programs.helix.settings`. Useful particularly in the case of
`extraConfig = lib.readFile ./config.toml;`.
2025-06-22 10:03:39 -05:00
Florent Charpentier
8638426397
hyprland: update wiki domain name (#7293)
As I noticed in
<https://github.com/nix-community/home-manager/pull/7277#issuecomment-2985781610>,
it seems hyprland changed its domain name from `hyprland.org` to
`hypr.land`. (The old domain redirects to the new one)

These changes are made by the following:
find . \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i 's/hyprland\.org/hypr.land/g'
2025-06-18 22:41:02 -05:00
Austin Horstman
70c289b54d i3status-rust: farlion -> workflow
maintainer entry renamed

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-06-18 11:12:29 -05:00
Bryton Hall
28eef8722d
vscode: fix version checks when using Windsurf (#7285) 2025-06-16 21:31:03 -05:00
xaltsc
0edffd088e
firefox: allow separators in bookmarks (#7284)
Allow users to create separators in their Firefox bookmarks.

Co-authored-by: xaltsc <hey@xaltsc.dev>
2025-06-16 15:51:11 -05:00
DerRockWolf
66523b0efe
thunderbird: support declaration of calendars (#5484)
Adds calendar support using the `accounts.calendar.accounts.*` options.
2025-06-15 19:21:02 -05:00
Austin Horstman
676e40a246
sketchybar: inherit meta in finalPackage (#7276)
Since we're creating a new derivation, we drop the original package
attributes. Add our own meta.mainProgram to resolve those warnings.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-06-15 18:37:49 -05:00
MaeIsBad
30b6daf872
kakoune: implement a final package option (#7275) 2025-06-15 17:23:27 -05:00
awwpotato
dceefa87dc ncspot: make package nullable 2025-06-15 08:26:06 -05:00
awwpotato
6e36b1be0b ncspot: adopt 2025-06-15 08:26:06 -05:00
Paul Menhart
c5f3451533
atuin: fix docs url (#7252)
* atuin: fix docs url

Co-authored-by: Austin Horstman <khaneliman12@gmail.com>

---------

Co-authored-by: Paul Menhart <paul_menhart@genua.de>
Co-authored-by: Matthieu Coudron <886074+teto@users.noreply.github.com>
Co-authored-by: Austin Horstman <khaneliman12@gmail.com>
2025-06-15 01:46:37 +02:00
Matthieu Coudron
8fabeb9c14
fix meli eval warning (#7267) 2025-06-14 23:06:00 +02:00
Matthieu Coudron
79dfd9aa29
meli: move freeformat settings to example (#7259)
these hardcoded freeformat settings dont add anything over the default,
worse they generate empty sections which can then clash with user included config (my usecase).
It's best to move those to example.
2025-06-13 15:25:19 +02:00
Robert Helgesson
f111393987
ashell: minor description improvements 2025-06-13 10:07:01 +02:00
Devin Droddy
0215073a70 ashell: add module 2025-06-12 20:49:28 -05:00
Kieran
09859234f8
zed-editor: don't add activation scripts if there is nothing to merge (#7254) 2025-06-12 20:47:44 -05:00
Matthieu Coudron
450f06ec3c
meli: support include statement (#7248)
so one can mix nix generated and manual configs

Instead of using `readFile` on the generated file, we included the generated config to avoid IFD. Because this approach makes ~/.config/meli/config.toml less readable (it referecens another generated file) I disabled it when the user does not "include" personal config. This feels a bit hackish but this is the best way I could find to keep the best of both worlds.
2025-06-11 09:57:32 +02:00