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

4257 commits

Author SHA1 Message Date
r-vdp
f8e0560734 alacritty: check existence of the theme without using IFD
This makes it possible to evaluate a config using the theme option with
--no-allow-import-from-derivation
2025-10-09 08:16:17 -05:00
WeetHet
7add554458 macos-remap-keys: add Fn (Globe) keycode 2025-10-09 08:15:50 -05:00
WeetHet
219150a73c macos-remap-keys: add japanese Kana and Eisuu keycodes 2025-10-09 08:15:50 -05:00
Lena Fuhrimann
685d8d85d0 desktopEntry: Remove deprecated category from example
The `Application` category is deprecated and should not be used as an
example anymore.
2025-10-09 12:25:12 +02:00
Aguirre Matteo
1a09eb84fa news: add amoco entry 2025-10-07 11:06:11 -05:00
Aguirre Matteo
c6f8669f09 amoco: add module 2025-10-07 11:06:11 -05:00
jaredmontoya
38fbd8909e dircolors: add nushell integration 2025-10-07 11:02:19 -05:00
jaredmontoya
462363e248 dircolors: remove no-op 2025-10-07 11:02:19 -05:00
Aguirre Matteo
5443ca20ed news: add amfora entry 2025-10-07 08:28:39 -05:00
Aguirre Matteo
40ff79012e amfora: add module 2025-10-07 08:28:39 -05:00
Bruno BELANYI
929535c308 git: difftastic: use 'option' attrset
This will avoid having to enumerate and hard-code default values.
2025-10-06 09:41:50 -05:00
Brian Lyles
7d3d323e90 git: add extraArgs option for difftastic
This option will cover any other arguments that aren't made available
with dedicated options.
2025-10-06 08:06:53 -05:00
Brian Lyles
1652349e57 git: add option for difftastic context
The ability to control the number of contextual lines is a basic
expectation of a diff program, so a dedicated option feels warranted.
2025-10-06 08:06:53 -05:00
Dash
b72be79a42
smug: add new option introduced by v0.3.7 (#7930)
Adds 'selected' option for tmux windows
2025-10-06 08:03:47 -05:00
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
3f07ce05c3 deprecations: add deprecations/removal module
Add a module for consolidating the module level deprecations in an
easier to spot location.

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
Austin Horstman
06e268d66b services/barrier: drop module
Upstream package removed and unmaintained project. Recommended to
replace with maintained alternatives such as `deskflow` and `input-leap`

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-05 14:19:07 -05:00
Aguirre Matteo
9070d7d32b news: add am2rlauncher entry 2025-10-05 14:01:08 -05:00
Aguirre Matteo
87570dbc43 am2rlauncher: add module 2025-10-05 14:01:08 -05:00
Aguirre Matteo
8b62404497 news: add amber entry 2025-10-05 14:00:51 -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
Jairo Llopis
817ace497b lorri: make notifications service auto-start if enabled
Without this fix, the notifications service would need to start by hand
every time.

@moduon MT-1075
2025-10-03 23:01:12 -05:00
Enrico Stemmer
bdf78c2d2c hyprshell: fixed path for style file 2025-10-03 23:00:58 -05:00
Aidan Gauland
edfbe06e1a treewide: remove aidalgol 2025-10-03 22:59:59 -05:00
Aguirre Matteo
edafd6da19 news: add aliae's configLocation option entry 2025-10-03 19:01:20 -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
dd2b0f7492 news: add alistral entry 2025-10-03 13:36:26 -05:00
Aguirre Matteo
6bbfe2d697 alistral: add module 2025-10-03 13:36:26 -05:00
saygo-png
004753ae6b home-manager: add backup overwrite option
When using the backupFileExtension option, if the backup file exists,
the activation process fails. This adds an option to instead overwrite
the old backup instead of failing.
2025-10-01 11:45:00 -05:00
x71c9
7500458e85 files: improve collision error message formatting for readability
Render each bullet as a single line at runtime while keeping ~80-column source formatting. Prevents truncation of the colliding path in service logs, reducing the need to inspect journal output.
2025-10-01 11:43:30 -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
dcf52ade95 news: add aliae entry 2025-09-30 14:45:48 -05:00
Aguirre Matteo
10bcab77af aliae: add module 2025-09-30 14:45:48 -05:00
Aguirre Matteo
48e7d82187 news: add algia entry 2025-09-30 14:41:57 -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
619ae56929 news: add intelli-shell entry 2025-09-28 19:47:46 -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
Austin Horstman
2b03dc82bb lib/zsh: revert escapeShellArg in toZshValue
Causes variables to be generated with single ticks breaking shell
expansion.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-09-28 14:44:14 -05:00
Austin Horstman
64a809b198 lib/zsh: exportAll add support for indentation
Allow indenting the output level

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-09-28 14:44:14 -05:00