1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-28 21:21:02 +01:00
Commit graph

1918 commits

Author SHA1 Message Date
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
Thierry Delafontaine
427c96044f codex: init 2025-06-09 22:33:16 -05:00
Rishi Vora
e9763eb195
niriswitcher: add module (#7246) 2025-06-09 22:30:27 -05:00
Evgeny Zislis
1df816c407
fix: ensure newline after vim.cmd[[source...]] in neovim init.lua (#7219)
Fix an issue where the generated ~/.config/nvim/init.lua lacks a newline after the vim.cmd [[source ...]] directive. Without this newline, subsequent lua configuration is concatenated onto the same line, breaking lua syntax.

init.lua Before:

vim.cmd [[source /nix/store/...]]vim.opt.rtp:prepend(...)

After:

vim.cmd [[source /nix/store/...]]
vim.opt.rtp:prepend(...)
2025-06-09 22:10:54 +02:00
octvs
74d196c994
papis: allow libraries to not to be defined (#7204)
papis allows setting configuration via local [1] or via a python file
[2]. A user can decide to define libraries via these methods, which
home-manager module won't allow. Shift where the check is done to allow
a config file with empty libraries.

Remove the previous assertion which is made unnecessary by this change.

[1]: https://papis.readthedocs.io/en/latest/configuration.html#local-configuration-files
[2]: https://papis.readthedocs.io/en/latest/configuration.html#python-configuration-file
2025-06-09 17:44:44 +02:00
Egor Konovalov
35e1f5a7c2
mc: add midnight commander module (#7225) 2025-06-09 09:25:11 -05:00
Aguirre Matteo
2835e8ba0a
nyxt: add module (#7232) 2025-06-08 11:27:00 -05:00
Kristoffer Plagborg Bak Sørensen
06451df423
ghostty: only source fish shell integration script when shell is interactive (#7228)
The ghostty script adds hooks that are only
relevant in an interactive shell session.
2025-06-07 23:57:48 -05:00
Aguirre Matteo
bd8946c773
lazysql: add module (#7231) 2025-06-07 23:51:28 -05:00
Mohamad Fikri
2d7d65f65b
fish: fix the binds.*.erase option (#7186)
The `command` option is optional when the `erase` option is true,
because when in erase mode, bind does not require any other arguments
2025-06-06 15:57:26 -05:00
isabel
1d595a5b64
zed-editor: allow for nullable package (#7220) 2025-06-06 15:51:16 -05:00
Nikita Pedorich
96482a538e
keychain: warn about deprecated options (#7196)
Options --agents and --inherit have been depracated in Keychain 2.9.0
See https://github.com/funtoo/keychain/releases/tag/2.9.0 for more information
2025-06-06 09:43:34 -05:00
André Silva
c18a767948
zed-editor: userKeymaps default to empty array (#7222) 2025-06-06 09:42:33 -05:00
Ladas552
355c7d09ed
chawan: fix example for settings (#7210)
as per cha-config, keybindings should be under section `page` and not `pager`.

Also replaced the line with an example from man page because the current one wasn't working properly
2025-06-05 21:50:12 -05:00
Jairo Llopis
0ee810c839
zed-editor: respect user interactivity with settings and keymaps (#6993)
Merges frozen config from HM into dirty config.

Fixes https://github.com/nix-community/home-manager/issues/6835
2025-06-05 21:20:23 -05:00
Austin Horstman
de8463dd3e
zsh: add plugins.*.completions paths to fpath (#7197)
Autocompletion scripts and additional plugin functions are located in
specific directories that might not match the plugin source script but
need to be included in fpath before calling compinit.

An option to provide a path to these scripts is added to add the paths
to fpath before calling completionInit.

Co-authored-by: @zimeg <zim@o526.net>
2025-06-05 21:11:35 -05:00
jaredmontoya
13a45ede6c
aichat: fix config example (#7212) 2025-06-05 08:45:29 -05:00
jaredmontoya
86b95fc1ed
aichat: init (#7207)
aichat is an all in one CLI tool for AI interactions.
On first run it prompts you to create a config so I made a home manager module to do this declaratively.
2025-06-04 13:35:39 -05:00
octvs
ffab96a8b4
qutebrowser: null package support (#7203) 2025-06-04 16:57:32 +02:00
Kenichi Kamiya
cb809ec1ff
fzf: prefer source for Zsh integration (#7191)
fzf version 0.53.0 [1] and later now prefers using `source` for its Zsh
integration.

[1] 030428ba43
2025-06-02 23:30:27 -05:00
phucleeuwu
379c9fb858
yazi: use mgr instead of manager in example (#7160)
Recent deprecation, show updated example.
2025-05-30 12:46:37 -05:00
Alex Hamilton
d36ac1f0db
hwatch: add module (#7158) 2025-05-30 10:16:26 -05:00
nakoo
4e9efaa68b
misc: add librewolf native messaging hosts (#7127) 2025-05-29 21:07:27 -05:00
Patrick N.
8a4b382627
kodi: make type for settings less restrictive (#5277)
Allow list of attrset in the kodi settings to be able to define path substitutions.
2025-05-29 19:13:10 -05:00
Mads Rumle Nordstrøm
2f4db1cd5b
yambar: add systemd service (#5469) 2025-05-29 19:12:57 -05:00