From ea232b1f5841f8d6905af53f9b86d1043a00f9a1 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Fri, 7 Apr 2023 13:45:01 +0200 Subject: [PATCH] =?UTF-8?q?Allow=20access=20to=20other=20machines=E2=80=99?= =?UTF-8?q?=20configuration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- flake.nix | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/flake.nix b/flake.nix index c7d73a0..56b32db 100644 --- a/flake.nix +++ b/flake.nix @@ -86,16 +86,6 @@ config.file = { path = toString self; useChecksum = true; - filters = [ - { - type = "include"; - pattern = "/machines/${hostname}/"; - } - { - type = "exclude"; - pattern = "/machines/*/"; - } - ]; }; }); command = targetPath: '' @@ -172,6 +162,7 @@ { _module.args.inputs = inputs; + _module.args.machines = self.nixosConfigurations; } # deployment settings