1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-05 08:16:56 +00:00
Commit graph

1138 commits

Author SHA1 Message Date
Robert Helgesson
f2d32e46fa
broot: use hjson-go
Reduces the build closure quite a bit.
2025-02-04 23:58:20 +01:00
Robert Helgesson
7a3f0b3b8d
tests: rework derivation stubbing
Instead of having to manually stub packages that should not be
downloaded we instead automatically stub all packages (except a small
list of whitelisted ones). Tests can re-introduce the real package by
using the `realPkgs` module argument.
2025-02-04 23:58:20 +01:00
Robert Helgesson
24bb01ea17
tests: avoid unnecessary test script interpolation 2025-02-04 22:46:40 +01:00
Matthieu Coudron
7abcf59a36
mpv: support includes directives (#6391)
to allow mixing imperative and declarative config
the includes are at the end of the config
2025-02-04 12:07:35 +01:00
Timon Schelling
8544cd0920
lapce: add module (#5752)
Adds the 'programs.lapce' module for configuring lapce text editor.
Options for settings, plugins and keymaps are available.
2025-02-01 14:03:26 +01:00
utzuro
055c67056d
fcitx5: add waylandFrontend option to not set env vars (#5431) 2025-02-01 11:54:11 +01:00
Austin Horstman
801ddd8693 hyprland: use package stubs
Reducing closure size for tests.
2025-01-31 20:47:14 -06:00
Austin Horstman
9afd022013 wayfire-stubs: add stubs for wayfire tests
Reducing closure from 500MB to 357MB
2025-01-31 20:47:14 -06:00
Austin Horstman
c4f28f282f spectrwm-stubs: add stubs for spectrwm tests
Reducing closure from 500MB to 357MB
2025-01-31 20:47:14 -06:00
Austin Horstman
e17bdf3191 herbstluftwm-stubs: add stubs for herbstluftwm tests
Reducing closure from 500MB to 357MB
2025-01-31 20:47:14 -06:00
Austin Horstman
c4f4b1e2fa bspwm-stubs: add stubs for bspwm tests
Reducing closure from 500MB to 357MB
2025-01-31 20:47:14 -06:00
Austin Horstman
02dc2e827f river-stubs: add stubs for river tests
Reducing closure from 500MB to 357MB
2025-01-31 20:47:14 -06:00
Austin Horstman
e0a2df3193 i3-stubs: add more stubs
Reducing closure from 500MB to 357MB
2025-01-31 20:47:14 -06:00
Austin Horstman
644552519e sway-stubs: add more stubs
Reducing closure from 500MB to 357MB
2025-01-31 20:47:14 -06:00
Austin Horstman
86b0f3049c hyprland: add null package tests 2025-01-30 15:41:13 -06:00
ckgxrg
d963ed335b
linux-wallpaperengine: add module
linux-wallpaperengine is an implementation of Wallpaper Engine on
Linux, this module allows it to be declaractively configured.
2025-01-30 10:22:43 +01:00
Sefa Eyeoglu
9ce5d0b888
xdg-autostart: add module (#5251)
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2025-01-29 18:45:54 -06:00
Austin Horstman
6fbbfb9240
Revert "thunderbird: add native host support (#6292)" (#6371) 2025-01-29 17:11:30 -06:00
Ihar Hrachyshka
608b26d16e
thunderbird: add native host support (#6292)
Note: the test case uses a firefox native host but it shouldn't matter
since they are packaged the same way for both TB and Firefox.
2025-01-29 16:07:28 -06:00
DamiDoug
d5e5c0d051
aerospace: add module (#6279)
Co-authored-by: damidoug <contact@damidoug.dev>
2025-01-29 16:04:24 -06:00
Robert Helgesson
420a0d9506
nushell: structured settings and more
PR #6184
2025-01-29 20:18:33 +01:00
Austin Horstman
c4650fb9c0
cliphist: support multiple systemdTargets properly (#5669)
Using a space separated list of targets as a single string element in
the list doesn't work properly. Change property to support list of
targets and backwards compatibility with warning for single string.
2025-01-29 12:26:13 -06:00
Danil Suetin
0ee8bfdd04
firefox: add preConfig
Add `preConfig`, which acts like `extraConfig`, but placed before
`settings`. This will allow to overwrite settings in `preConfig`,
using `settings` option.
2025-01-29 18:36:43 +01:00
Andrew Marshall
bd530df4e2
firefox: avoid unnecessarily overriding package
When `cfg.package` is already wrapped, and wrapped without the
`ExtensionSettings` key set, this would always add that key, even if its
value was blank. This would result in `cfg.finalPackage` being a
functionally-identical, but differently-input-addressed package. This is
generally undesirable as it may result in multiple derivations being
built, and also if the value of `cfg.package` is expected to be
unchanged by the user (e.g. because they want it to be consistent
between NixOS and HM configuration).

Add a test to ensure this does not regress in the default case. Only
test on newish stateVersion since the logic for `isWrapped` differs on
older versions.
2025-01-29 18:29:44 +01:00
Joaquín Triñanes
82455a84e3
nushell: allow multi-word aliases
Also fix invalid alias in test
2025-01-29 18:22:08 +01:00
Joaquín Triñanes
709aaab1a5
nushell: set env in config.nu file 2025-01-29 18:22:07 +01:00
Joaquín Triñanes
46c83c07b9
nushell: add settings option 2025-01-29 18:22:07 +01:00
Joaquín Triñanes
a1df6c4c76
nushell: slight refactor
- Remove 'with lib'
- More idiomatic lib calls
- Update config file examples with current best practices
2025-01-29 18:20:43 +01:00
Gaetan Lepage
1b4f2a4816
zed-editor: add installRemoteServer option 2025-01-29 11:09:51 +01:00
Ivan Kovnatsky
daf04c5950
ollama: add darwin support 2025-01-25 00:54:49 +01:00
Robert Helgesson
8c0671c513
himalaya: update for version 1 2025-01-25 00:50:31 +01:00
Robert Helgesson
1b9fe46e9f
home-manager: move tests into new test flake
Having the tests available in the main Nix Flake introduces
unnecessary evaluation for non-developer users and, worse, a
dependency on the nmt library.

Fixes #6354
2025-01-24 22:31:22 +01:00
Robert Helgesson
b93e17c73c
neovim: fix flaky test
Seems the nvim command sometimes fails with error code 1.
2025-01-24 22:31:21 +01:00
Clément DOUIN
15f7f9bc4e
himalaya: fix tests 2025-01-24 11:38:54 +01:00
Robert Helgesson
01d0172933
wezterm: update expected test result 2025-01-23 11:42:15 +01:00
Robert Helgesson
b17008a795
swayr: update expected test result 2025-01-23 11:37:30 +01:00
Robert Helgesson
1757aca164
go: stub systemd dependency in test 2025-01-23 09:38:00 +01:00
Ismaïl Senhaji
4481a16d1a
yazi: improve fish integration
Calls yazi as `command yazi`, allowing to use "yazi" as
`shellWrapperName`. Also defines the wrapper with
`programs.fish.functions` instead of `interactiveShellInit`.
2025-01-21 18:28:58 +01:00
Nova Leary
bb14224f51
mu: allow option to set muhome
Allows for the database path for mu to be configured. Useful for keeping
the maildir and mu xapian cache together without having to modify
XDG_CACHE_HOME. Add test to check for custom home setting.

Fixes #5534
2025-01-21 13:14:48 +01:00
Roberto Abdelkader Martínez Pérez
0b8df9eeb6
lsd: add support for icons.yaml
This update introduces support for icons.yaml in the lsd module,
enhancing the customization options for file icons.

Co-authored-by: pancho horrillo <pancho@pancho.name>
2025-01-21 13:12:40 +01:00
Jérôme Prudent
1e36429705
sbt: allow irregular plugins to be configured
Sometimes plugins doesn't follow the form

```
addSbtPlugin("${plugin.org}" % "${plugin.artifact}" % "${plugin.version}")
```

for instance

```
addDependencyTreePlugin
```

This commit allow free form plugin dependency.
2025-01-18 09:22:15 +01:00
Ihar Hrachyshka
12851ae746
thunderbird: Enable tests for Darwin (#6324) 2025-01-17 01:54:26 +01:00
Sebastián Zavala Villagómez
9616d81f98
mangohud: make false values actually disable (#6299)
Currently the following, will produce `some_opt=false` in the
rendered config:

```nix
programs.mangohud.settings = {
  some_opt = false;
};
```

With the intention being to disable the option, this would be
incorrect, as per the following stated at:
<0575c8eb1f/data/MangoHud.conf (L3C5-L4C1)>

> Use some_parameter=0 to disable a parameter (only works with on/off
> parameters)

As such, I changed the rendering to follow this.
This will be output instead: `some_opt=0`
2025-01-13 16:20:04 +01:00
Terje Larsen
2532b500c3
ollama: add module (#5735) 2025-01-10 12:31:03 +01:00
Kilian Mio
d4aebb947a
todoman: add todoman module (#5252)
* todoman: add todoman module

Adds Mikilio as maintainer for new module for todoman a standards-based
task manager based on iCalendar

Apply suggestions from code review

Co-authored-by: Robert Helgesson <robert@rycee.net>

Update modules/programs/todoman.nix

Co-authored-by: Robert Helgesson <robert@rycee.net>

* fix: correct config name

* chore: add test

---------

Co-authored-by: Robert Helgesson <robert@rycee.net>
2025-01-09 12:25:50 +01:00
Hoang Nguyen
54b330ac06
go: add telemetry options 2025-01-08 09:39:32 -07:00
Thiago Kenji Okada
fcc4259cdb
treewide: stub tests (#6275)
* ranger: stub tests

* alacritty: stub tests

* broot: stub tests

* zsh: stub tests

* vim-vint: stub tests
2025-01-08 16:24:04 +01:00
1444
456e599f91
wayfire: add module (#6066)
Adds a Module for the Wayfire Compositor. Also allows managing the wf-shell configuration.
2025-01-08 16:18:57 +01:00
Thiago Kenji Okada
14cb0c8cfa
fnott: use config.wayland.systemd.target
Also add missing `ConditionEnvironment`.
2025-01-03 17:38:06 +01:00
Thiago Kenji Okada
656ae5aba2
clipman: use config.wayland.systemd.target
Also add `ConditionEnvironment`.
2025-01-03 17:38:06 +01:00