remove deploy-rs completely
- Remove deploy-rs flake input - Remove deploy block from flake.nix - Remove deployChecks from flake checks - Remove deploy-rs from forgejo-runner hostPackages - Deployment is now handled by Comin (auto) and nix run .#deploy (manual)
This commit is contained in:
parent
e9a5af27e9
commit
a4dfbdcd52
3 changed files with 6 additions and 101 deletions
22
flake.nix
22
flake.nix
|
|
@ -15,9 +15,6 @@
|
|||
comin.url = "github:nlewo/comin";
|
||||
comin.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
deploy-rs.url = "github:serokell/deploy-rs";
|
||||
deploy-rs.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
nixvim.url = "github:nix-community/nixvim/nixos-25.11";
|
||||
nixvim.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
|
|
@ -119,23 +116,6 @@
|
|||
pkgs.writeShellScriptBin "pre-commit-run" script
|
||||
);
|
||||
|
||||
deploy = {
|
||||
nodes = {
|
||||
cryodev-main = {
|
||||
hostname = constants.domain;
|
||||
sshUser = "root";
|
||||
sshOpts = [
|
||||
"-p"
|
||||
"2299"
|
||||
];
|
||||
profiles.system = {
|
||||
user = "root";
|
||||
path = inputs.deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.cryodev-main;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
checks = forAllSystems (
|
||||
system:
|
||||
let
|
||||
|
|
@ -145,7 +125,6 @@
|
|||
inherit system;
|
||||
overlays = [ self.overlays.modifications ];
|
||||
};
|
||||
deployChecks = inputs.deploy-rs.lib.${system}.deployChecks self.deploy;
|
||||
in
|
||||
{
|
||||
pre-commit-check = inputs.git-hooks.lib.${system}.run {
|
||||
|
|
@ -159,7 +138,6 @@
|
|||
# package = overlaidPkgs.package;
|
||||
};
|
||||
}
|
||||
// deployChecks
|
||||
);
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue