From 2700ee3f50ef80fc7d933691c71b0cfc86d291c2 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sat, 15 Apr 2023 18:09:40 +0200 Subject: [PATCH] =?UTF-8?q?Revert=20"Allow=20access=20to=20other=20machine?= =?UTF-8?q?s=E2=80=99=20configuration"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit ea232b1f5841f8d6905af53f9b86d1043a00f9a1. This breaks the unlock script. --- flake.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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