Commit graph

2811 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
Gaetan Lepage
31b0e36087 [TO-REVERT] tests: disable failing-tests
https://github.com/NixOS/nixpkgs/pull/375585
2025-01-22 17:04:20 +00:00
Gaetan Lepage
e935f7a407 plugins/none-ls: update packages 2025-01-22 17:04:20 +00:00
Gaetan Lepage
c289e10a0f plugins/lsp: update packages 2025-01-22 17:04:20 +00:00
Gaetan Lepage
8926001426 tests/lsp-servers: disable bitbake_language_server (build failure) 2025-01-22 17:04:20 +00:00
Austin Horstman
5a980d02fa plugins/lsp: add atlas and cue 2025-01-22 17:04:20 +00:00
Gaetan Lepage
2414495449 generated: Updated none-ls.nix 2025-01-22 17:04:20 +00:00
github-actions[bot]
9b6c15e41e generated: Updated lspconfig-servers.json 2025-01-22 17:04:20 +00:00
github-actions[bot]
7f27c464a6 flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/12851ae7467bad8ef422b20806ab4d6d81e12d29?narHash=sha256-u1gk5I1an975FOAMMdS6oBKnSIsZza5ZKhaeBZAskVo%3D' (2025-01-17)
  → 'github:nix-community/home-manager/1e36429705f9af2d00a517ba46a4f21ef8a8194f?narHash=sha256-O2ttwW1/dUc/Y%2BRf48Njtr4tZpRJhy8FhafikekIjMY%3D' (2025-01-18)
• Updated input 'nix-darwin':
    'github:lnl7/nix-darwin/bd921223ba7cdac346477d7ea5204d6f4736fcc6?narHash=sha256-deQVtIH4UJueELJqluAICUtX7OosD9paTP%2B5FgbiSwI%3D' (2025-01-14)
  → 'github:lnl7/nix-darwin/87131f51f8256952d1a306b5521cedc2dc61aa08?narHash=sha256-5T%2BHkouTMGaRm0rh3kgD4Z1O7ONKfgjyoPQH5rSyreU%3D' (2025-01-18)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/eb62e6aa39ea67e0b8018ba8ea077efe65807dc8?narHash=sha256-uQ%2BNQ0/xYU0N1CnXsa2zghgNaOPxWpMJXSUJJ9W7140%3D' (2025-01-14)
  → 'github:NixOS/nixpkgs/5df43628fdf08d642be8ba5b3625a6c70731c19c?narHash=sha256-Tbk1MZbtV2s5aG%2BiM99U8FqwxU/YNArMcWAv6clcsBc%3D' (2025-01-16)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/97871d416166803134ba64597a1006f3f670fbde?narHash=sha256-saLiCRQ5RtdTnznT/fja7GxcYRAzeY3k8S%2BIF/2s/2A%3D' (2025-01-16)
  → 'github:numtide/treefmt-nix/d1ed3b385f8130e392870cfb1dbfaff8a63a1899?narHash=sha256-uPNWcYbhY2fjY3HOfRCR5jsfzdzemhfxLSxwjXYXqNc%3D' (2025-01-17)
2025-01-22 17:04:20 +00:00
Gaetan Lepage
e60ea678ac plugins/emmet: cosmetic refactoring 2025-01-22 12:01:00 +00:00
Matt Sturgeon
342161bf52
templates: add experimental-flake-parts template
This template uses the lower-level `evalNixvim` function to work
directly with nixvim configurations, instead of the prior idiom of using
`makeNixvim` to produce nixvim packages.

Additionally, the template is build on flake.parts, and demonstrates
using our recently added flakeModules.
2025-01-21 18:29:33 +00:00
Matt Sturgeon
e3938e9464
templates: inherit checks from _all_ templates 2025-01-21 18:29:33 +00:00
Matt Sturgeon
53bfadc2c2
lib/modules: work-around a submodule type-merging issue
Includes a regression test.

Revert "lib/modules: remove explicit `specialArgs.lib`"

This reverts commit b5efe91c52.
2025-01-21 12:10:29 +00:00
Matt Sturgeon
77c78bd04e
tests/platforms: move out of flake wrappers module
These should be set up in a dedicated test file, owned by
`tests/default.nix`.

Also refactored to use `callTest`.
2025-01-21 10:52:56 +00:00
Matt Sturgeon
115994f18e
flake/auto: nameFunction default to lib.id
This seems like a simpler/saner default.
2025-01-20 15:11:39 +00:00
Matt Sturgeon
780d3eec72
wrappers/standalone: simplify extend 2025-01-20 14:49:59 +00:00
Matt Sturgeon
00586f8f1b
modules/output: move symlinkJoin to build.package 2025-01-20 14:49:59 +00:00
Gaetan Lepage
731699a24c plugins/gitsigns: cosmetic refactoring 2025-01-20 14:57:16 +01:00
Gaetan Lepage
af6e4b0bad treewide: use mkAssertions wherever possible 2025-01-20 14:23:55 +01:00
Gaetan Lepage
a7e516b322 lib/utils: add mkAssertions 2025-01-20 14:17:26 +01:00
Gaetan Lepage
60adb6c56b treewide: use mkWarnings wherever possible 2025-01-20 14:06:20 +01:00
Gaetan Lepage
2ec6218f87 treewide: use mkWarnings wherever possible 2025-01-20 12:25:33 +00:00
Gaetan Lepage
02e16b2a76 lib/utils: add mkWarnings 2025-01-20 12:25:33 +00:00
Gaetan Lepage
1036b8f8b6 ci/update: remove nixos-24.05 update action 2025-01-20 07:16:02 +00:00
Matt Sturgeon
a70b16976b
lib: export evalNixvim as top-level alias
- `lib.nixvim.evalNixvim`
- `<nixvim>.lib.evalNixvim` (flake output)
2025-01-20 05:23:05 +00:00
Matt Sturgeon
e793c5cdc6
flake: add auto flake-parts module
When enabled, automatically sets up packages and/or checks for all
`nixvimConfigurations`
2025-01-20 03:34:31 +00:00
Matt Sturgeon
8fb2fe22c2
flake: add nixvimModules flake-parts module 2025-01-19 17:47:17 +00:00
Matt Sturgeon
5426c9dd83
flake: add nixvimConfigurations flake-parts module 2025-01-19 17:47:17 +00:00
Matt Sturgeon
9aa6d0f6e6
flake: add initial flake-parts module 2025-01-19 17:47:17 +00:00
Matt Sturgeon
1654f97a79
docs: use README as a source for the docs 2025-01-19 17:36:14 +00:00
Gaetan Lepage
ab693bb1cd plugins/vim-suda: add back the smart_edit option 2025-01-19 15:19:43 +01:00
Matt Sturgeon
85e4e16de8
docs: notify useGlobalPackages breaking change 2025-01-19 13:23:14 +00:00
Matt Sturgeon
82415eaa5d
modules/nixpkgs: warn about changing defaults
If end-users change the nixpkgs revision to something other than our
default, they can run into issues not picked up by our test suite.
2025-01-19 13:13:15 +00:00
Matt Sturgeon
3a22953bea
modules/nixpkgs: useGlobalPackages default to false
Rather than waiting for a technically impossible migration strategy,
let's just bite the bullet and change the default.
2025-01-19 13:13:15 +00:00
Matt Sturgeon
fecc892145
flake: remove pkgsUnfree arg 2025-01-19 12:55:15 +00:00
Gaetan Lepage
998bae9dac flake-modules -> flake 2025-01-19 12:56:24 +01:00
Matt Sturgeon
cf647bc045
ci: drop 24.05 support 2025-01-19 10:32:11 +00:00
Gaetan Lepage
cbf960e565 plugins/flutter-tools: update options 2025-01-18 11:49:38 +00:00
Gaetan Lepage
4f2d78fcaf plugins/flutter-tools: update settingsExample 2025-01-18 11:49:38 +00:00
Matt Sturgeon
a1b44cfdf4
templates: remove _wrapper
Added in #361, but has been unused since #902
2025-01-18 06:15:04 +00:00
Quentin Boyer
aa839cf994 generated: Update rust-analyzer options 2025-01-17 20:46:33 +01:00
Quentin Boyer
d63ac3eb39 update-scripts: Handle missing descriptions for enums 2025-01-17 20:44:04 +01:00
Quentin Boyer
674790dbf9 update-scripts: Correctly handle propreties without a 'type' 2025-01-17 20:44:03 +01:00
Quentin Boyer
8e9458eacf update-scripts: Add more verbose errors for rust-analyzer 2025-01-17 20:44:03 +01:00
Matt Sturgeon
e4484133d6
docs/user-guide: slightly simplify lib-overlay example 2025-01-17 13:13:40 +00:00
Matt Sturgeon
51474292cd
modules/nixpkgs: remove pkgs default text 2025-01-17 10:16:10 +00:00
Matt Sturgeon
3172e48dbb
lib/tests: simplify access to default system 2025-01-17 10:16:10 +00:00
Matt Sturgeon
9bf4c9d55b
wrappers/standalone: make pkgs arg optional, allow specifying system 2025-01-17 10:16:10 +00:00
Matt Sturgeon
8c6f9ed8c4
lib/modules: allow specifying system as an evalNixvim arg 2025-01-17 10:16:10 +00:00
Matt Sturgeon
7790746d38
modules/nixpkgs: add useGlobalPackages option 2025-01-17 10:16:09 +00:00