diff --git a/.gitignore b/.gitignore index 75b774d..61f0702 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ /result /.direnv -/.pre-commit-config.yaml /.claude/settings.local.json \ No newline at end of file diff --git a/justfile b/justfile index 4babf8b..17d3a65 100644 --- a/justfile +++ b/justfile @@ -26,12 +26,6 @@ activate host="": update: nix run .#update -# Run all pre-commit hooks on all files -[group('main')] -lint: - pre-commit run --all-files - - # Misc commands # -------------------------------------------------------------------------------------------------- diff --git a/modules/flake-parts/devshell.nix b/modules/flake-parts/devshell.nix index 09be07f..5b512e0 100644 --- a/modules/flake-parts/devshell.nix +++ b/modules/flake-parts/devshell.nix @@ -1,13 +1,9 @@ -{ inputs, ... }: +{ ... }: { - imports = [ - (inputs.git-hooks + /flake-module.nix) - ]; - perSystem = { inputs', config, pkgs, ... }: { + perSystem = { inputs', pkgs, ... }: { devShells.default = pkgs.mkShell { name = "nixos-config-shell"; meta.description = "Dev environment for nixos-config"; - inputsFrom = [ config.pre-commit.devShell ]; packages = with pkgs; [ just nixd @@ -15,9 +11,5 @@ inputs'.agenix.packages.default ]; }; - - pre-commit.settings = { - hooks.nixpkgs-fmt.enable = true; - }; }; }