Files
clan-core/clanServices/trusted-nix-caches/tests/vm/default.nix
2025-06-17 20:38:31 +02:00

25 lines
429 B
Nix

{
name = "trusted-nix-caches";
clan = {
directory = ./.;
inventory = {
machines.server = { };
instances = {
trusted-nix-caches = {
module.name = "@clan/trusted-nix-caches";
roles.default.machines."server" = { };
};
};
};
};
nodes.server = { };
testScript = ''
start_all()
server.succeed("grep -q 'cache.clan.lol' /etc/nix/nix.conf")
'';
}