All checks were successful
/ build-host (map[host:beefcake]) (push) Successful in 54s
/ build-host (map[host:dragon]) (push) Successful in 1m17s
/ build-host (map[host:flipflop]) (push) Successful in 1m8s
/ build-host (map[host:foxtrot]) (push) Successful in 1m14s
/ build-host (map[host:router]) (push) Successful in 45s
/ build-devshell (push) Successful in 18s
/ flake-check (push) Successful in 4m58s
31 lines
712 B
Nix
31 lines
712 B
Nix
{ deploy-rs, self, ... }:
|
|
let
|
|
deployer =
|
|
host: opts:
|
|
{
|
|
hostname = "${host}.hare-cod.ts.net";
|
|
remoteBuild = true; # should pull from cache # TODO: verify this
|
|
fastConnection = true;
|
|
interactiveSudo = true;
|
|
profiles.system = {
|
|
user = "root";
|
|
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.${host};
|
|
};
|
|
}
|
|
// opts;
|
|
in
|
|
{
|
|
nodes = {
|
|
beefcake = deployer "beefcake" { };
|
|
dragon = deployer "dragon" { };
|
|
htpc = deployer "htpc" { };
|
|
bigtower = deployer "bigtower" { };
|
|
rascal = deployer "rascal" { };
|
|
router = (deployer "router") {
|
|
sshOpts = [
|
|
"-p"
|
|
"2201"
|
|
];
|
|
};
|
|
};
|
|
}
|