Files
clan-core/clanServices/trusted-nix-caches/tests/vm/default.nix
2025-06-30 19:50:16 +07:00

26 lines
470 B
Nix

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