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

1289 commits

Author SHA1 Message Date
Austin Horstman
0f355844e5
tests/firefox: fix bookmarks test (#7292)
Not run in CI so didn't notice. We had a shared file. But, now attrset
and list differ in what they can generate. Separate the expected test
files.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-06-18 14:39:32 -05:00
Austin Horstman
85e68c6a38 tests/neovim: stub meta.teams
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-06-18 11:12:29 -05:00
Austin Horstman
f754e377dc
tests/yazi: manager -> mgr (#7289)
Forgot to update test when we updated examples.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-06-18 09:29:56 -05:00
xaltsc
0edffd088e
firefox: allow separators in bookmarks (#7284)
Allow users to create separators in their Firefox bookmarks.

Co-authored-by: xaltsc <hey@xaltsc.dev>
2025-06-16 15:51:11 -05:00
DerRockWolf
66523b0efe
thunderbird: support declaration of calendars (#5484)
Adds calendar support using the `accounts.calendar.accounts.*` options.
2025-06-15 19:21:02 -05:00
Matthieu Coudron
79dfd9aa29
meli: move freeformat settings to example (#7259)
these hardcoded freeformat settings dont add anything over the default,
worse they generate empty sections which can then clash with user included config (my usecase).
It's best to move those to example.
2025-06-13 15:25:19 +02:00
Thierry Delafontaine
427c96044f codex: init 2025-06-09 22:33:16 -05:00
Rishi Vora
e9763eb195
niriswitcher: add module (#7246) 2025-06-09 22:30:27 -05:00
Evgeny Zislis
1df816c407
fix: ensure newline after vim.cmd[[source...]] in neovim init.lua (#7219)
Fix an issue where the generated ~/.config/nvim/init.lua lacks a newline after the vim.cmd [[source ...]] directive. Without this newline, subsequent lua configuration is concatenated onto the same line, breaking lua syntax.

init.lua Before:

vim.cmd [[source /nix/store/...]]vim.opt.rtp:prepend(...)

After:

vim.cmd [[source /nix/store/...]]
vim.opt.rtp:prepend(...)
2025-06-09 22:10:54 +02:00
Egor Konovalov
35e1f5a7c2
mc: add midnight commander module (#7225) 2025-06-09 09:25:11 -05:00
Aguirre Matteo
2835e8ba0a
nyxt: add module (#7232) 2025-06-08 11:27:00 -05:00
Aguirre Matteo
bd8946c773
lazysql: add module (#7231) 2025-06-07 23:51:28 -05:00
Mohamad Fikri
2d7d65f65b
fish: fix the binds.*.erase option (#7186)
The `command` option is optional when the `erase` option is true,
because when in erase mode, bind does not require any other arguments
2025-06-06 15:57:26 -05:00
Austin Horstman
812b43b45d tests/thefuck: explicit stubbing
Avoid the removal alias exception

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-06-06 09:11:58 -05:00
Jairo Llopis
0ee810c839
zed-editor: respect user interactivity with settings and keymaps (#6993)
Merges frozen config from HM into dirty config.

Fixes https://github.com/nix-community/home-manager/issues/6835
2025-06-05 21:20:23 -05:00
Austin Horstman
de8463dd3e
zsh: add plugins.*.completions paths to fpath (#7197)
Autocompletion scripts and additional plugin functions are located in
specific directories that might not match the plugin source script but
need to be included in fpath before calling compinit.

An option to provide a path to these scripts is added to add the paths
to fpath before calling completionInit.

Co-authored-by: @zimeg <zim@o526.net>
2025-06-05 21:11:35 -05:00
Rosario Pulella
09b0a4b0da
dconf: revert: dconf: Provide dconf (#7215)
Providing dconf via hm in this manner provided to be problematic for 
user with systems that were already providing dconf (like ubunut).

Revert ff73544e4a
2025-06-05 15:06:51 -05:00
jaredmontoya
13a45ede6c
aichat: fix config example (#7212) 2025-06-05 08:45:29 -05:00
jaredmontoya
86b95fc1ed
aichat: init (#7207)
aichat is an all in one CLI tool for AI interactions.
On first run it prompts you to create a config so I made a home manager module to do this declaratively.
2025-06-04 13:35:39 -05:00
Austin Horstman
c7fdb7e90b tests/mako: test extraConfig
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-06-01 21:10:38 -05:00
Austin Horstman
6861cfa165 mako: remove criteria
No longer serves a purpose, was short lived and most people are either
using `settings` or will use `extraConfig`

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-06-01 21:10:38 -05:00
ckgxrg
214f9bd3a6
linux-wallpaperengine: fix evaluation error when passing null (#7161) 2025-05-30 10:26:35 -05:00
Alex Hamilton
d36ac1f0db
hwatch: add module (#7158) 2025-05-30 10:16:26 -05:00
Thomas Mühlbacher
d3a3aee558
dconf: Fix Gio module variable breakage (#7146)
In some setups, this would cause missing Gio modules that cause e.g.
Nautilus to not be able to view the XDG trash, and potentially other
issues.

Fixes: ec8205c3 ("dconf: set env var")
Fixes: #7143
2025-05-30 07:57:34 -05:00
Mohamad Fikri
85a27991d5
fish: add binds option (#7121)
binds options is a wrapper of fish_user_key_bindings that contains
custom binds
2025-05-28 22:35:08 -05:00
MunsMan
13ed57aaa6
meli: adding the meli email client (#7111)
Meli email client integrated into the accounts.email.accouts settings.
2025-05-28 22:30:10 -05:00
Ivan Kirilov Dimitrov
ad88262f06 kitty: make extraConfig obey mkOrder
this change makes kitty.extraConfig obey the lib.mkOrder function so
that text can be inserted at the right place.
2025-05-28 22:03:23 -05:00
Lyndon Sanche
f5b12be834
polkit-gnome: Change After target (#7137)
Before this change, I was getting `cannot open display:` errors
2025-05-27 19:14:03 -05:00
repparw
ad22169efa
jellyfin-mpv-shim: add module (#7129)
Init of service jellyfin-mpv-shim, emulating plex-mpv-shim already provided.
2025-05-27 19:10:18 -05:00
Eldolfin
d23d20f55d
sway: add bindswitches option (#7095)
Adds the bindswitches option to the sway module.

Bindswitches allows you to run a sway command when a state changes (when a certain event occurs).
See https://github.com/swaywm/sway/wiki#clamshell-mode and sway(5) for more information

It was already possible to configure this through sway.extraConfig but I find this approach dirty as described by the Nix RFC 42, and there is currently no settings as it describes.
2025-05-25 21:46:49 -05:00
Rosario Pulella
03affdcbf2
dconf: Fix dconf config not apply correctly (#7130) 2025-05-25 20:39:22 -05:00
Austin Horstman
c096c39afc sketchybar: config sourceFileOrLines
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-05-24 19:54:43 -05:00
Austin Horstman
e4b0102f69 sketchybar: use finalpackage wrapper
Use finalPackage pattern with wrapper so that people who don't use the
service can benefit from the other options.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-05-24 19:54:43 -05:00
Austin Horstman
5dc3bc3368 sketchybar: add module
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-05-24 19:54:43 -05:00
Sefa Eyeoglu
cf9ff6d993
wayvnc: init (#7123)
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2025-05-24 18:38:54 -05:00
Rosario Pulella
f9186c64fc
Revert "fontconfig: Fix missing default fontconfig files (#7045)" (#7103)
This reverts commit 65d2282ff6.
2025-05-21 20:04:44 -05:00
octvs
29dda415f5
qutebrowser: add support for per domain settings (#7078)
Add `programs.qutebrowser.perDomainSettings` which let's one to set
configuration options for specific URLs [1].

It option doesn't check if the options passed to it are valid, it
translates the config to python code to be written on the file as is.
Mimicking the behaviour of `programs.qutebrowser.settings`.

Added a new test case `test-qutebrowser-url-settings` for testing the
implementation.

[1]: bb7bbb6ead/doc/help/configuring.asciidoc (per-domain-settings)
2025-05-20 12:43:52 -05:00
Rosario Pulella
65d2282ff6
fontconfig: Fix missing default fontconfig files (#7045)
This adds the fontconfig's default files to
`home-path/etc/fonts/fonts.conf` and `home-path/etc/fonts/conf.d/*`
2025-05-20 08:22:08 -05:00
Damien Cassou
2097441633 services.home-manager.autoExpire: add support for darwin 2025-05-20 08:10:57 -05:00
awwpotato
74d31e1165
ptyxis: init module (#7075) 2025-05-16 15:29:26 -05:00
Nick DeGroot
a1a72d18ee
pgcli: init (#7072) 2025-05-15 22:50:09 -05:00
Jonathan Bouchard
b022c9e3b8
vscode: allow specifying paths for VSCode JSON settings (#7055)
Enables users to provide paths to JSON files for VS Code settings,
tasks, and keybindings. This allows for more flexible configuration
management and reuse of existing configuration files instead of using inline configurations.
2025-05-15 13:32:46 -05:00
Damien Cassou
c09ccd7d39 services.borgmatic: add initial support for darwin 2025-05-15 13:07:13 -05:00
Damien Cassou
3b930bb653 services.nix-gc: improve error message when nix.gc.frequency is invalid on darwin
Previously, if an invalid value was passed, the build would fail with:

       error: attribute '"00:02:03"' missing
       at /nix/store/sz92b5gqi0ma61d18fwbihi8p37mkvir-source/modules/services/nix-gc.nix:69:5:
           68|     in
           69|     freq.${frequency};
             |     ^
           70|

There was an assertion that should have prevented this from happening
but the crash would happen before the assertion gets a chance to stop
the build with a nice error message.

This commit both gives the assertion a chance to trigger and improves
the assertion's error message.
2025-05-15 13:07:13 -05:00
Rosario Pulella
ad1e8bb782
dbus: Create with pacakges options (#7064)
This adds a module for dbus with only one option, `packages`.
The `dbus.packages` options allows users to specify packages to have
their dbus service files (from `/share/dbus-1/services`) linked to the
users dbus services directory (`$XDG_DATA_HOME/dbus-1/services/`),
effectively enabling the services.
2025-05-15 12:59:12 -05:00
Thiago Kenji Okada
5f36563a5c zsh: consider zsh.{profile,login,logout,env}Extra in prezto
Right now the `zsh.prezto` module ignores the contents of the
`zsh.{profile,login,logout,env}Extra` options, so it means that if you
try to set, e.g., `zsh.profileExtra = "something";` this option will be
(silently) ignored.

This commit fixes another issue: since the main `zsh` module sets
`home.file."${relToDotDir".zshenv"}".text` while `zsh.prezto` set the
same file using `.source`, `zsh.prezto` would have priority so the
environment variables from Home-Manager would not be loaded in non-NixOS
systems. Now that we are using `.text` for both, the issue is fixed.
2025-05-13 19:59:12 -05:00
awwpotato
b44c39cf46
foliate: fix theme settings example (#7053) 2025-05-13 19:06:18 -05:00
awwpotato
8d832ddfda
foliate: init (#7049) 2025-05-13 12:05:32 -05:00
Austin Horstman
df556f2a17 tests/mako: add a original deprecation test
Make sure old options still work
2025-05-13 09:41:11 -05:00
Austin Horstman
78ad8e3c31 tests/mako: add a deprecation test
Make sure old criteria still works
2025-05-13 09:41:11 -05:00