migrate trusted-nix-caches

This commit is contained in:
pinpox
2025-06-12 13:20:45 +02:00
parent a537f44b6d
commit 56fef67fd5
7 changed files with 107 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
{ lib, self, ... }:
{
clan.modules = {
trusted-nix-caches = lib.modules.importApply ./default.nix { };
};
perSystem =
{ pkgs, ... }:
{
checks = lib.optionalAttrs (pkgs.stdenv.isLinux) {
trusted-nix-caches = import ./tests/vm/default.nix {
inherit pkgs;
clan-core = self;
nixosLib = import (self.inputs.nixpkgs + "/nixos/lib") { };
};
};
};
}