chore: adapt flake for 'nix flake check'

This commit is contained in:
Swarsel 2024-12-10 18:09:50 +01:00
parent 584cc31ce3
commit 453869609c
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
9 changed files with 24 additions and 14 deletions

View file

@ -185,8 +185,9 @@
nativeBuildInputs = [ pkgs.nix pkgs.home-manager pkgs.git ];
};
});
# this sets the formatter that is going to be used by nix fmt
formatter = forEachSystem (pkgs: pkgs.nixpkgs-fmt);
overlays = [
checks = forAllSystems (
system:
let
@ -194,6 +195,7 @@
in
import ./checks { inherit self inputs system pkgs; }
);
overlaysList = [
(import ./overlays { inherit inputs; }).additions
(import ./overlays { inherit inputs; }).modifications
(import ./overlays { inherit inputs; }).nixpkgs-stable