summaryrefslogtreecommitdiff
path: root/systems/default.nix
diff options
context:
space:
mode:
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"
+ ];
+ };
}