rm mxp10
This commit is contained in:
parent
e6b6f8bb26
commit
58c5e50fd4
8
data.nix
8
data.nix
@ -107,9 +107,8 @@ rec {
|
|||||||
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJIwK7et5NBM+vaffiwpKLSAJwKfwMhCZwl1JyXo79uL";
|
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJIwK7et5NBM+vaffiwpKLSAJwKfwMhCZwl1JyXo79uL";
|
||||||
jakstIP = "100.89.176.7";
|
jakstIP = "100.89.176.7";
|
||||||
};
|
};
|
||||||
"mxp10.motiejus.jakst" = {
|
"mxp1.motiejus.jakst" = {
|
||||||
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIy9IR7Jq3hRZ5JgwfmeCgSKFrdgujnZt79uxDPVi3tu";
|
jakstIP = "100.89.176.22";
|
||||||
jakstIP = "100.89.176.17";
|
|
||||||
};
|
};
|
||||||
"zh2769.rsync.net" = {
|
"zh2769.rsync.net" = {
|
||||||
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJtclizeBy1Uo3D86HpgD3LONGVH0CJ0NT+YfZlldAJd";
|
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJtclizeBy1Uo3D86HpgD3LONGVH0CJ0NT+YfZlldAJd";
|
||||||
@ -134,7 +133,8 @@ rec {
|
|||||||
motiejus.cidrs =
|
motiejus.cidrs =
|
||||||
let
|
let
|
||||||
mHosts = attrVals [
|
mHosts = attrVals [
|
||||||
"mxp10.motiejus.jakst"
|
"mxp1.motiejus.jakst"
|
||||||
|
"vno1-gdrx.motiejus.jakst"
|
||||||
"mtworx.motiejus.jakst"
|
"mtworx.motiejus.jakst"
|
||||||
"fwminex.servers.jakst"
|
"fwminex.servers.jakst"
|
||||||
] hosts;
|
] hosts;
|
||||||
|
@ -17,12 +17,13 @@
|
|||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
knownHosts =
|
knownHosts =
|
||||||
let
|
let
|
||||||
|
filtered = lib.filterAttrs (_key: value: lib.hasAttr "publicKey" value) myData.hosts;
|
||||||
sshAttrs = lib.genAttrs [
|
sshAttrs = lib.genAttrs [
|
||||||
"extraHostNames"
|
"extraHostNames"
|
||||||
"publicKey"
|
"publicKey"
|
||||||
] (_: null);
|
] (_: null);
|
||||||
in
|
in
|
||||||
lib.mapAttrs (_name: builtins.intersectAttrs sshAttrs) myData.hosts;
|
lib.mapAttrs (_name: builtins.intersectAttrs sshAttrs) filtered;
|
||||||
extraConfig =
|
extraConfig =
|
||||||
''
|
''
|
||||||
Host git.jakstys.lt
|
Host git.jakstys.lt
|
||||||
|
@ -11,7 +11,6 @@ let
|
|||||||
"fwminex".id = "GKSUKZE-AOBQOWY-CNLZ2ZI-WNKATYE-MV4Y452-J3VCJ5C-EAANXRX-2P6EHA6";
|
"fwminex".id = "GKSUKZE-AOBQOWY-CNLZ2ZI-WNKATYE-MV4Y452-J3VCJ5C-EAANXRX-2P6EHA6";
|
||||||
"mtworx".id = "C72YA2S-PE5IGDZ-DCNFV7Y-I72BGZM-5L2OO7Y-4K5OTGZ-NILAS2V-BGSAUQW";
|
"mtworx".id = "C72YA2S-PE5IGDZ-DCNFV7Y-I72BGZM-5L2OO7Y-4K5OTGZ-NILAS2V-BGSAUQW";
|
||||||
"mxp1".id = "2HBV27D-PK5DKQG-EQE4AV7-ASADXHJ-ER7GAZK-Z6C2NZP-64DLTKI-5OPUZAT";
|
"mxp1".id = "2HBV27D-PK5DKQG-EQE4AV7-ASADXHJ-ER7GAZK-Z6C2NZP-64DLTKI-5OPUZAT";
|
||||||
"mxp10".id = "LO54QZZ-5J3G62P-WUVM3MW-7J3VWHD-BG76TOQ-5S7PZSY-JU45K3I-X3ZL4AN";
|
|
||||||
"rzj-744P2PE".id = "UW6ISH2-NW6X6AW-BJR76TV-TV3BIGZ-PA5QH2M-YEF567T-IWMHKD5-P3XHHAH";
|
"rzj-744P2PE".id = "UW6ISH2-NW6X6AW-BJR76TV-TV3BIGZ-PA5QH2M-YEF567T-IWMHKD5-P3XHHAH";
|
||||||
"sqq1-desk".id = "WJ5KGRS-AGDZ7SW-INIVWHR-Q4E5QX4-Y4TT2AK-QRJTOTL-2UHXX6O-5MUPGA2";
|
"sqq1-desk".id = "WJ5KGRS-AGDZ7SW-INIVWHR-Q4E5QX4-Y4TT2AK-QRJTOTL-2UHXX6O-5MUPGA2";
|
||||||
"vno1-vinc".id = "4W3S7R2-OWI6XO6-V4NMDNB-NTIETYP-QJSBQGA-WEIXPHR-WNZZ7R4-VT4COAR";
|
"vno1-vinc".id = "4W3S7R2-OWI6XO6-V4NMDNB-NTIETYP-QJSBQGA-WEIXPHR-WNZZ7R4-VT4COAR";
|
||||||
@ -26,7 +25,6 @@ let
|
|||||||
"vno1-gdrx"
|
"vno1-gdrx"
|
||||||
"fwminex"
|
"fwminex"
|
||||||
"mxp1"
|
"mxp1"
|
||||||
"mxp10"
|
|
||||||
];
|
];
|
||||||
id = "8lk0n-mm63y";
|
id = "8lk0n-mm63y";
|
||||||
label = "Books";
|
label = "Books";
|
||||||
@ -43,7 +41,6 @@ let
|
|||||||
devices = [
|
devices = [
|
||||||
"vno1-gdrx"
|
"vno1-gdrx"
|
||||||
"mxp1"
|
"mxp1"
|
||||||
"mxp10"
|
|
||||||
"fwminex"
|
"fwminex"
|
||||||
"mtworx"
|
"mtworx"
|
||||||
];
|
];
|
||||||
@ -81,7 +78,6 @@ let
|
|||||||
M-Camera = {
|
M-Camera = {
|
||||||
devices = [
|
devices = [
|
||||||
"mxp1"
|
"mxp1"
|
||||||
"mxp10"
|
|
||||||
"vno1-gdrx"
|
"vno1-gdrx"
|
||||||
"fwminex"
|
"fwminex"
|
||||||
"mtworx"
|
"mtworx"
|
||||||
@ -108,7 +104,6 @@ let
|
|||||||
"fwminex"
|
"fwminex"
|
||||||
"mtworx"
|
"mtworx"
|
||||||
"mxp1"
|
"mxp1"
|
||||||
"mxp10"
|
|
||||||
];
|
];
|
||||||
id = "tg94v-cqcwr";
|
id = "tg94v-cqcwr";
|
||||||
label = "music";
|
label = "music";
|
||||||
@ -117,7 +112,6 @@ let
|
|||||||
devices = [
|
devices = [
|
||||||
"vno1-gdrx"
|
"vno1-gdrx"
|
||||||
"mxp1"
|
"mxp1"
|
||||||
"mxp10"
|
|
||||||
"mtworx"
|
"mtworx"
|
||||||
"fwminex"
|
"fwminex"
|
||||||
];
|
];
|
||||||
@ -170,18 +164,10 @@ let
|
|||||||
label = "www-mtworx";
|
label = "www-mtworx";
|
||||||
};
|
};
|
||||||
www-mxp1 = {
|
www-mxp1 = {
|
||||||
devices = [
|
devices = [ "mxp1" ];
|
||||||
"mxp1"
|
|
||||||
"mxp10"
|
|
||||||
];
|
|
||||||
id = "gqrtz-prx9h";
|
id = "gqrtz-prx9h";
|
||||||
label = "www-mxp1";
|
label = "www-mxp1";
|
||||||
};
|
};
|
||||||
mykolo = {
|
|
||||||
devices = [ "mxp10" ];
|
|
||||||
id = "wslmq-fyw4w";
|
|
||||||
label = "mykolo";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
@ -220,7 +206,6 @@ in
|
|||||||
fwminex
|
fwminex
|
||||||
mtworx
|
mtworx
|
||||||
mxp1
|
mxp1
|
||||||
mxp10
|
|
||||||
rzj-744P2PE
|
rzj-744P2PE
|
||||||
sqq1-desk
|
sqq1-desk
|
||||||
vno1-vinc
|
vno1-vinc
|
||||||
@ -234,7 +219,6 @@ in
|
|||||||
fwminex
|
fwminex
|
||||||
mtworx
|
mtworx
|
||||||
mxp1
|
mxp1
|
||||||
mxp10
|
|
||||||
rzj-744P2PE
|
rzj-744P2PE
|
||||||
sqq1-desk
|
sqq1-desk
|
||||||
vno1-vinc
|
vno1-vinc
|
||||||
@ -252,7 +236,6 @@ in
|
|||||||
sqq1-desk
|
sqq1-desk
|
||||||
rzj-744P2PE
|
rzj-744P2PE
|
||||||
mxp1
|
mxp1
|
||||||
mxp10
|
|
||||||
a-kfire
|
a-kfire
|
||||||
v-kfire
|
v-kfire
|
||||||
;
|
;
|
||||||
@ -265,7 +248,6 @@ in
|
|||||||
"/var/www/dl/tel" = www-mxp1;
|
"/var/www/dl/tel" = www-mxp1;
|
||||||
"/var/www/dl/vno1-gdrx" = www-vno1-gdrx;
|
"/var/www/dl/vno1-gdrx" = www-vno1-gdrx;
|
||||||
"/var/www/dl/mtworx" = www-mtworx;
|
"/var/www/dl/mtworx" = www-mtworx;
|
||||||
"/var/www/dl/mykolo" = mykolo;
|
|
||||||
"${cfg.dataDir}/annex2/Books" = Books;
|
"${cfg.dataDir}/annex2/Books" = Books;
|
||||||
"${cfg.dataDir}/annex2/Maildir" = Maildir;
|
"${cfg.dataDir}/annex2/Maildir" = Maildir;
|
||||||
"${cfg.dataDir}/annex2/M-Active" = M-Active;
|
"${cfg.dataDir}/annex2/M-Active" = M-Active;
|
||||||
|
Loading…
Reference in New Issue
Block a user