From 643c0964c1d64561046363afc5fc416c113088cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Schr=C3=B6ter?= Date: Mon, 8 Aug 2022 22:52:32 +0200 Subject: [PATCH] feat(flake): fix checks --- flake.nix | 7 +++++-- work-pc.nix | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index cd898bf..0d3a9ea 100644 --- a/flake.nix +++ b/flake.nix @@ -175,9 +175,12 @@ checks = builtins.mapAttrs (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 - pkgs = nixpkgs.legacyPackages.${system}; + pkgs = import nixpkgs { + inherit system; + config.allowUnfree = true; + }; pre-commit-check = pre-commit-hooks.lib.${system}.run { src = ./.; hooks = { diff --git a/work-pc.nix b/work-pc.nix index 3e14d46..6d39af5 100644 --- a/work-pc.nix +++ b/work-pc.nix @@ -5,7 +5,7 @@ ./hardware/base.nix ./hardware/gpu-intel.nix ./hardware/bluetooth.nix - ./system + ./system/desktop.nix ./desktop ./virtualisation/docker.nix ];