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
60964ff845
mako: fix example config ( #6987 )
2025-05-06 21:06:15 -05:00
Aguirre Matteo
8a318641ac
sway-easyfocus: add module ( #6976 )
2025-05-04 21:46:28 -05:00
Austin Horstman
5f1f472565
mako: use ini atom type ( #6977 )
...
Fix backwards compatibility
2025-05-04 21:44:38 -05:00
awwpotato
8167af657c
mako: fix criterias typo ( #6968 )
2025-05-04 09:17:09 -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
Aguirre Matteo
d1bbab6b04
mako: refactor ( #6948 )
...
Refactors the services.mako module to replace all its configuration options with a freeform settings option and criterias. I also added a test for the configuration.
2025-05-03 19:09:56 -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
f15be4feb6
clipcat: add module ( #6946 )
2025-05-02 08:22:35 -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
Austin Horstman
e9c80e277b
tests/gpg-agent: add pinentry-program test
...
Add test that the code works to generate the correct pinentry-program
configuration when supplying both options.
2025-04-29 20:36:45 -05:00
Austin Horstman
a4c3ce44fc
gpg-agent: pinentryPackage -> pinentry.package and add pinentry.program`
...
Alternative option for allowing a user to automatically configure what
binary to use from a `pinentry` package. Previously, we always used
`meta.mainProgram` but, there are packages that provide multiple
binaries and this would allow flexibility for a user to override the
default program used.
2025-04-29 20:36:45 -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
phanirithvij
9c3b33c2a7
espanso: add wayland test
...
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
2025-04-27 11:36:10 -05:00
phanirithvij
6ed700bfe4
espanso: fix test
...
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
2025-04-27 11:36:10 -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
awwpotato
d31710fb2c
fcitx5: fix iniFormat usage ( #6899 )
2025-04-23 15:10:12 -05:00
awwpotato
6d1f834ca6
fcitx5: add upstream options ( #6892 )
2025-04-23 11:51:43 -05:00
awwpotato
585bae4bbb
i18n.inputMethod: align enable option with nixos
...
see: https://github.com/NixOS/nixpkgs/pull/310708
2025-04-22 20:48:01 -07: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
Flameopathic
6899001a76
fcitx5: add themes and classicUiConfig options ( #6876 )
2025-04-22 14:30:45 -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
82ee14ff60
treewide: remove with lib ( #6871 )
...
Remove from services.
2025-04-21 11:00:59 -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
Rouven Seifert
b0cc092405
shikane: init module ( #4096 )
2025-04-20 20:21:46 -05: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
Jess
f98314bb06
restic: init module ( #6729 )
2025-04-19 22:53:06 -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