Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.

Commit

Permalink
add deployments back
Browse files Browse the repository at this point in the history
  • Loading branch information
Skarlett authored and Skarlett committed Jul 30, 2023
1 parent 9adbaa4 commit 527abac
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
41 changes: 41 additions & 0 deletions deployments.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{ deploy, self }:
{
charmander = {
hostname = "10.0.0.61";
profiles.system = {
user = "root";
sshUser = "lunarix";
sshOpts = [ "-t" ];
magicRollback = false;
path =
deploy.lib.x86_64-linux.activate.nixos
self.nixosConfigurations.charmander;
};
};

coggie = {
hostname = "10.0.0.245";
profiles.system = {
user = "root";
sshUser = "lunarix";
sshOpts = [ "-t" ];
magicRollback = false;
path =
deploy.lib.aarch64-linux.activate.nixos
self.nixosConfigurations.coggie;
};
};

cardinal = {
hostname = "172.245.82.235";
profiles.system = {
user = "root";
sshUser = "lunarix";
sshOpts = [ "-t" ];
magicRollback = false;
path =
deploy.lib.x86_64-linux.activate.nixos
self.nixosConfigurations.cardinal;
};
};
}
5 changes: 5 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@ rec {
};

nixosConfigurations = import ./machines inputs;

deploy.nodes = import ./deployments.nix {
inherit self;
inherit (inputs) deploy;
};
};
};
}

0 comments on commit 527abac

Please sign in to comment.