feat(users/flokli): add archeology-ec2
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>
This commit is contained in:
parent
9a1e5cf4c7
commit
71fa4110fa
4 changed files with 70 additions and 3 deletions
|
|
@ -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)
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue