patch: update gitignore and fixed issue in flake.nix (#62)

- Added direnv/ dir to gitignore
- Fixed a small fuck up in the flake.nix I made
This commit is contained in:
Roel de Cort 2024-11-26 10:03:36 +01:00 committed by GitHub
parent 1d21dc5879
commit be4ef31521
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 35 additions and 29 deletions

5
.gitignore vendored
View file

@ -1,2 +1,3 @@
/.pre-commit-config.yaml
/result*
.direnv/
.pre-commit-config.yaml
result

View file

@ -28,13 +28,15 @@
"x86_64-darwin"
];
perSystem = {
perSystem =
{
system,
pkgs,
self',
lib,
...
}: let
}:
let
nixvimLib = nixvim.lib.${system};
nixvim' = nixvim.legacyPackages.${system};
nixvimModule = {
@ -57,10 +59,13 @@
nixfmt-rfc-style.enable = true;
};
};
};
formatter = pkgs.nixfmt-rfc-style;
packages.default = nvim;
packages = {
default = nvim;
};
devShells = {
default = with pkgs; mkShell { inherit (self'.checks.pre-commit-check) shellHook; };