refactor(users/flokli): unify archeology and archivist
This merges the two directories together, and explains the two different AWS profiles and what they're used for. Change-Id: Ieaa09be5af02491056f5ad83b1d639e2de9a218b Reviewed-on: https://cl.snix.dev/c/snix/+/30102 Autosubmit: Florian Klink <flokli@flokli.de> Reviewed-by: Ryan Lahfa <masterancpp@gmail.com> Tested-by: besadii
This commit is contained in:
parent
580f03f6fd
commit
2bdb497c85
12 changed files with 74 additions and 74 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ depot, pkgs, lib, ... }:
|
||||
{ depot, pkgs, ... }:
|
||||
|
||||
let
|
||||
# assumes `name` is configured appropriately in your .ssh/config
|
||||
|
|
@ -11,13 +11,13 @@ let
|
|||
|
||||
in
|
||||
depot.nix.readTree.drvTargets rec {
|
||||
archeologyEc2System = (depot.ops.nixos.nixosFor ({ ... }: {
|
||||
archivistEc2System = (depot.ops.nixos.nixosFor ({ ... }: {
|
||||
imports = [
|
||||
./archeology-ec2/configuration.nix
|
||||
./archivist-ec2/configuration.nix
|
||||
];
|
||||
})).config.system.build.toplevel;
|
||||
|
||||
deploy-archeology-ec2 = (deployScript "archeology-ec2" archeologyEc2System);
|
||||
deploy-archivist-ec2 = (deployScript "archivist-ec2" archivistEc2System);
|
||||
|
||||
nixosTvixCacheSystem = (depot.ops.nixos.nixosFor ({ ... }: {
|
||||
imports = [
|
||||
|
|
@ -28,7 +28,7 @@ depot.nix.readTree.drvTargets rec {
|
|||
deploy-nixos-tvix-cache = (deployScript "root@nixos.tvix.store" nixosTvixCacheSystem);
|
||||
|
||||
deps = (depot.nix.lazy-deps {
|
||||
deploy-archeology-ec2.attr = "users.flokli.nixos.deploy-archeology-ec2";
|
||||
deploy-archivist-ec2.attr = "users.flokli.nixos.deploy-archivist-ec2";
|
||||
aws.attr = "third_party.nixpkgs.awscli";
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue