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:
parent
1498c3fab6
commit
ea232b1f58
11
flake.nix
11
flake.nix
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue