BuildClan: autoimport facter.json

This commit is contained in:
Johannes Kirschbauer
2024-08-23 18:02:21 +02:00
parent 0295114c17
commit fd2dd2b565
3 changed files with 327 additions and 4 deletions

View File

@@ -17,6 +17,11 @@
systems.url = "github:nix-systems/default";
treefmt-nix.url = "github:numtide/treefmt-nix";
treefmt-nix.inputs.nixpkgs.follows = "nixpkgs";
nixos-facter-modules.url = "github:numtide/nixos-facter-modules";
nixos-facter-modules.inputs.nixpkgs.follows = "nixpkgs";
nixos-facter.url = "github:numtide/nixos-facter";
nixos-facter.inputs.nixpkgs.follows = "nixpkgs";
};
outputs =
@@ -49,6 +54,13 @@
./nixosModules/clanCore/vars/flake-module.nix
./pkgs/flake-module.nix
./templates/flake-module.nix
# Inherit the nixos-facter package so its build is chached in clans binary cache
{
perSystem = {system, inputs', ...}: {
packages.nixos-facter = inputs'.nixos-facter.packages.default;
};
}
];
}
);