From 3f19e4f7420916c45d6c8a1cab5b476b1c863ed0 Mon Sep 17 00:00:00 2001 From: seth Date: Thu, 8 Feb 2024 21:20:58 -0500 Subject: lib/deploy: init --- systems/default.nix | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'systems/default.nix') diff --git a/systems/default.nix b/systems/default.nix index e0fa49b..7160c96 100644 --- a/systems/default.nix +++ b/systems/default.nix @@ -1,6 +1,8 @@ -{inputs, ...}: { - imports = [./deploy.nix]; - +{ + inputs, + self, + ... +}: { configurations = { nixos = { builder = inputs.nixpkgs.lib.nixosSystem; @@ -34,4 +36,12 @@ }; }; }; + + flake.deploy = { + remoteBuild = true; + fastConnection = false; + nodes = self.lib.deploy.mapNodes [ + "atlas" + ]; + }; } -- cgit v1.2.3