Files
clan-core/clanServices/trusted-nix-caches/flake-module.nix
2025-06-12 14:01:51 +02:00

18 lines
422 B
Nix

{ 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") { };
};
};
};
}