chore: remove deploy-rs
Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
parent
81807eeaa8
commit
eb59eaea95
2 changed files with 20 additions and 120 deletions
14
flake.nix
14
flake.nix
|
|
@ -23,9 +23,6 @@
|
|||
home-manager.url = "github:nix-community/home-manager/release-25.05";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
# deploy-rs
|
||||
deploy-rs.url = "github:serokell/deploy-rs";
|
||||
|
||||
# colmena
|
||||
colmena.url = "github:zhaofengli/colmena";
|
||||
|
||||
|
|
@ -60,7 +57,6 @@
|
|||
self,
|
||||
nixpkgs,
|
||||
tidalcycles,
|
||||
deploy-rs,
|
||||
colmena,
|
||||
...
|
||||
}@inputs:
|
||||
|
|
@ -176,14 +172,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
deploy.nodes = nixpkgs.lib.mapAttrs (name: config: {
|
||||
hostname = "${name}.escapeangle.com";
|
||||
profiles.system = {
|
||||
user = "root";
|
||||
path = deploy-rs.lib.aarch64-linux.activate.nixos config;
|
||||
};
|
||||
}) { inherit (self.nixosConfigurations) db-01 hosting-02; };
|
||||
|
||||
colmenaHive =
|
||||
let
|
||||
servers = builtins.map (file: nixpkgs.lib.removeSuffix ".nix" file) (
|
||||
|
|
@ -232,7 +220,5 @@
|
|||
}
|
||||
// colmenaConfig
|
||||
);
|
||||
|
||||
checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks self.deploy) deploy-rs.lib;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue