Remove deploy-rs

This commit is contained in:
Erwin Boskma 2023-01-31 16:58:29 +01:00
parent 9c71c7f57e
commit ae9d19ccfa
Signed by: erwin
SSH key fingerprint: SHA256:CyeNoWXd3kjX2Nwu6pDxxdS7OqmPVOy0NavA/KU/ntU
2 changed files with 3 additions and 100 deletions

View file

@ -1,29 +1,5 @@
{
"nodes": {
"deploy-rs": {
"inputs": {
"flake-compat": "flake-compat",
"nixpkgs": [
"nixpkgs"
],
"utils": [
"flake-utils"
]
},
"locked": {
"lastModified": 1674127017,
"narHash": "sha256-QO1xF7stu5ZMDLbHN30LFolMAwY6TVlzYvQoUs1RD68=",
"owner": "serokell",
"repo": "deploy-rs",
"rev": "8c9ea9605eed20528bf60fae35a2b613b901fd77",
"type": "github"
},
"original": {
"owner": "serokell",
"repo": "deploy-rs",
"type": "github"
}
},
"disko": {
"inputs": {
"nixpkgs": [
@ -68,22 +44,6 @@
}
},
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1668681692,
"narHash": "sha256-Ht91NGdewz8IQLtWZ9LCeNXMSXHUss+9COoqu6JLmXU=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "009399224d5e398d03b22badca40a37ac85412a1",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-compat_2": {
"flake": false,
"locked": {
"lastModified": 1673956053,
@ -430,7 +390,7 @@
},
"pre-commit-hooks": {
"inputs": {
"flake-compat": "flake-compat_2",
"flake-compat": "flake-compat",
"flake-utils": [
"flake-utils"
],
@ -456,7 +416,6 @@
},
"root": {
"inputs": {
"deploy-rs": "deploy-rs",
"disko": "disko",
"emacs-overlay": "emacs-overlay",
"flake-utils": "flake-utils",

View file

@ -19,12 +19,6 @@
inputs.nixpkgs.follows = "nixpkgs";
};
deploy-rs = {
url = "github:serokell/deploy-rs";
inputs.nixpkgs.follows = "nixpkgs";
inputs.utils.follows = "flake-utils";
};
nixinate = {
url = "github:MatthewCroughan/nixinate";
inputs.nixpkgs.follows = "nixpkgs";
@ -107,7 +101,6 @@
, sops
, ha-now-playing
, pamedia
, deploy-rs
, nixinate
, ...
} @ inputs:
@ -199,56 +192,8 @@
(builtins.attrNames machines));
apps = nixinate.nixinate.x86_64-linux self;
deploy.nodes = {
drone = {
hostname = "10.0.0.202";
profiles = {
system = {
sshUser = "root";
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.drone;
user = "root";
};
};
};
gitea = {
hostname = "10.0.0.201";
profiles = {
system = {
sshUser = "root";
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.gitea;
user = "root";
};
};
};
proxy = {
hostname = "10.0.0.251";
profiles = {
system = {
sshUser = "root";
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.proxy;
user = "root";
};
};
};
minio = {
hostname = "10.0.0.204";
profiles = {
system = {
sshUser = "root";
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.minio;
user = "root";
};
};
};
};
}
// (flake-utils.lib.eachSystem [ "aarch64-linux" "x86_64-linux" ])
// (flake-utils.lib.eachSystem [ "x86_64-linux" ])
(
system:
let
@ -291,7 +236,7 @@
};
};
}; # // deploy-rs.lib.${system}.deployChecks self.deploy;
};
devShells.default = with pkgs;
mkShell {
@ -312,7 +257,6 @@
nix-prefetch-github
nix-prefetch-docker
nixos-install-tools
deploy-rs.packages.${system}.deploy-rs
terraform
terraform-ls