From 3b506a78882241b460b071935f1dbef496021a1f Mon Sep 17 00:00:00 2001 From: yukkop Date: Fri, 5 Dec 2025 21:01:53 +0000 Subject: [PATCH] fix: bfs nixosConfiguration check --- flake.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index c1fb4c7..c0f9bc1 100644 --- a/flake.nix +++ b/flake.nix @@ -73,14 +73,16 @@ packages.${system} = import ./package { inherit flake self inputs pkgs system; }; devShells.${system} = import ./devshell { inherit flake self inputs pkgs system; }; legacyPackages.${system} = import ./legacy { inherit flake self inputs pkgs system; }; - nixosConfigurations = { - "bfs|${system}" = import ./nixos/system/bfs { inherit flake self inputs system; }; - }; + nixosConfigurations = {}; checks.${system} = import ./test { inherit flake self inputs pkgs system; }; }) // { lib = self-lib; overlays.default = import ./overlay { inherit flake self inputs; }; nixosModules = import ./nixos/module { inherit flake self inputs; }; templates = import ./template { inherit flake self inputs; }; + nixosConfigurations + # NOTE(yukkop): in bfs one of dependencies is shadow-4.17.4 that + # unsupported on aarch64-darwin + ."bfs|x86_64-linux" = import ./nixos/system/bfs { inherit flake self inputs; system = "x86_64-linux"; }; }; }