test: fix tests for schema and secrets

This commit is contained in:
DavHau
2023-08-30 15:29:05 +02:00
parent 4afd9910e9
commit 2e75e49a34
2 changed files with 5 additions and 4 deletions

View File

@@ -3,11 +3,12 @@
nodes.machine = { self, config, ... }: {
imports = [
self.nixosModules.secrets
(self.nixosModules.clanCore)
];
environment.etc."secret".source = config.sops.secrets.foo.path;
sops.age.keyFile = ./key.age;
clan.sops.sopsDirectory = ./sops;
clanCore.clanDir = "${./.}";
clanCore.machineName = "machine";
networking.hostName = "machine";
};
testScript = ''