Setup basic telegraf reporting

This commit is contained in:
Charlotte Van Petegem 2022-04-30 22:20:05 +02:00
parent 928c60fefc
commit 10c7e3dcea
No known key found for this signature in database
GPG key ID: 019E764B7184435A
8 changed files with 93 additions and 41 deletions

View file

@ -3,52 +3,52 @@
{
imports = [ ./hardware.nix ];
config = {
networking.hostId = "3cc1a4b2";
networking.hostId = "3cc1a4b2";
time.timeZone = "Europe/Brussels";
time.timeZone = "Europe/Brussels";
# Machine-specific module settings
chvp = {
stateVersion = "20.09";
base = {
bluetooth.enable = true;
network.mobile = {
enable = true;
wireless-interface = "wlp0s20f3";
wired-interfaces = {
"enp0s31f6" = { };
};
};
zfs = {
encrypted = true;
backups = [
{
path = "rpool/safe/data";
remotePath = "zdata/recv/kholinar/safe/data";
fast = true;
location = "lasting-integrity";
}
];
rootDataset = "rpool/local/root";
};
};
development = {
# Machine-specific module settings
chvp = {
stateVersion = "20.09";
base = {
bluetooth.enable = true;
network.mobile = {
enable = true;
android.enable = true;
wireless-interface = "wlp0s20f3";
wired-interfaces = {
"enp0s31f6" = { };
};
};
games.enable = true;
graphical.enable = true;
programs = {
calibre.enable = false;
deluge.enable = true;
eid.enable = true;
element.enable = true;
hledger.enable = true;
obs.enable = true;
zfs = {
encrypted = true;
backups = [
{
path = "rpool/safe/data";
remotePath = "zdata/recv/kholinar/safe/data";
fast = true;
location = "lasting-integrity";
}
];
rootDataset = "rpool/local/root";
};
# It's a pandemic.
work.enable = true;
};
development = {
enable = true;
android.enable = true;
};
games.enable = true;
graphical.enable = true;
programs = {
calibre.enable = false;
deluge.enable = true;
eid.enable = true;
element.enable = true;
hledger.enable = true;
obs.enable = true;
};
# It's a pandemic.
work.enable = true;
};
services.telegraf.extraConfig.inputs.disk.mount_points = [ "/" "/boot" ];
}