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

1054 commits

Author SHA1 Message Date
Giuseppe Ruggiero
20c7963471
powerline-go: fix PROMPT_COMMAND duplicate in bash initialization (#7697) 2025-09-13 19:26:44 -05:00
Aguirre Matteo
768a7042a6
go: use env file instead of home.sessionVariables (#7751) 2025-09-13 19:25:31 -05:00
B1kku
e286f848a0
lutris: add defaultWinePackage option (#7778) 2025-09-13 19:08:10 -05:00
Austin Horstman
69083b3cdd jjui: init module
Add a module for configuring the jjui program.
2025-09-12 12:35:11 -05:00
Austin Horstman
9eab59f3e7 thefuck: remove module
Program removed upstream, let module stay around for a bit in case it came back.
We can re-introduce if the situation changes, but we have an alternative.
2025-09-11 23:09:47 -05:00
jupblb
e0154ae416 pistol: change config path for macOS 2025-09-10 13:39:08 -05:00
S0AndS0
a60021a8c9
pianobar: add module to create config file (#7734)
Configuration entry similar to;

```nix
    programs.pianobar = {
      enable = true;
      user = "groovy-tunes@example.com";
      password_command = "cat /run/secrets/pianobar/groovy-tunes";
    };
```

... will produce a `~/.config/pianobar/config` file with content of;

```conf
user = groovy-tunes@example.com
password_command = cat /run/secrets/pianobar/groovy-tunes
```

...  and add `pianobar` to `home.packages` list.

All configurations that `man pianobar` documents _should_ available via
`extraOptions` attribute.

License, according to `NixOS/nixpkgs` is MIT, and that seems to match
what's shown on `PromyLOPh/pianobar` repo too;

- d92bfd5feb/pkgs/by-name/pi/pianobar/package.nix (L42o)
- https://github.com/PromyLOPh/pianobar/?tab=License-1-ov-file#readme
2025-09-09 22:43:46 -05:00
Matt Bryant
d587e11cef kitty: add quick-access-terminal configuration 2025-09-09 13:53:07 -05:00
Aguirre Matteo
b21c1a61a7
vivid: add module (#7772) 2025-09-03 21:50:05 -05:00
Aguirre Matteo
1a6f6fb409 swappy: add module 2025-09-02 13:20:05 -05:00
Aguirre Matteo
b7cc2466f1 distrobox: add settings option and other general improvements 2025-08-31 18:32:49 -05:00
Aguirre Matteo
3882f88691 ssh: remove top level options 2025-08-26 17:12:13 -05:00
Poseidon
3c3510e61c programs/nix-search-tv: add quotes
Add quotes to the preview command to prevent the shell from interpreting
options with `<name>` as writing the output of the command name to a
file with the name of the remainder of the option name.
2025-08-20 20:30:51 -05:00
Gautham Venkataraman
8af2e064f9 satty: add satty to program modules
Add satty, a wlroots based screenshot annotation tool, to the programs
module.
2025-08-19 06:12:13 -05:00
BeLeap
e293a1a12f aerospace: add test 2025-08-18 21:17:26 -05:00
Kirottu
0a06e46a3b
anyrun: Added margin config option (#7687)
Added the new `margin` config option to the Anyrun module
2025-08-18 12:26:27 -05:00
chillcicada
bc01493178
mypy: init module (#7656) 2025-08-17 09:46:27 -05:00
Austin Horstman
8b4ac14968
claude-code: init module (#7685)
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-08-16 21:33:06 -05:00
Mohammad Rafiq
27a26be51f gemini-cli: init module 2025-08-11 23:55:48 -05:00
Benedikt Rips
67393957c2 less: configure LESS options 2025-08-11 10:01:10 -05:00
Benedikt Rips
dfcea0573d less: rename keys to config 2025-08-11 10:01:10 -05:00
Benedikt Rips
9a132f2971 less: generate lesskey only when non-empty 2025-08-11 10:01:10 -05:00
Kyure_A
5f8bb123b9 sheldon: init module
sheldon: add module

sheldon: some fixes

Revert "sheldon: some fixes"

This reverts commit ea859bc3e3.

sheldon: fix missed variable name

sheldon: add description and example (blank)

sheldon: add shell configs

sheldon: format code

sheldon: add test case

maintainers: add Kyure-A as maintainer

sheldon: add completions option and various fixes

sheldon: fix missed file name

sheldon: fix setting to simple

sheldon: add option to enable completion script

sheldon: change  default value of options to enable completions to true

sheldon: fix how commands are combined

sheldon: fix missing prefix

sheldon: change mkIf to be enclosed in parentheses

sheldon: fix expression type

sheldon: add mainrs as maintainer
2025-08-07 19:39:04 -05:00
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
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
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
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
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
PopeRigby
98aed449ba television: update channel location
Co-authored-by: awwpotato <awwpotato@voidq.com>
2025-08-02 17:46:16 -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
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
a1b7e7f510 tests/antidote: remove deprecated relative path usage
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
9ff467fbe7 tests/zsh: add more path test cases
Test the new lib file path function

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-28 14:47:42 -05:00
Austin Horstman
72cc1e3134 tests/hyprlock: update tests with upstream changes
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-27 07:03:54 -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
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
1df662dde0 opencode: add empty-settings test
- Add `empty-settings` test to ensure the config file is not generated
  when no settings are provided
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
Friedrich Altheide
e9c599e40c
yarn: add module (#7526) 2025-07-23 10:42:37 -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
Jairo Llopis
13a83d1b65
zed-editor: support tasks (#7493)
Just like other features, they can merge with preexisting JSON5
settings.
2025-07-20 19:14:57 -05:00
zorrobert
7834432ca5
thunderbird: support declaration of address books (#7443)
Adds support for address books using the `accounts.contact.accounts.*` options.
2025-07-20 19:12:35 -05:00