Allow access to other machines’ configuration

This requires removing the filter for other machines. This was
implemented to avoid copying secrets to other machines. I never deployed
this configuration to a system that is not fully encrypted and the
“secrets” are just things I do not want publicly available, not
credentials.
This commit is contained in:
Simon Bruder 2023-04-07 13:45:01 +02:00
parent 1498c3fab6
commit ea232b1f58
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -86,16 +86,6 @@
config.file = { config.file = {
path = toString self; path = toString self;
useChecksum = true; useChecksum = true;
filters = [
{
type = "include";
pattern = "/machines/${hostname}/";
}
{
type = "exclude";
pattern = "/machines/*/";
}
];
}; };
}); });
command = targetPath: '' command = targetPath: ''
@ -172,6 +162,7 @@
{ {
_module.args.inputs = inputs; _module.args.inputs = inputs;
_module.args.machines = self.nixosConfigurations;
} }
# deployment settings # deployment settings