feat(flake): fix checks

This commit is contained in:
Felix Schröter 2022-08-08 22:52:32 +02:00
parent e721cdf6d7
commit 643c0964c1
Signed by: felschr
GPG key ID: 671E39E6744C807D
2 changed files with 6 additions and 3 deletions

View file

@ -175,9 +175,12 @@
checks = builtins.mapAttrs checks = builtins.mapAttrs
(system: deployLib: deployLib.deployChecks self.deploy) deploy-rs.lib; (system: deployLib: deployLib.deployChecks self.deploy) deploy-rs.lib;
} // flake-utils.lib.eachDefaultSystem (system: } // flake-utils.lib.eachSystem [ "x86_64-linux" "aarch64-linux" ] (system:
let let
pkgs = nixpkgs.legacyPackages.${system}; pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
pre-commit-check = pre-commit-hooks.lib.${system}.run { pre-commit-check = pre-commit-hooks.lib.${system}.run {
src = ./.; src = ./.;
hooks = { hooks = {

View file

@ -5,7 +5,7 @@
./hardware/base.nix ./hardware/base.nix
./hardware/gpu-intel.nix ./hardware/gpu-intel.nix
./hardware/bluetooth.nix ./hardware/bluetooth.nix
./system ./system/desktop.nix
./desktop ./desktop
./virtualisation/docker.nix ./virtualisation/docker.nix
]; ];