fwminex.{motiejus->servers}.jakst
This commit is contained in:
parent
cda7123260
commit
8e80b76c12
4
data.nix
4
data.nix
|
@ -87,7 +87,7 @@ rec {
|
|||
"gccarch-armv8-a"
|
||||
];
|
||||
};
|
||||
"fwminex.motiejus.jakst" = rec {
|
||||
"fwminex.servers.jakst" = rec {
|
||||
extraHostNames = [
|
||||
jakstIP
|
||||
vno1IP
|
||||
|
@ -135,7 +135,7 @@ rec {
|
|||
mHosts = attrVals [
|
||||
"mxp10.motiejus.jakst"
|
||||
"mtworx.motiejus.jakst"
|
||||
"fwminex.motiejus.jakst"
|
||||
"fwminex.servers.jakst"
|
||||
] hosts;
|
||||
in
|
||||
builtins.catAttrs "jakstIP" mHosts;
|
||||
|
|
|
@ -284,7 +284,7 @@
|
|||
};
|
||||
|
||||
fwminex = {
|
||||
hostname = myData.hosts."fwminex.motiejus.jakst".jakstIP;
|
||||
hostname = myData.hosts."fwminex.servers.jakst".jakstIP;
|
||||
profiles = {
|
||||
system = {
|
||||
sshUser = "motiejus";
|
||||
|
|
|
@ -73,7 +73,7 @@ in
|
|||
sshAllowSubnet = myData.subnets.tailscale.sshPattern;
|
||||
publicKeys = map (h: myData.hosts.${h}.publicKey) [
|
||||
"vno1-oh2.servers.jakst"
|
||||
"fwminex.motiejus.jakst"
|
||||
"fwminex.servers.jakst"
|
||||
"mtworx.motiejus.jakst"
|
||||
];
|
||||
};
|
||||
|
@ -85,7 +85,7 @@ in
|
|||
|
||||
deployerbot = {
|
||||
follower = {
|
||||
publicKeys = [ myData.hosts."fwminex.motiejus.jakst".publicKey ];
|
||||
publicKeys = [ myData.hosts."fwminex.servers.jakst".publicKey ];
|
||||
|
||||
enable = true;
|
||||
sshAllowSubnets = [ myData.subnets.tailscale.sshPattern ];
|
||||
|
|
|
@ -167,7 +167,7 @@ in
|
|||
};
|
||||
|
||||
follower = {
|
||||
publicKeys = [ myData.hosts."fwminex.motiejus.jakst".publicKey ];
|
||||
publicKeys = [ myData.hosts."fwminex.servers.jakst".publicKey ];
|
||||
|
||||
enable = true;
|
||||
uidgid = myData.uidgid.updaterbot-deployee;
|
||||
|
|
|
@ -122,7 +122,7 @@ in
|
|||
|
||||
deployerbot = {
|
||||
follower = {
|
||||
publicKeys = [ myData.hosts."fwminex.motiejus.jakst".publicKey ];
|
||||
publicKeys = [ myData.hosts."fwminex.servers.jakst".publicKey ];
|
||||
|
||||
enable = true;
|
||||
uidgid = myData.uidgid.updaterbot-deployee;
|
||||
|
|
|
@ -193,7 +193,7 @@
|
|||
|
||||
deployerbot = {
|
||||
follower = {
|
||||
publicKeys = [ myData.hosts."fwminex.motiejus.jakst".publicKey ];
|
||||
publicKeys = [ myData.hosts."fwminex.servers.jakst".publicKey ];
|
||||
|
||||
enable = true;
|
||||
sshAllowSubnets = [ myData.subnets.tailscale.sshPattern ];
|
||||
|
@ -463,8 +463,8 @@
|
|||
static_configs = [ { targets = [ "${myData.hosts."vno3-rp3b.servers.jakst".jakstIP}:${port}" ]; } ];
|
||||
}
|
||||
{
|
||||
job_name = "fwminex.motiejus.jakst";
|
||||
static_configs = [ { targets = [ "${myData.hosts."fwminex.motiejus.jakst".jakstIP}:${port}" ]; } ];
|
||||
job_name = "fwminex.servers.jakst";
|
||||
static_configs = [ { targets = [ "${myData.hosts."fwminex.servers.jakst".jakstIP}:${port}" ]; } ];
|
||||
}
|
||||
{
|
||||
job_name = "mtworx.motiejus.jakst";
|
||||
|
|
|
@ -85,7 +85,7 @@
|
|||
dataDir = "/data/borg";
|
||||
sshKeys = with myData; [
|
||||
hosts."vno1-oh2.servers.jakst".publicKey
|
||||
hosts."fwminex.motiejus.jakst".publicKey
|
||||
hosts."fwminex.servers.jakst".publicKey
|
||||
people_pubkeys.motiejus
|
||||
];
|
||||
};
|
||||
|
@ -97,7 +97,7 @@
|
|||
|
||||
deployerbot = {
|
||||
follower = {
|
||||
publicKeys = [ myData.hosts."fwminex.motiejus.jakst".publicKey ];
|
||||
publicKeys = [ myData.hosts."fwminex.servers.jakst".publicKey ];
|
||||
|
||||
enable = true;
|
||||
sshAllowSubnets = [ myData.subnets.tailscale.sshPattern ];
|
||||
|
|
|
@ -6,7 +6,7 @@ let
|
|||
bk2 = "age14f39j0wx84n93lgqn6d9gcd3yhuwak6qwrxy8v83ydn7266uafts09ecva";
|
||||
};
|
||||
|
||||
fwminex = (import ./data.nix).hosts."fwminex.motiejus.jakst".publicKey;
|
||||
fwminex = (import ./data.nix).hosts."fwminex.servers.jakst".publicKey;
|
||||
mtworx = (import ./data.nix).hosts."mtworx.motiejus.jakst".publicKey;
|
||||
fra1-b = (import ./data.nix).hosts."fra1-b.servers.jakst".publicKey;
|
||||
vno1-oh2 = (import ./data.nix).hosts."vno1-oh2.servers.jakst".publicKey;
|
||||
|
|
Loading…
Reference in New Issue