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

34 commits

Author SHA1 Message Date
meck
65bf99c579 yazi: update wrappers not to use cat in subshell
If cat is aliased to bat the non piping operation
in the script might include extra text, use builtins
instead
2025-11-03 21:54:12 -06:00
Austin Horstman
edc7468e12 yazi: add extraPackages option for wrapper PATH extension
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-09-20 08:41:17 -05:00
Austin Horstman
b4752b0eda treewide: format with latest stable formatter
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-23 10:27:52 -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
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
phucleeuwu
379c9fb858
yazi: use mgr instead of manager in example (#7160)
Recent deprecation, show updated example.
2025-05-30 12:46:37 -05:00
Austin Horstman
85dd758c70
yazi: remove assertions (#6817)
Contains IFD and unnecessarily restricts user's configuration.
2025-04-14 10:18:50 +02:00
Austin Horstman
cba2f9ce95 treewide: reformat nixfmt-rfc-style
Reformat repository using new nixfmt-rfc-style.
2025-04-08 08:50:05 -07:00
Austin Horstman
10deb9d043 treewide: zsh initExtra -> initContent
Migrating in tree usages of zsh initExtra to initContent before
deprecating.
2025-03-22 13:46:42 -05:00
Austin Horstman
d2c014e1c7
treewide: null package support (#6582)
Can generate the config without installing application through home-manager. Helpful when a package is broken (or not provided) on a specific platform through nixpkgs and needs to be installed through other means but you still can benefit from the declarative configuration.
2025-03-07 18:17:52 -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
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
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
Austin Horstman
bf2a029bcd yazi: add khaneliman maintainer 2025-01-30 13:42:37 -06:00
Ismaïl Senhaji
4481a16d1a
yazi: improve fish integration
Calls yazi as `command yazi`, allowing to use "yazi" as
`shellWrapperName`. Also defines the wrapper with
`programs.fish.functions` instead of `interactiveShellInit`.
2025-01-21 18:28:58 +01:00
David Chocholatý
99f54cdfef
yazi: fix example option for settings 2024-12-21 18:04:53 +01:00
Gaétan Lepage
7f78e2d1c6
yazi: update keymap config 2024-12-01 18:47:01 +01:00
Giovanni Nicosia (mood)
c77c3bb233
yazi: enable shell integration values by default
Previously,

  - `programs.yazi.enableNushellIntegration`,
  - `programs.yazi.enableFishIntegration`, and
  - `programs.yazi.enableZshIntegration`

were set to false by default. It seems more appropriate to enable
these integrations by default.
2024-10-25 11:21:03 +02:00
uncenter
e915831472
yazi: allow literal string for initLua 2024-07-03 23:36:14 +02:00
eljamm
92a26bf6df
yazi: add shellWrapperName & rename wrappers to yy
The program shell wrappers have been renamed from `ya` to `yy`
following the introduction of the new CLI tool named `ya`.

With this in mind, the `shellWrapperName` option has been introduced
to provide users with more flexibility in choosing the name they're
most accustomed to (ra, lf, ...).

Co-authored-by: XYenon <register@xyenon.bid>

Co-authored-by: 三咲雅 · Misaki Masa <sxyazi@gmail.com>
2024-06-26 09:08:30 +02:00
eljamm
d3bf2a0612
yazi: add eljamm as maintainer 2024-06-25 14:27:44 +01:00
lordkekz
216d51eb22
yazi: Fix expected structure of flavors 2024-06-23 23:12:50 +02:00
lordkekz
16f86c94ce
yazi: Assert plugin/flavor structure and warn about plugin/flavor suffix
- Always append suffix `.yazi` to plugin's and flavor's attribute names.
- Warn if the attribute names already have the suffix.
- Assert that plugin's and flavor's values point to directories
  containing an `init.lua` file.
2024-06-23 23:12:50 +02:00
lordkekz
340b98c0ab
yazi: Assert that plugins have valid structure 2024-06-23 23:12:50 +02:00
lordkekz
5ccc3d6739
yazi: Ensure plugin suffix .yazi
- Append suffix `.yazi` to symlink targets of yazi plugins, if needed
- Improve some docs, especially links to upstream docs.
- Update tests to make use of this feature.
2024-06-23 23:12:50 +02:00
XYenon
04bc391a90 yazi: support plugins and flavors 2024-05-29 11:29:08 +08:00
Austin Horstman
e8482a798f
yazi: use builtin cd
cd conflicts with aliases that dont support -- syntax
2024-05-27 23:50:57 +02:00
XYenon
1d085ea444
yazi: update shell integrations (#5048) 2024-02-27 00:00:56 +01:00
XYenon
992b38f29c
yazi: fix nushell integration 2024-01-03 20:18:53 +01:00
Ryan
abdc82d930
yazi: pass additional args to ya alias
This allows commands like `ya /etc/nixos` and `ya --help` to be used.
2023-12-16 00:07:57 +01:00
XYenon
a462e7315d yazi: update shell integrations and docs 2023-11-25 16:17:54 +08:00
XYenon
7413408b04
yazi: add fish and nushell integration
PR #4493
2023-09-24 00:41:14 +02:00
XYenon
90e62f96c7
programs.yazi: add module (#4373)
add module for yazi https://github.com/sxyazi/yazi a terminal rust file browser akin to ranger or joshuto
2023-08-27 20:47:47 +02:00