🔥remove deploy-rs (no longer in use)
This commit is contained in:
@ -1,7 +1,5 @@
|
||||
{
|
||||
self,
|
||||
system,
|
||||
deploy-rs,
|
||||
pre-commit-hooks,
|
||||
...
|
||||
}:
|
||||
@ -15,4 +13,3 @@
|
||||
};
|
||||
};
|
||||
}
|
||||
// (deploy-rs.lib.${system}.deployChecks self.deploy)
|
||||
|
@ -1,51 +0,0 @@
|
||||
{
|
||||
self,
|
||||
nixpkgs,
|
||||
deploy-rs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
mkDeploy =
|
||||
hostName:
|
||||
let
|
||||
inherit (self.hosts.${hostName})
|
||||
type
|
||||
address
|
||||
system
|
||||
sshUser
|
||||
;
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
deployPkgs = import nixpkgs {
|
||||
inherit system;
|
||||
overlays = [
|
||||
deploy-rs.overlays.default
|
||||
(_self: super: {
|
||||
deploy-rs = {
|
||||
inherit (pkgs) deploy-rs;
|
||||
inherit (super.deploy-rs) lib;
|
||||
};
|
||||
})
|
||||
];
|
||||
};
|
||||
inherit (deployPkgs.deploy-rs.lib) activate;
|
||||
in
|
||||
{
|
||||
hostname = address;
|
||||
profiles.system = {
|
||||
user = "root";
|
||||
inherit sshUser;
|
||||
path = activate.${type} self."${type}Configurations".${hostName};
|
||||
};
|
||||
};
|
||||
in
|
||||
{
|
||||
nodes = {
|
||||
socrates = mkDeploy "socrates";
|
||||
plato = mkDeploy "plato";
|
||||
agent = mkDeploy "agent";
|
||||
form = mkDeploy "form";
|
||||
matter = mkDeploy "matter";
|
||||
purpose = mkDeploy "purpose";
|
||||
epicurus = mkDeploy "epicurus";
|
||||
};
|
||||
}
|
@ -39,7 +39,6 @@ _:
|
||||
"opentofu"
|
||||
"podman"
|
||||
"ripgrep"
|
||||
"sentry-cli"
|
||||
"tea"
|
||||
"terminal-notifier"
|
||||
"watchman"
|
||||
@ -48,6 +47,7 @@ _:
|
||||
casks = [
|
||||
"1password"
|
||||
"1password-cli"
|
||||
"actual"
|
||||
"android-studio"
|
||||
"balenaetcher"
|
||||
"beeper"
|
||||
|
@ -8,7 +8,6 @@
|
||||
default = pkgs.mkShell {
|
||||
name = "athens";
|
||||
buildInputs = with pkgs; [
|
||||
deploy-rs
|
||||
deadnix
|
||||
doctl
|
||||
nixd
|
||||
|
Reference in New Issue
Block a user