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