summaryrefslogtreecommitdiff
path: root/systems/default.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2024-02-08 21:20:58 -0500
committerseth <[email protected]>2024-02-09 01:17:16 -0500
commit3f19e4f7420916c45d6c8a1cab5b476b1c863ed0 (patch)
tree329d3a079d1d4a6424104a4c1d27062fdf08f9f5 /systems/default.nix
parentac05391c228b1630614e6585124f183a90489414 (diff)
lib/deploy: init
Diffstat (limited to 'systems/default.nix')
-rw-r--r--systems/default.nix16
1 files changed, 13 insertions, 3 deletions
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"
+ ];
+ };
}