Add 'old-conf/' from commit '62a64a79a8'
git-subtree-dir: old-conf git-subtree-mainline:4667974392git-subtree-split:62a64a79a8
This commit is contained in:
commit
83de52d5db
195 changed files with 13408 additions and 0 deletions
17
old-conf/data/monitoring.toml
Normal file
17
old-conf/data/monitoring.toml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
[master]
|
||||
hostname = "beliskner"
|
||||
ip = "beliskner.kangaroo-galaxy.ts.net" # tailscale
|
||||
|
||||
[hostOverrides]
|
||||
|
||||
[exporters.node]
|
||||
hosts = [ "ds9", "picard" ]
|
||||
|
||||
[exporters.smartctl]
|
||||
hosts = [ "ds9" ]
|
||||
|
||||
[exporters.blackbox]
|
||||
hosts = [ "beliskner" ]
|
||||
|
||||
[promtail]
|
||||
hosts = [ "picard", "ds9" ]
|
||||
29
old-conf/data/pubkeys.nix
Normal file
29
old-conf/data/pubkeys.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
let
|
||||
ragon =
|
||||
let
|
||||
user = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEJwOH1b6xWmEr1VZh48kBIYhW11vtPFR3my8stAHlSi" # saurier
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIuwQJY0H/fdu1UmGXAut7VfcvAk2Dm78tJpkyyv2in2" # daedalus
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKZ0hlF6EFQXpw74kkpoA8vxMX6vVDTnpM41rCDXRMuo" # daedalusvm
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIC6xx1IWlRoSQvCUZ+iyzekjFjoXBKmDT4Kxww4Tl+63" # iPad
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJmN2QRbwQyeUChQ0ZxNzjNnUZTOUVbM4kDEGfEtmufc" # iPhone
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID/oMAi5jyQsNohfhcSH2ItisTpBGB0WtYTVxJYKKqhj" # theseus
|
||||
];
|
||||
server = user ++ hosts.ds9 ++ hosts.picard;
|
||||
client = user;
|
||||
hosts = {
|
||||
ds9 = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ+BBXufXAJhyUHVfhqlk8Y4zEKJbKXgJQvsdE482lpV" ];
|
||||
picard = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAm3UXZaN95WBUaS9SiHLNEuI1tP1x1w07qnYxPe+vdr" ];
|
||||
theseus = ["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIP/pPCcq0ziQhdyZSObly3bUUJqH56Ly+uYS6MNdR2D+"];
|
||||
};
|
||||
in
|
||||
{
|
||||
inherit user server client;
|
||||
computers = user ++ (builtins.foldl' (a: b: a ++ b) [ ] (builtins.attrValues hosts)); # everything
|
||||
host = hn: (hosts.${hn} ++ user);
|
||||
hosts = hn: ((map (x: hosts.${x}) hn) ++ user);
|
||||
};
|
||||
in
|
||||
{
|
||||
inherit ragon;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue