Skip to content

Commit 54f8f43

Browse files
committed
refactor!: Convert to nixvim
1 parent 7058c8c commit 54f8f43

85 files changed

Lines changed: 711 additions & 329 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.envrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
use flake

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @dotunwrap

.github/workflows/cd.yml

Whitespace-only changes.

.github/workflows/ci.yml

Whitespace-only changes.

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
result
2+
3+
.direnv/

LICENSE

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
2+
Version 2, December 2004
3+
4+
Copyright (C) 2025 Gabriella Simpson <gabby@dotunwrap.dev>
5+
6+
Everyone is permitted to copy and distribute verbatim or modified
7+
copies of this license document, and changing it is allowed as long
8+
as the name is changed.
9+
10+
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
11+
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
12+
13+
0. You just DO WHAT THE FUCK YOU WANT TO.

binds/default.nix

Lines changed: 0 additions & 6 deletions
This file was deleted.

checks/default.nix

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
inputs,
3+
system,
4+
nixvimModule,
5+
}:
6+
let
7+
pkgs = inputs.nixpkgs.legacyPackages.${system};
8+
callPackage = pkgs.lib.callPackageWith (pkgs // { inherit (inputs) self; });
9+
in
10+
{
11+
nixfmt = callPackage ./nixfmt.nix { };
12+
nixvim = callPackage ./nixvim.nix {
13+
inherit (inputs) nixvim;
14+
inherit nixvimModule system;
15+
};
16+
}

checks/nixfmt.nix

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
runCommand,
3+
nixfmt,
4+
self,
5+
}:
6+
runCommand "check-nixfmt-${self.rev or "dirty"}" { } ''
7+
${nixfmt}/bin/nixfmt --check ${self} < /dev/null | tee $out
8+
''

checks/nixvim.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
nixvim,
3+
system,
4+
nixvimModule,
5+
}:
6+
nixvim.lib.${system}.check.mkTestDerivationFromNixvimModule nixvimModule

0 commit comments

Comments
 (0)