about summary refs log tree commit diff
path: root/users/flokli/nixos/default.nix
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-10-30T09·21+0200
committerflokli <flokli@flokli.de>2023-10-30T09·31+0000
commit71fa4110fade5cafe0f1ec4c4a67f0b8bef86a35 (patch)
treebcfb2593827d8b20d64f6475eb4012d56aeb685c /users/flokli/nixos/default.nix
parent9a1e5cf4c731c082032285e9b02e453fd0d11483 (diff)
feat(users/flokli): add archeology-ec2 r/6907
This add the EC2 box config to the repo.

Change-Id: Id7a888a2cfbf1454cd9f9465018df377e14b4e9f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9836
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
Diffstat (limited to 'users/flokli/nixos/default.nix')
-rw-r--r--users/flokli/nixos/default.nix10
1 files changed, 7 insertions, 3 deletions
diff --git a/users/flokli/nixos/default.nix b/users/flokli/nixos/default.nix
index b4ed22ed595a..eec0c974ecba 100644
--- a/users/flokli/nixos/default.nix
+++ b/users/flokli/nixos/default.nix
@@ -1,9 +1,6 @@
 { depot, pkgs, lib, ... }:
 
 let
-  inherit (depot.users.flokli.nixos)
-    archeology;
-
   systemFor = sys: (depot.ops.nixos.nixosFor sys).system;
 
   # assumes `name` is configured appropriately in your .ssh/config
@@ -22,10 +19,17 @@ rec {
     ];
   })).config.system.build.toplevel;
 
+  archeologyEc2System = (depot.ops.nixos.nixosFor ({ ... }: {
+    imports = [
+      ./archeology-ec2/configuration.nix
+    ];
+  })).config.system.build.toplevel;
+
   shell = pkgs.mkShell {
     name = "flokli-nixos-shell";
     packages = [
       (deployScript "archeology" archeologySystem)
+      (deployScript "archeology-ec2" archeologyEc2System)
     ];
   };
 }