Commit graph

14 commits

Author SHA1 Message Date
Gaetan Lepage
e7d827bb32 flake.nix: follow nixpkgs-unstable instead of nixos-unstable 2025-01-22 18:13:44 +01:00
Matt Sturgeon
9bf4c9d55b
wrappers/standalone: make pkgs arg optional, allow specifying system 2025-01-17 10:16:10 +00:00
Austin Horstman
59a9652aee
plugins/bufferline: iconsPackage -> icons provider options 2024-09-22 13:44:12 -05:00
traxys
62f32bfc71 treewide: Reformat with nixfmt 2024-05-05 22:00:40 +02:00
Gaetan Lepage
7af65ccae4 template/simple: simplify flake definition 2024-02-19 10:26:26 +01:00
traxys
6d7e429537
tests: Introduce a way to disable options when running in tests (#1095)
In our basic template we used to provide a check based on
`mkTestDerivationFromNvim`. The issue with this check (that is handled
correctly internally) is that some plugins _can't_ be used in the test
environment, for example image.nvim like in #1085.

This commit introduces a new function to generate such checks,
`mkTestDerivationFromNixvimModule`, that wraps a nixvim configuration
instead of a built nvim instance.

Then a configuration can rely on the newly added
`helpers.enableExceptInTests` attribute to disable parts of the
configuration depending if it is evaluated in tests or in a real final
configuration.

Resolves #1085
2024-02-15 14:27:45 +01:00
Gaetan Lepage
45c2e25127 templates/simple: remove useless self from extraSpecialArgs 2024-01-06 15:08:08 +01:00
Gaetan Lepage
f16f767f46 templates: switch to flake-parts 2024-01-06 00:05:13 +01:00
traxys
0c5dcb56d1
standalone: Allow to pass extraSpecialArgs (#665) 2023-10-23 14:11:29 +02:00
anntnzrb
ebb8e479d2 fix(docs): typo + line wrap 2023-08-22 10:31:29 +02:00
Pedro Alves
82a7d666f5 fix: fix formatting on simple template 2023-07-14 21:44:31 +01:00
Pedro Alves
0778266e44 README: change pta2002 to nix-community 2023-07-14 21:37:21 +01:00
Alexander Nortung
3600698aba
Added test for template and fixed check export for lib (#361) 2023-05-15 11:04:52 +02:00
Alexander Nortung
2258eb8df8
misc: added flake template (#219)
* Added simple flake template

* Added readme to template

* Updated readme to show how to use the template

* Formatting

* removed unused file from template

* Fixed template url and pkgs

* Formatting
2023-03-03 09:18:52 +00:00