refactor: run nixfmt-tree and deadnix

This commit is contained in:
2026-02-08 10:11:47 +01:00
parent 643dc4bae9
commit 96c865443e
18 changed files with 442 additions and 427 deletions

View File

@@ -107,7 +107,10 @@
silent = true; silent = true;
desc = "Go to end line"; desc = "Go to end line";
}; };
mode = [ "n" "v" ]; mode = [
"n"
"v"
];
} }
{ {
action = "^"; action = "^";
@@ -116,7 +119,10 @@
silent = true; silent = true;
desc = "Go to start line"; desc = "Go to start line";
}; };
mode = [ "n" "v" ]; mode = [
"n"
"v"
];
} }
{ {
action = ":lua Snacks.explorer()<CR>"; action = ":lua Snacks.explorer()<CR>";

View File

@@ -1,4 +1,4 @@
{ pkgs, ... }: { ... }:
{ {
imports = [ imports = [
./comment.nix ./comment.nix

View File

@@ -6,9 +6,18 @@
flake-utils.url = "github:numtide/flake-utils"; flake-utils.url = "github:numtide/flake-utils";
}; };
outputs = { self, nixpkgs, nixvim, flake-utils, ... }@inputs: outputs =
let config = import ./config; # import the module directly {
in flake-utils.lib.eachDefaultSystem (system: nixpkgs,
nixvim,
flake-utils,
...
}:
let
config = import ./config; # import the module directly
in
flake-utils.lib.eachDefaultSystem (
system:
let let
nixvimLib = nixvim.lib.${system}; nixvimLib = nixvim.lib.${system};
pkgs = import nixpkgs { inherit system; }; pkgs = import nixpkgs { inherit system; };
@@ -34,5 +43,6 @@
}; };
devShells.default = import ./shell.nix { inherit pkgs; }; devShells.default = import ./shell.nix { inherit pkgs; };
}); }
);
} }

View File

@@ -6,4 +6,3 @@ pkgs.mkShell {
git git
]; ];
} }