diff --git a/flake.nix b/flake.nix index b19f456..ae81bb7 100644 --- a/flake.nix +++ b/flake.nix @@ -162,13 +162,6 @@ alejandra.enable = true; commitizen.enable = true; editorconfig-checker.enable = true; - flake-check = { - enable = true; - types = ["nix"]; - language = "system"; - entry = "just check"; - pass_filenames = false; - }; luacheck.enable = true; nil.enable = true; shellcheck.enable = true; diff --git a/justfile b/justfile index 42b48be..debae97 100644 --- a/justfile +++ b/justfile @@ -27,9 +27,14 @@ build *args: boot *args: @just rebuild boot {{args}} +[macos] check *args: @just rebuild check {{args}} +[linux] +check *args: + @just rebuild test {{args}} + switch *args: @just rebuild switch {{args}}