summaryrefslogtreecommitdiff
path: root/tofu/deploy.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tofu/deploy.nix')
-rw-r--r--tofu/deploy.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/tofu/deploy.nix b/tofu/deploy.nix
new file mode 100644
index 0000000..3f15713
--- /dev/null
+++ b/tofu/deploy.nix
@@ -0,0 +1,15 @@
+{
+ module.deploy_nixos = rec {
+ source = "github.com/nix-community/terraform-nixos//deploy_nixos?ref=646cacb12439ca477c05315a7bfd49e9832bc4e3";
+
+ build_on_target = "true";
+ flake = true;
+ hermetic = true;
+ ssh_agent = false;
+
+ nixos_config = "atlas";
+
+ target_user = "root";
+ target_host = nixos_config;
+ };
+}