1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-14 04:51:08 +01:00
Commit graph

1013 commits

Author SHA1 Message Date
Austin Horstman
c84396bda0
rofi: modes optional (#7003)
Don't include the modes option if it hasn't been used.
2025-05-08 10:45:00 -05:00
Shahar "Dawn" Or
cea975d46d
rofi: modes option (#6115)
Adds `programs.rofi.modes` option.
For the tiny convenience of supporting the custom mode syntax.
2025-05-08 08:16:34 -05:00
Plume
2ede089d11
git: configure patdiff through [patdiff] git section (#6978)
This adds the ability to enable the patdiff program as git differ.
Website of the project: https://opensource.janestreet.com/patdiff/
2025-05-08 08:15:51 -05:00
Darren Gibson
ec71b51628
sbt: Scoping credentials to ThisBuild (#6026)
In Sbt (prior to 2.0) a sbt key not scoped to `ThisBuild` will always be at the project level, rather than at the build level.
In order to do some things, like use a private repository configured by sbt with sbt-scalafix, we need the credentials scope to the build, otherwise the credentials show as non-existent.
2025-05-07 18:40:35 -05:00
ScribblyBirb
a8e2d08ffd
alot: allow commas in maildir path (#6989)
Previously, maildir path was not escaped in any way, so using a path with commas
lead to a TypeError:

```
TypeError: expected string or bytes-like object, got 'list'
```
2025-05-07 18:17:09 -05:00
Andrew Marshall
708074ae6d treewide: Prevent IFD by default
Import-from-derivation (IFD) has problematic performance, and is disabled in
Nixpkgs by policy. It is arguably good practice for libraries to avoid
it whenever possible, as it has poor ergonomics in some cases,
especially with dry builds, as it requires multiple eval+build phases.

As such, prevent its use in Home Manager by default by putting existing
tests that use IFD behind a config. In CI, run a first pass with IFD
disabled, skipping tests without the config. Then run a second pass with
IFD enabled and including tests with the config. This second pass will
also run tests without the config, but they should be cached from the
previous run, so the cost is not double (only eval time should be paid
twice). It’s necessary to change from using NMT’s `run` to `build` as
`run` itself uses IFD.

Of the tests that have the config:

- kitty/theme-to-themeFile: this is a test for deprecated config, and so
  should be removed eventually anyway
- podman: the implementation relies on IFD to create individual systemd
  units from the derivation output, and so it is not straightforward to
  remove the IFD; doing so would require rethinking how the module works
  to instead have the systemd unit files included as-is rather than as
  individually configured units in the Nix config.
2025-05-07 10:34:18 -05:00
awwpotato
5da6eafceb
treewide: remove unused code (#6985) 2025-05-07 10:03:21 -05:00
Austin Horstman
76274a2130 tests/man: index.bt -> index.db
Looks like the generated cache is now using index.db
2025-05-07 10:02:56 -05:00
Aguirre Matteo
8a318641ac
sway-easyfocus: add module (#6976) 2025-05-04 21:46:28 -05:00
Aguirre Matteo
621986fed3
i3bar-river: add module (#6967) 2025-05-03 19:12:02 -05:00
Aguirre Matteo
64f7d5e6b9
wofi: allow path to style.css (#6966) 2025-05-03 19:11:10 -05:00
Ihar Hrachyshka
75268f6252
tests: enable all firefox tests on darwin (plus derivations) (#6960) 2025-05-03 10:51:18 -05:00
Ihar Hrachyshka
929f8ee836
thunderbird: deprecate darwinSetupWarning option (#6531)
nixpkgs support thunderbird for darwin now
2025-05-03 10:40:34 -05:00
Aguirre Matteo
123297c57e
onagre: add module (#6958) 2025-05-02 22:09:45 -05:00
Aguirre Matteo
d6b0c05457
visidata: add module (#6956) 2025-05-02 11:14:19 -05:00
Aguirre Matteo
669e813c75
element-desktop: add module (#6935) 2025-05-02 08:17:24 -05:00
Austin Horstman
9389f373be
pls: enableAliases -> enableShellIntegration (#6932)
Allow granular control of alias creation utilizing our shell integration
options.
2025-04-29 20:37:20 -05:00
Aguirre Matteo
d0d9d0a145
mpvpaper: add module (#6926)
Provides a module for configuring mpvpaper a video wallpaper program for wlroots based wayland compositors. It provides options for setting the 'pauselist' and 'stoplist'.
2025-04-28 11:49:19 -05:00
Benedikt M. Rips
6f974faa19
gh: add hosts option (#6925)
Add a programs.gh.hosts option that -- similar to programs.gh.settings -- gives structured access to $XDG_CONFIG_HOME/gh/hosts.yml.
2025-04-28 10:12:47 -05:00
Aguirre Matteo
69c60b035e
kickoff: add module (#6918) 2025-04-28 09:47:38 -05:00
Austin Horstman
cf351071fb lsd: enableAliases -> enableShellIntegration
Allow granular control of alias creation utilizing our shell integration
options.
2025-04-27 22:15:34 -05:00
Austin Horstman
7b2aae3fb3 eza: add tests 2025-04-27 14:30:15 -05:00
Aguirre Matteo
50bb714a82
rmpc: add module (#6910) 2025-04-27 09:32:40 -05:00
Aguirre Matteo
2f5819a962
onedrive: add module (#6907) 2025-04-26 16:40:10 -05:00
Coolio
4d2d322317
thefuck: Add alias option (#6909)
Added an alias option supported by bash, zsh, fish, and nushell integration
2025-04-25 19:39:49 -05:00
B1kku
542078066b
wezterm: don't create config if extraConfig is empty, and don't create one by default (#6908)
Tests updated to check the file wasn't created when no config is
provided.
2025-04-25 10:11:18 -05:00
K900
abfad3d295 treewide: substituteAll -> replaceVars/substitute
substituteAll is now officially deprecated.
2025-04-24 13:40:11 +02:00
Austin Horstman
c42f04c83f
mkFirefoxModule: revert userChrome changes (#6887)
Reverting all the recent userChrome changes because of too many issues
and bikeshedding.
2025-04-22 20:44:48 -05:00
Josh Heinrichs
42d90297b3
git: support maintenance on darwin (#6868) 2025-04-21 14:25:57 -07:00
awwpotato
22b326b42b
television: add module (#6866) 2025-04-21 12:26:20 -05:00
awwpotato
be4e5ec62c
nix-init: add module (#6864)
Co-authored-by: uncenter <47499684+uncenter@users.noreply.github.com>
2025-04-21 12:25:56 -05:00
awwpotato
08b85bd000
vesktop: add support for multiple themes (#6860) 2025-04-21 12:25:22 -05:00
Austin Horstman
3fbe9a2b76 tests/ranger: null package
Stubbing not working with the default cfg.finalPackage. Pass null to
reduce closure size
2025-04-20 20:10:07 -07:00
Oughie
14eda3db4e clock-rs: add module
clock-rs is a modern, digital clock that effortlessly runs in your terminal
2025-04-20 20:02:06 -07:00
Mirko Lenz
1d2d6b9568 uv: init module 2025-04-20 14:32:29 -07:00
LilleAila
a0461b67ff vesktop: created module
Added a home-manager module for vesktop that allows for configuring both
vesktop and vencord, and creating a custom theme.
2025-04-20 13:47:45 -07:00
Kiara Grouwstra
aa2c7ac404 wallust: add module
closes #6566
2025-04-20 13:16:28 -07:00
awwpotato
bb8d286649
zed-editor: add themes option (#6832) 2025-04-20 00:29:44 -05:00
Karun Sandhu
b8d186abf8
fish: allow multiple commands for command option in abbreviations (#6851) 2025-04-20 00:23:07 -05:00
Miku B
9676e8a52a
inori: init module (#6289) 2025-04-19 09:05:58 -05:00
Austin Horstman
991a480472
mkFirefoxModule: userchrome support derivations (#6844) 2025-04-18 19:57:48 -05:00
Austin Horstman
4bc9b08c33 tests/broot: stub broot 2025-04-18 15:56:09 -07:00
Austin Horstman
412eb166eb tests/thunderbird: dont use realPkgs
Not relevant for testing.
2025-04-18 15:56:09 -07:00
d-brasher
54b494a77f keepassxc: add module 2025-04-18 11:35:36 -07:00
octvs
5e6a8203ce
khard: add option to set mutiple subdirs (#6823)
Add new option `accounts.contact.accounts.<name>.khard.addressbooks`.

Remove the previous soln,
`accounts.contact.accounts.<name>.khard.defaultCollection`, which is
superseded with the new option.

Add a new test to check the new `addressbooks` option. Modify an
existing test which was checking the removed `defaultCollection`.

Previous commit a38f88 allowed a hardcoded path to be set for khard if
the path set for its local storage is not the actual `vdir`. This was
accomplished via adding the `defaultCollection` option. However this
accepted only a single sub-directory, and when one has more than a
single collection on the same dir this would require repetition on
configuration to set [1].

This is a continuation of the soln given to
nix-community/home-manager#4531, refer to there and the previous PR [2]
for reference.

[1]: https://github.com/nix-community/home-manager/issues/4531#issuecomment-2701156246
[2]: https://github.com/nix-community/home-manager/pull/5220
2025-04-18 09:38:13 -05:00
Austin Horstman
72526a5f7c
tests/firefox: fix test commands (#6840)
Tests passed, but looks like `nmt` was swallowing the command not found
errors.
2025-04-17 14:45:55 -05:00
isabel
e72178b84e tests/atuin: add theme test 2025-04-17 11:03:18 -07:00
Austin Horstman
2c71aae678 tests/firefox: validate folder linking
Make sure we're linking all folder contents when a directory is
provided.
2025-04-17 08:01:20 -07:00
Austin Horstman
baa2a0b3bd tests/firefox: consolidate userChrome.css test files
Not sure why I had two of them..
2025-04-17 08:01:20 -07:00
Austin Horstman
c3c91dd8b4
mkFirefoxModule: fix userChrome with leading comment (#6836)
userChrome lines that started with a leading comment would cause an eval failure.
2025-04-17 09:31:27 -05:00