even more backups of things
This commit is contained in:
parent
b8d125d448
commit
630f9b0074
46 changed files with 1166 additions and 197 deletions
|
|
@ -1,32 +1,39 @@
|
|||
{ }:
|
||||
{ config, ... }:
|
||||
{
|
||||
services.smartd = {
|
||||
enable = true;
|
||||
devices = [
|
||||
{
|
||||
device = "ata-CT500MX500SSD1_2206E607D6AA";
|
||||
device = "/dev/disk/by-id/ata-CT500MX500SSD1_2206E607D6AA";
|
||||
}
|
||||
{
|
||||
device = "ata-CT500MX500SSD1_2206E607D728";
|
||||
device = "/dev/disk/by-id/ata-CT500MX500SSD1_2206E607D728";
|
||||
}
|
||||
{
|
||||
device = "ata-ST16000NM001G-2KK103_ZL2B73HT";
|
||||
device = "/dev/disk/by-id/ata-ST16000NM001G-2KK103_ZL2B73HT";
|
||||
}
|
||||
{
|
||||
device = "ata-ST16000NM001G-2KK103_ZL2PSELL";
|
||||
device = "/dev/disk/by-id/ata-ST16000NM001G-2KK103_ZL2PSELL";
|
||||
}
|
||||
{
|
||||
device = "ata-ST16000NM001G-2KK103_ZL2B4RSM";
|
||||
device = "/dev/disk/by-id/ata-ST16000NM001G-2KK103_ZL2B4RSM";
|
||||
}
|
||||
{
|
||||
device = "ata-ST16000NM001G-2KK103_ZL23XYMM";
|
||||
device = "/dev/disk/by-id/ata-ST16000NM001G-2KK103_ZL23XYMM";
|
||||
}
|
||||
{
|
||||
device = "nvme-Samsung_SSD_960_EVO_500GB_S3X4NB0K244331X";
|
||||
device = "/dev/disk/by-id/nvme-Samsung_SSD_960_EVO_500GB_S3X4NB0K244331X";
|
||||
}
|
||||
{
|
||||
device = "nvme-Samsung_SSD_960_EVO_500GB_S3X4NB0K244303V";
|
||||
device = "/dev/disk/by-id/nvme-Samsung_SSD_960_EVO_500GB_S3X4NB0K244303V";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
services.prometheus.exporters.smartctl = {
|
||||
enable = config.services.smartd.enable;
|
||||
openFirewall = config.services.smartd.enable;
|
||||
# https://github.com/prometheus-community/smartctl_exporter?tab=readme-ov-file#why-is-root-required-cant-i-add-a-user-to-the-disk-group
|
||||
user = "root";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue