Commit graph

2030 commits

Author SHA1 Message Date
Thierry Delafontaine
faa5b42eca codex: support XDG Base Directory specification
- Configuration file is now placed in XDG_CONFIG_HOME/codex/config.toml by default for versions >=0.2.0 when preferXdgDirectories is enabled.
- Falls back to ~/.codex/config.yaml for versions <0.2.0 and to ~/.codex/config.toml when preferXdgDirectories is disabled
- Sets CODEX_HOME environment variable to $XDG_CONFIG_HOME/codex when using XDG directories.
- Updated tests to verify XDG directory behavior and environment variable presence.
2025-08-07 14:04:33 -05:00
eyjhb
a5506862dc mullvad-vpn: fix home.package -> home.packages 2025-08-07 09:07:32 -05:00
awwpotato
c7acf2b1bf mullvad-vpn: add module 2025-08-07 08:39:36 -05:00
Benedikt Rips
62fdc8d410 keepassxc: add autostart option 2025-08-06 19:08:16 -05:00
Benedikt Rips
cb8cfa0eb9 keepassxc: add maintainer bmrips 2025-08-06 19:08:16 -05:00
Austin Horstman
13461dec40 git-credential-keepassxc: fix eval
Not sure why this didn't get caught in CI...

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-08-06 13:05:22 -05:00
Benedikt Rips
2a29968912 git-credential-keepassxc: init module 2025-08-06 12:39:55 -05:00
Benedikt Rips
88913c98fe goto: init module 2025-08-06 10:57:16 -05:00
Austin Horstman
a379077675 sherlock: init module
Creating a sherlock module for the sherlock launcher. Prefer a file be
controlled by a single option and using settings for the main config
file.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-08-05 20:33:37 -05:00
Louis Orleans
c23168acf5 vscode: specify full path
The script executes in `/usr/local/bin`, so specifying the full path to the `Library` dir is necessary.
2025-08-05 18:22:13 -05:00
Louis Orleans
9b59dcee0b vscode: quote path
`mkdir` had an unquoted variable, leading to errors when using paths with spaces (ie: `/Users/me/Library/Application Support/…`)
2025-08-05 18:22:13 -05:00
Cool-Game-Dev
b7ee8deefc programs/nix-search-tv: init
Create the programs/nix-search-tv module, with options to enable,
change settings, and television integration.

Co-authored-by: awwpotato <awwpotato@voidq.com>
2025-08-05 14:10:01 -05:00
Benedikt M. Rips
6d1fddb13b
gcc: init module (#7614) 2025-08-05 14:04:47 -05:00
Benedikt M. Rips
0cda19d420
grep: init module (#7613) 2025-08-05 14:04:24 -05:00
Benedikt M. Rips
36ad7d25fb
zsh: option to define autoloadable site-functions (#7611)
Add an option to the Zsh module that allows defining autoloadable site functions.
2025-08-05 14:03:10 -05:00
Philipp Mildenberger
c5d7e95739 nushell: remove Philipp-M as maintainer 2025-08-04 22:42:30 -05:00
n0099
1d7abbd545 htop: add field M_VIRT and TTY as alias
`M_SIZE` has renamed to `M_VIRT` in https://github.com/htop-dev/htop/issues/325
`TTY_NR` has renamed to `TTY` in https://github.com/htop-dev/htop/pull/572
2025-08-03 18:30:39 -05:00
n0099
a26e907ca1 htop: sort fields by its id 2025-08-03 18:30:39 -05:00
n0099
d4c53262ca htop: add more platform-independence fields
sync with https://github.com/htop-dev/htop/blame/cfb561fd342c9d5d814ac4965a6047442994ba94/RowField.h#L40-L43
2025-08-03 18:30:39 -05:00
n0099
c89fdd3291 htop: add more fields
sync with https://github.com/htop-dev/htop/blame/348c0a6bf4f33571835a0b6a1a0f5deb15132128/linux/ProcessField.h#L44-L53
2025-08-03 18:30:39 -05:00
PopeRigby
e6e2f43a62 televison: add PopeRigby as maintainer 2025-08-02 17:46:16 -05:00
PopeRigby
98aed449ba television: update channel location
Co-authored-by: awwpotato <awwpotato@voidq.com>
2025-08-02 17:46:16 -05:00
awwpotato
187e0af20a
nh: remove .nix suffix check for flake paths (#7600) 2025-08-02 15:43:23 -05:00
Austin Horstman
e102920c1b
zoxide: move zsh priority (#7593)
According to upstream documentation, they recommend at end of file. But,
realistically just needs to be after compinit.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-08-01 16:54:00 -05:00
Nikhil Singh
19f94a3e0e sesh: Add preview window 2025-08-01 09:58:09 -05:00
Nikhil Singh
712c6dad6c sesh: fix kill-session field seperator 2025-08-01 09:58:09 -05:00
Nikhil Singh
614956c993 sesh: switch from fzf-tmux -p to fzf --tmux
A more reliable approach and fixes #7192
2025-08-01 09:58:09 -05:00
robin
899af4218c
tmux: fix prefix and shortcut settings (#7549)
adjusting the tmux lines for setting the prefix.
previously the prefix option would be set in the prefix key table, causing it to not register correctly.

- updated tests
2025-08-01 09:53:46 -05:00
NAHO
7035020a50 anki: set valid language default
Fixes: e8da7372fd ("anki: add module (#7274)")

Co-auhored-by: June Stepp <git@junestepp.me>
2025-07-31 12:42:04 -05:00
NAHO
e2238e6073 anki: remove trailing whitespace 2025-07-31 12:42:04 -05:00
Foxocube
4e97102bd4
nh: add options for specific flakes (#7566)
* nh: Add options for specific flakes
* nh: Add tests for specific flake options

---------

Co-authored-by: Foxocube <git@foxocube.xyz>
2025-07-31 12:41:29 -05:00
Austin Horstman
03fdb31290
treewide: add missing package options (#7575)
Add options to support more flexible module configurations.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-29 12:20:22 -05:00
Austin Horstman
f49e872f55 zsh: lib better docstrings
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-28 14:47:42 -05:00
Austin Horstman
471eeaa975 zsh: add khaneliman maintainer
Been active in it and use it a lot.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-28 14:47:42 -05:00
Austin Horstman
e52c6c3da3 zsh: env var assertion for dotdir
Needs to be known at build time. Ensure user doesn't accidentally use
env var in `dotDir`

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-28 14:47:42 -05:00
Austin Horstman
40af7ba06b zsh: relative path deprecation warning
Warn users when they configure a relative path. We want to encourage
using absolute paths and env variables.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-28 14:47:42 -05:00
Austin Horstman
938ecd797f zsh: fix lib function for env var path parsing
Allow env variables to be used and avoid mangling path.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-28 14:47:42 -05:00
Austin Horstman
0daef6fbe0 hyprlock: update example config
Some breaking changes from upstream

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-27 07:03:54 -05:00
Seth Flynn
e88671567b
zsh: only apply plugins when zsh is enabled (#7555) 2025-07-27 07:03:09 -05:00
Robert Helgesson
63dd0e9409
opencode: minor cleanup of option description 2025-07-27 07:02:11 +02:00
Austin Horstman
2b73c2fcca
treewide: remove config dependency on docs (#7547)
Tested with rebased
https://github.com/nix-community/home-manager/pull/6411 so I could find
all instances of config usage in docs.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
Co-authored-by: Robert Helgesson <robert@rycee.net>
2025-07-26 17:11:53 -05:00
Friedrich Altheide
a1817d1c0e yarn: improve docs 2025-07-25 14:03:11 -05:00
Friedrich Altheide
26e33ea5c0 docker-cli: Improve docs, fix enviornment variable 2025-07-25 14:03:11 -05:00
Kristopher James Kent (kjkent)
9fca491587 zsh: improve histfile handling
Previously, a stateVersion check for 20.03 determined whether or not the input to
`programs.zsh.history.path` would be prepended with `$HOME`. However, this was not
communicated in the documentation, which stated the version check determined whether
the default histfile location would be in `programs.zsh.dotDir` or
`home.homeDirectory`.

The current change simplifies matters and brings path handling in-line with that of
the preceding work on dotDir path handling. If a relative path is provided, it is
parsed as being relative to `home.homeDirectory`. Both absolute and relative paths
are supported, and are cleaned before being passed to other functions.

Tests have been rewritten for the new logic, with case handling for reusability.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-25 13:15:29 -05:00
Kristopher James Kent (kjkent)
21399deff2 zsh: improve dotDir handling
Previously, `config.programs.zsh.dotDir` prepended strings with `$HOME`.
This caused issues like nix-community#5100, where `$HOME` is
inconsistently resolved in time for the evaluation of the option. The handling
of this variable is also inconsistent with how paths are handled elsewhere,
including within the same module, where `config.programs.zsh.history.path`
does not mutate the supplied string.

To preserve backwards compatibility, this change prepends
`config.home.homeDirectory` to relative paths, while assigning absolute paths
unchanged. Tests for both cases are added.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-25 13:15:29 -05:00
William Brockhus
c77de65ece
command-not-found: sync with nixpkgs (#7499)
updates command-not-found.pl and adds fish compatibility
2025-07-25 13:09:58 -05:00
Aguirre Matteo
a35f6b6043
trippy: add forceUserConfig option (#7536) 2025-07-24 15:01:14 -05:00
Thierry Delafontaine
64796151f7 opencode: add JSON schema reference to config.json output
- Automatically include "$schema": "https://opencode.ai/config.json" in the generated
  opencode config.json file
- Update documentation to mention the added schema property
- Add corresponding "$schema" entry in test config.json file for validation purposes

Closes #7506
2025-07-24 11:05:45 -05:00
Thierry Delafontaine
08edcbe9df opencode: add support for global custom instructions via rules option
- Introduce `rules` option to provide global custom instructions for opencode
- Write `rules` content to `~/.config/opencode/AGENTS.md` if non-empty
- Update tests to cover presence and absence of `AGENTS.md` file with rules content
2025-07-24 11:05:45 -05:00
Aguirre Matteo
1fde6fb1be
yofi: add module (#7528) 2025-07-23 13:13:14 -05:00