drop morph
This commit is contained in:
parent
a0cb091918
commit
26adab6fa1
4 changed files with 1 additions and 65 deletions
2
deploy
2
deploy
|
@ -2,4 +2,4 @@
|
|||
#! nix-shell ./shell.nix -i bash
|
||||
set -euo pipefail
|
||||
|
||||
morph deploy ./deployment.nix "$@" switch
|
||||
inv deploy "$@"
|
||||
|
|
|
@ -1,60 +0,0 @@
|
|||
with builtins;
|
||||
let
|
||||
secrets = import ./secrets.nix;
|
||||
|
||||
# Copied from <nixpkgs/lib>
|
||||
removeSuffix = suffix: str:
|
||||
let
|
||||
sufLen = stringLength suffix;
|
||||
sLen = stringLength str;
|
||||
in
|
||||
if
|
||||
sufLen <= sLen && suffix == substring (sLen - sufLen) sufLen str
|
||||
then
|
||||
substring 0 (sLen - sufLen) str
|
||||
else
|
||||
str;
|
||||
|
||||
in
|
||||
{
|
||||
network.description = "nix-community infra";
|
||||
network.nixConfig = {
|
||||
extra-substituters = "https://nix-community.cachix.org";
|
||||
binary-cache-public-keys = "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=";
|
||||
};
|
||||
|
||||
build01 = { ... }: {
|
||||
imports = [
|
||||
./build01/configuration.nix
|
||||
];
|
||||
|
||||
deployment.targetHost = "94.130.143.84";
|
||||
deployment.substituteOnDestination = true;
|
||||
};
|
||||
|
||||
build02 = { ... }: {
|
||||
imports = [
|
||||
./build02/configuration.nix
|
||||
];
|
||||
|
||||
deployment.targetHost = "95.217.109.189";
|
||||
deployment.substituteOnDestination = true;
|
||||
};
|
||||
|
||||
build03 = { ... }: {
|
||||
imports = [
|
||||
./build03/configuration.nix
|
||||
];
|
||||
|
||||
deployment.targetHost = "build03.nix-community.org";
|
||||
deployment.substituteOnDestination = true;
|
||||
};
|
||||
|
||||
build04 = { ... }: {
|
||||
imports = [
|
||||
./build04/configuration.nix
|
||||
];
|
||||
deployment.targetHost = "158.101.223.107";
|
||||
deployment.substituteOnDestination = true;
|
||||
};
|
||||
}
|
|
@ -4,7 +4,6 @@ let
|
|||
git-crypt
|
||||
niv
|
||||
sops
|
||||
morph
|
||||
rsync
|
||||
sources;
|
||||
inherit (pkgs.python3.pkgs) invoke;
|
||||
|
|
|
@ -5,8 +5,6 @@ let
|
|||
in
|
||||
pkgs.mkShell {
|
||||
NIX_PATH = "nixpkgs=${toString pkgs.path}";
|
||||
# required for morph
|
||||
SSH_USER = "root";
|
||||
|
||||
sopsPGPKeyDirs = [
|
||||
"./keys"
|
||||
|
@ -17,7 +15,6 @@ pkgs.mkShell {
|
|||
niv
|
||||
terraform
|
||||
sops
|
||||
morph
|
||||
invoke
|
||||
rsync
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue