forked from pub-solar/infra
deploy: remove hard-coded SSH user barkeeper
This commit is contained in:
parent
eb63779bb6
commit
42b3052091
15
flake.nix
15
flake.nix
|
@ -120,13 +120,7 @@
|
||||||
devShells.ci = pkgs.mkShell { buildInputs = with pkgs; [ nodejs ]; };
|
devShells.ci = pkgs.mkShell { buildInputs = with pkgs; [ nodejs ]; };
|
||||||
};
|
};
|
||||||
|
|
||||||
flake =
|
flake = {
|
||||||
let
|
|
||||||
username = "barkeeper";
|
|
||||||
in
|
|
||||||
{
|
|
||||||
inherit username;
|
|
||||||
|
|
||||||
nixosModules = builtins.listToAttrs (
|
nixosModules = builtins.listToAttrs (
|
||||||
map (x: {
|
map (x: {
|
||||||
name = x;
|
name = x;
|
||||||
|
@ -143,31 +137,24 @@
|
||||||
deploy.nodes = self.lib.deploy.mkDeployNodes self.nixosConfigurations {
|
deploy.nodes = self.lib.deploy.mkDeployNodes self.nixosConfigurations {
|
||||||
nachtigall = {
|
nachtigall = {
|
||||||
hostname = "nachtigall.wg.pub.solar";
|
hostname = "nachtigall.wg.pub.solar";
|
||||||
sshUser = username;
|
|
||||||
};
|
};
|
||||||
metronom = {
|
metronom = {
|
||||||
hostname = "metronom.wg.pub.solar";
|
hostname = "metronom.wg.pub.solar";
|
||||||
sshUser = username;
|
|
||||||
};
|
};
|
||||||
tankstelle = {
|
tankstelle = {
|
||||||
hostname = "tankstelle.wg.pub.solar";
|
hostname = "tankstelle.wg.pub.solar";
|
||||||
sshUser = username;
|
|
||||||
};
|
};
|
||||||
underground = {
|
underground = {
|
||||||
hostname = "80.244.242.3";
|
hostname = "80.244.242.3";
|
||||||
sshUser = username;
|
|
||||||
};
|
};
|
||||||
trinkgenossin = {
|
trinkgenossin = {
|
||||||
hostname = "trinkgenossin.wg.pub.solar";
|
hostname = "trinkgenossin.wg.pub.solar";
|
||||||
sshUser = username;
|
|
||||||
};
|
};
|
||||||
delite = {
|
delite = {
|
||||||
hostname = "delite.wg.pub.solar";
|
hostname = "delite.wg.pub.solar";
|
||||||
sshUser = username;
|
|
||||||
};
|
};
|
||||||
blue-shell = {
|
blue-shell = {
|
||||||
hostname = "blue-shell.wg.pub.solar";
|
hostname = "blue-shell.wg.pub.solar";
|
||||||
sshUser = username;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue