From 0157d85876f79d9c77411da970ced1eb98032790 Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 25 May 2022 00:38:19 +0200 Subject: [PATCH] effects: deploy VEGAS --- flake.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/flake.nix b/flake.nix index edc97a8..131a76f 100644 --- a/flake.nix +++ b/flake.nix @@ -117,6 +117,19 @@ ''; ssh.destination = "root@prophet.node.privatevoid.net"; }); + deploy-VEGAS = effects.runIf (branch == "hci-improvements") (effects.runNixOS { + requiredSystemFeatures = [ "hci-deploy-agent-nixos" ]; + config = self.nixosConfigurations.VEGAS.config // { outPath = "wtfwtfwtfwtfwtfwtf"; }; + secretsMap.ssh = "deploy-ssh"; + + userSetupScript = '' + writeSSHKey ssh + cat >>~/.ssh/known_hosts <