1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-10 02:36:54 +00:00
Commit graph

1562 commits

Author SHA1 Message Date
Christoffer Hald Christensen
f8729b11ee eww: fix confDir config using missing attribute "types.isNull" 2025-02-12 09:38:53 -08:00
Matthieu Coudron
f0a31d38e6
neomutt: fix default for 'map' in macros/binds (#6429)
https://github.com/nix-community/home-manager/pull/1885  changed 'map'
from a string to a list of string but the default wasn't updated accordingly.
When not defining map, you would get the warning `evaluation warning: teto profile: Specifying 'programs.neomutt.(binds|macros).map' as a string is deprecated, use a list of strings instead. See `.
2025-02-11 19:33:45 +01:00
Austin Horstman
8f351726c5 git-worktree-switcher: use lib.hm.shell.mkShellIntegrationOption 2025-02-11 09:18:04 -06:00
Mateus Auler
9c8169b446 git-worktree-switcher: init module 2025-02-11 09:18:04 -06:00
Yuki Kobayashi
59fe145f0b
eww: make configDir optional (#6282)
Some people like to manage config directories themselves, and it should not be a requirement but rather an optional feature.
2025-02-11 08:27:04 -06:00
Austin Horstman
5795f792ab yazi: organization tweak
Moving variable declaration closer to usage so it's easier to manage /
see.
2025-02-10 17:57:29 -06:00
Austin Horstman
b34b56689d yazi: remove with lib 2025-02-10 17:57:29 -06:00
Austin Horstman
c0d06189f2 kitty: assert can't enable shell integrations when mode is null
We use the mode within the script for each integration. Make sure the
user understands what they are doing.
2025-02-10 17:56:59 -06:00
MithicSpirit
fc3cd1e408 kitty: allow not setting shell_integration
This allows better support for using kitty's built-in shell integration
method by setting `shellIntegration.mode' to `null', which makes it not
be set at all in the config file and disables modification to shell
initialization scripts by default. If this is used, the user should set
`settings.shell_integration' instead (if shell integration is desired),
which receives no special handling.
2025-02-10 17:56:59 -06:00
Perchun Pak
b0bd29bb4b
tldr-update: init (#6401)
Adds `tldr-update` module for enabling automatic `tldr update` on a schedule.
Adds option to `tealdeer` to enable integration with new `tldr-update` module.
2025-02-10 08:34:12 -06:00
NAHO
5af1b9a0f1
treewide: standardize shell integration options
Standardize all 'programs.<PROGRAM>.enable<SHELL>Integration' options
with the following new functions:

- lib.hm.shell.mkBashIntegrationOption
- lib.hm.shell.mkFishIntegrationOption
- lib.hm.shell.mkIonIntegrationOption
- lib.hm.shell.mkNushellIntegrationOption
- lib.hm.shell.mkZshIntegrationOption

These functions should default to their corresponding global option:

- home.shell.enableBashIntegration
- home.shell.enableFishIntegration
- home.shell.enableIonIntegration
- home.shell.enableNushellIntegration
- home.shell.enableZshIntegration

All these global options default to the
'home.shell.enableShellIntegration' value.

This hierarchy standardizes the shell integration and increases end-user
flexibility.

BREAKING CHANGE: The following inconsistent default values change from
'false' to 'true':

- programs.zellij.enableBashIntegration
- programs.zellij.enableFishIntegration
- programs.zellij.enableZshIntegration

Link: https://github.com/nix-community/home-manager/pull/6358

Co-authored-by: Robert Helgesson <robert@rycee.net>
2025-02-08 22:49:40 +01:00
Damien Cassou
f99c704fe3 bash: Make sure HISTFILE's directory exists
Co-authored-by: Robert Helgesson <robert@rycee.net>
2025-02-06 12:25:09 +01:00
Kira Bruneau
30ea6fed4e
firefox: fix referencing name in profile-specific docs
Within the context of the profiles submodule, `${name}` refers to the
profile name, and not the Firefox fork name.

This fixes all descriptions to use the right name. This fixes a
previous commit that introduced a dependency between the documentation
and the user's configuration.
2025-02-05 22:10:32 +01:00
Kira Bruneau
f20b7a8ab5
firefox: fix referencing firefox fork name in profile-specific docs (#6407)
* firefox: fix referencing firefox fork name in profile-specific docs

Within the context of the profiles submodule, `${name}` refers to the
profile name, and not the firefox fork name.

This fixes all descriptions to use `${cfg.name}` instead.

* firefox: prefer cfg.name instead of name for consistency
2025-02-05 12:11:16 +01:00
Robert Helgesson
f2d32e46fa
broot: use hjson-go
Reduces the build closure quite a bit.
2025-02-04 23:58:20 +01:00
Matthieu Coudron
7abcf59a36
mpv: support includes directives (#6391)
to allow mixing imperative and declarative config
the includes are at the end of the config
2025-02-04 12:07:35 +01:00
Austin Horstman
18fa9f323d
yazi: add main.lua support to plugins (#6394)
Yazi is deprecating init.lua for main.lua usages. This adds support for
main.lua in plugins.
2025-02-01 16:19:26 -06:00
Hoang Nguyen
dae6d3460c
git: add default value null to programs.git.signing.key (#6032) 2025-02-01 17:52:06 +01:00
Timon Schelling
8544cd0920
lapce: add module (#5752)
Adds the 'programs.lapce' module for configuring lapce text editor.
Options for settings, plugins and keymaps are available.
2025-02-01 14:03:26 +01:00
Austin Horstman
234613d77c neovim: remove with lib 2025-01-30 15:48:46 -06:00
Austin Horstman
e3baf274f4 bat: remove with lib 2025-01-30 15:19:17 -06:00
Austin Horstman
c90cd85b04 kitty: remove with lib 2025-01-30 15:08:03 -06:00
Austin Horstman
2d731a33b1 wezterm: remove with lib 2025-01-30 15:05:11 -06:00
Austin Horstman
20fd9686b8 btop: remove with lib; 2025-01-30 14:59:38 -06:00
Austin Horstman
bf2a029bcd yazi: add khaneliman maintainer 2025-01-30 13:42:37 -06:00
Austin Horstman
d62027e44d ripgrep: add khaneliman maintainer 2025-01-30 13:42:37 -06:00
Austin Horstman
9cb98f3140 lazygit: add khaneliman maintainer 2025-01-30 13:42:37 -06:00
Austin Horstman
cb985acc3c git: add khaneliman maintainer 2025-01-30 13:42:37 -06:00
Austin Horstman
90b7acd988 fzf: add khaneliman maintainer 2025-01-30 13:42:37 -06:00
Austin Horstman
a77b2c186a fastfetch: add khaneliman maintainer 2025-01-30 13:42:37 -06:00
Austin Horstman
5a3f7c6d07 direnv: add khaneliman maintainer 2025-01-30 13:42:37 -06:00
Austin Horstman
6a98897946 nix-index: add khaneliman maintainer 2025-01-30 13:42:37 -06:00
Austin Horstman
c72b699ec6 btop: add khaneliman maintainer 2025-01-30 13:42:37 -06:00
Austin Horstman
34e28fc6dd bat: add khaneliman maintainer 2025-01-30 13:42:37 -06:00
Austin Horstman
05c64fa76b ghostty: add khaneliman maintainer 2025-01-30 13:42:37 -06:00
Austin Horstman
178f8265cb kitty: add khaneliman maintainer 2025-01-30 13:42:37 -06:00
Austin Horstman
ebdbb38103 wezterm: add khaneliman maintainer 2025-01-30 13:42:37 -06:00
Austin Horstman
06bc354189 neovim: add khaneliman maintainer 2025-01-30 13:42:37 -06:00
Austin Horstman
c3031a0e8c waybar: add khaneliman maintainer 2025-01-30 13:42:37 -06:00
Austin Horstman
7a45774684
aerospace: enable option desc fix (#6375) 2025-01-30 11:25:49 -06:00
Austin Horstman
c621c26c4c
aerospace: cleanup 2025-01-30 17:22:03 +01:00
chayleaf
ba3338ab99
waybar: allow setting layer to overlay (#5729) 2025-01-29 18:39:21 -06:00
Florian Klink
697ba1319f
waybar: allow setting systemd.target to null (#6241)
This allows making the systemd user unit appear without it autostarting,
which is useful if you want to start it manually from a specific display
manager config only.
2025-01-29 17:16:15 -06:00
Austin Horstman
6fbbfb9240
Revert "thunderbird: add native host support (#6292)" (#6371) 2025-01-29 17:11:30 -06:00
Maximilian Füsslin
79eff1f6b9
zsh: added HIST_SAVE_NO_DUPS and HIST_FIND_NO_DUPS options to zsh for history configuration. (#6227)
Co-authored-by: Maximilian Füsslin <mfuesslin@gmail.com>
2025-01-29 16:31:45 -06:00
Utkarsh Gupta
6aa38ffdf7
atuin: set socket path for darwin (#6248)
The daemon doesn't know about XDG_RUNTIME_DIR, so set the socket_path
manually for consistency between daemon & client
2025-01-29 16:09:34 -06:00
Ihar Hrachyshka
608b26d16e
thunderbird: add native host support (#6292)
Note: the test case uses a firefox native host but it shouldn't matter
since they are packaged the same way for both TB and Firefox.
2025-01-29 16:07:28 -06:00
DamiDoug
d5e5c0d051
aerospace: add module (#6279)
Co-authored-by: damidoug <contact@damidoug.dev>
2025-01-29 16:04:24 -06:00
Robert Helgesson
420a0d9506
nushell: structured settings and more
PR #6184
2025-01-29 20:18:33 +01:00
anund
d71828a7dd
ghostty: allow darwin users to manager their config (#6300)
* ghostty: allow darwin users to manager their config

Currently nixpkgs does not contain a package defintion for ghostty
compatible with Darwin. Darwin users may still want to use this module
to manage their config or share config between systems. This carries
over behaviour from the beta period where this same technique was used.

see: 887e13a6e7/module.nix (L167-L173)

Also improves validation to cover theme files.

* ghostty: guard all package access with isLinux

ghostty is currently marked as broken in nixpkgs. Darwin users still
want to manage ghostty config via home-manager. Avoiding installing the
package and any extra files that depend on the package outside Linux
allows this.

* ghostty: allow nullable
2025-01-29 12:47:05 -06:00