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

2252 commits

Author SHA1 Message Date
Austin Horstman
6f4021da5d deprecations: move just module deprecation to new module
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-05 19:36:44 -05:00
Austin Horstman
9f2912e3a6 hyprshot: add platform assertion
Only available on linux.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-05 17:19:26 -05:00
Austin Horstman
f72f660976 discocss: only generate css when provided
No need to generate a file with empty contents.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-05 16:38:57 -05:00
Austin Horstman
aa10fe094b discocss: fix discordPackage override
error: cannot coerce a set to a string: { _type = "if"; condition =
«thunk»; content = «thunk»; }

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-05 16:38:57 -05:00
Austin Horstman
78fda50bd6 gcc: fix sessionVariables mkIf evaluation error
error: The option `home.sessionVariables.GCC_COLORS' was accessed but
has no value defined. Try setting the option.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-05 16:22:37 -05:00
Austin Horstman
51870a37a3 grep: fix sessionVariables mkIf evaluation error
error: The option `home.sessionVariables.GREP_COLORS' was accessed but
has no value defined. Try setting the option.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-05 16:22:37 -05:00
Aguirre Matteo
87570dbc43 am2rlauncher: add module 2025-10-05 14:01:08 -05:00
Aguirre Matteo
2b64e332a0 amber: add module 2025-10-05 14:00:51 -05:00
Ross Brunton
03f83f513d
vscode: get paths from product.json
The VSCode packages contain a product.json which is used to determine
the extension and config dirs. When the package name is not known,
this change parses this file (using IFD) (which may appear in a few
places) and uses that to generate the paths.

This hopefully allows more VSCode derivatives to "just work" without
Home Manager updates.

Co-authored-by: andre4ik3 <andre4ik3@fastmail.com>
2025-10-04 12:18:50 +02:00
Aidan Gauland
edfbe06e1a treewide: remove aidalgol 2025-10-03 22:59:59 -05:00
Aguirre Matteo
2126d13d7f aliae: add configLocation option 2025-10-03 19:01:20 -05:00
S0AndS0
bd92e8ee4a asciinema: Add module to configure package
Enabling and defining minimal config file example;

```nix
{
  programs.asciinema = {
    enable = true;
    settings = {
      session.idle_time_limit = 2;
    };
  };
}
```

...  _Should_ result in output `~/.config/asciinema/config.toml` of;

```toml
[session]
idle_time_limit = 2
```

Co-authored-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-03 14:21:22 -05:00
Aguirre Matteo
6bbfe2d697 alistral: add module 2025-10-03 13:36:26 -05:00
Austin Horstman
a42e05d9b1 Revert "fish: support theme plugins"
This reverts commit 5a21f4819e.
2025-10-01 11:17:30 -05:00
NovaViper
5a21f4819e fish: support theme plugins
Allows for linking fish plugin theme files to [fish's themes
folder](https://fishshell.com/docs/current/cmds/fish_config.html#theme-files).
Fully allowing for theme plugins to properly be installed declaratively.
Fixes nix-community/home-manager#3724
2025-09-30 14:48:53 -05:00
Aguirre Matteo
10bcab77af aliae: add module 2025-09-30 14:45:48 -05:00
Aguirre Matteo
a65df80783 algia: add module 2025-09-30 14:41:57 -05:00
Thiago Kenji Okada
9e0453a9b0 zsh: source session variable file directly
Right now we load `hm-session-vars.sh` from
`config.home.profileDirectory`, generally resulting in the following
code being generated in `zshenv`:

```
. "/etc/profiles/per-user/<username>/etc/profile.d/hm-session-vars.sh"
```

This is problematic in a few situations. For example, when entering a
`distrobox` environment I got the following error:

```
/home/<username>/.zshenv:.:2: no such file or directory: /etc/profiles/per-user/<username>/etc/profile.d/hm-session-vars.sh
```

Instead, let's point to the path directly to the `/nix/store` by using
`config.home.sessionVariablesPackage` instead. This is more robust and
it is more consistent with other things we source in ZSH.
2025-09-30 07:50:26 -05:00
Aguirre Matteo
580ff74a71 intelli-shell: add module 2025-09-28 19:47:46 -05:00
Aguirre Matteo
50375df1f7 git-worktree-switcher: use cfg.package 2025-09-28 19:40:56 -05:00
Austin Horstman
a97df40c19 zsh: envVarsStr fix indentation
Use new indentation support to generate properly indented variables

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-09-28 14:44:14 -05:00
fk29g
c75fd8e300
gurk-rs: remove references to deprecated 'data_path' option
The 'data_path' key was deprecated upstream a while ago.
See commit d9b538d0 (d9b538d0)
for details.
2025-09-28 09:08:41 +02:00
S0AndS0
1dbb3fd2f7
radio-active: add module to create config files
Configuration entry similar to;

```nix
programs.radio-active.enable = true;
```

By default `ffplay` is used for recording/playback, but that can be
changed by applying either of the following;

```nix
programs.radio-active.settings.AppConfig.player = "vlc";
programs.radio-active.settings.AppConfig.player = "mpv";
```

All other configuration options documented by;
https://github.com/deep5050/radio-active?tab=readme-ov-file#default-configs
maybe applied under the `AppConfig` attribute set.

Finally, the `aliases` attribute set allows for defining key/value pares
that will generate a `~/.radio-active-alias` of bookmarked stations, for
example something like;

```nix
programs.radio-active.aliases = {
  "Deep House Lounge" = "http://198.15.94.34:8006/stream";
};
```

... will result in;

```
Deep House Lounge==http://198.15.94.34:8006/stream
```

WARN: Darwin hosts may report issues about `pkgs.vlc`

Co-authored-by: Robert Helgesson <robert@rycee.net>
2025-09-28 08:58:42 +02:00
Austin Horstman
3aaf340173 zsh: optimize setOptions with array-based loops
Replace individual setopt statements with array-based loops for cfg.setOptions.
Use lib.hm.zsh.define for consistent array formatting and add unset statements
to clean up temporary variables, improving consistency with other zsh optimizations.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-09-27 13:18:01 -05:00
Austin Horstman
04f672b5db zsh/history: optimize history options with array-based loops
Replace individual setopt/unsetopt statements for history options with efficient
array-based loops. Also optimize history substring search key bindings using
the same pattern. Use lib.hm.zsh.define for consistent array formatting and
add unset statements to clean up temporary variables.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-09-27 13:18:01 -05:00
Austin Horstman
c26a2ac2e4 zsh/plugins: optimize plugin loading with array-based loops
Replace individual plugin PATH/fpath statements and conditional sourcing with
efficient array-based loops. Use lib.hm.zsh.define for consistent array
formatting and add unset statements to clean up temporary variables.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-09-27 13:18:01 -05:00
Aguirre Matteo
e3e15e765d aichat: add agents option 2025-09-26 14:53:41 -05:00
Aguirre Matteo
9947d3c003 aider-chat: add module 2025-09-26 14:52:49 -05:00
Aguirre Matteo
8a1357854d airlift: add module 2025-09-26 14:52:31 -05:00
Robert Helgesson
f3235d91ab mods: get ipsavitsky from Nixpkgs maintainers list 2025-09-26 09:32:44 +02:00
andre4ik3
c1a47eae05
desktoppr: init module (#7878) 2025-09-25 21:28:13 -05:00
Aguirre Matteo
68a92b0301 aiac: add module 2025-09-24 16:11:30 -05:00
Robert Helgesson
142acd7a7d bash: source session variable file directly 2025-09-24 15:18:50 +02:00
Josh Romer
f678263ecf mpvpaper: fix typos 2025-09-24 08:01:25 -05:00
David Chocholatý
6ce2e18007 nix-your-shell: Allow using nom for nix commands 2025-09-24 00:33:25 -05:00
June Stepp
131f4e22c3 anki: rename sync.passwordFile, improve documentation
The account password is different from the sync key needed here. Add
instructions for how to get the sync key, and make the option name
accurate.
2025-09-23 13:44:15 -05:00
June Stepp
f5852ea36c anki: fix ankiAddons.passfail2 example 2025-09-23 13:44:15 -05:00
June Stepp
293d105993 anki: strip usernameFile and passwordFile contents 2025-09-23 13:44:15 -05:00
Aguirre Matteo
366b60b8a0 ahoviewer: add module 2025-09-23 12:26:21 -05:00
Dietrich Daroch
9a2dc0efbc zellij: Add extraConfig
This allows working around [#4659](https://github.com/nix-community/home-manager/issues/4659)

While fixing `toKDL` might be fun, I just don't think it's a good use of
anyone's time.

---

This is still untested.
2025-09-22 21:08:51 -05:00
Austin Horstman
9b6e609a6e octant: remove module
Package removed from nixpkgs, project repository was archived two years
ago and no longer maintained.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-09-22 13:37:04 +02:00
Aguirre Matteo
61c84a3bbf fabric: add module 2025-09-21 09:18:26 -05:00
Aguirre Matteo
20d75ecd36 animdl: add module 2025-09-21 09:15:59 -05: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
jaredmontoya
55b1f5b7b1
wleave: init (#7835) 2025-09-19 10:43:34 -05:00
Joaquín Triñanes
363007f129 nushell: expose config dir location as option 2025-09-18 21:58:26 -05:00
Joaquín Triñanes
b47ea12ff4 mise: statically generate nushell config 2025-09-18 21:45:45 -05:00
Joaquín Triñanes
3f47f72c97 mise: disable shell integration when package == null
There's a warning already in place for this, but instead of skipping the
shell integration the build process would fail due to `lib.getExe` being
passed a null value.
2025-09-18 21:45:45 -05:00
Michael Daniels
3cb08dd360 nvchecker: add module 2025-09-18 21:36:47 -05:00
Aguirre Matteo
b8596c1b23 acd-cli: add module 2025-09-18 21:18:14 -05:00