Add login display module
This commit is contained in:
parent
b6121b1252
commit
5786ff6cee
2 changed files with 155 additions and 7 deletions
|
|
@ -11,7 +11,7 @@
|
|||
../../../modules/borg-client.nix
|
||||
../../../modules/webdav.nix
|
||||
../../../modules/container-updater.nix
|
||||
../../../modules/smart-report.nix
|
||||
../../../modules/login-display.nix
|
||||
];
|
||||
|
||||
# GRUB bootloader with ZFS support
|
||||
|
|
@ -219,19 +219,19 @@
|
|||
hideDotFiles = true;
|
||||
};
|
||||
|
||||
# SMART disk health reporting
|
||||
services.smart-report = {
|
||||
# Login display with SMART disk health status
|
||||
services.login-display = {
|
||||
enable = true;
|
||||
enableSystemdService = true;
|
||||
schedule = "08:00:00";
|
||||
gotifyToken = "Ac9qKFH5cA.7Yly";
|
||||
drives = {
|
||||
showSystemInfo = true;
|
||||
showSmartStatus = true;
|
||||
smartDrives = {
|
||||
"/dev/disk/by-id/ata-ZHITAI_SC001_XT_1000GB_ZTB401TAB244431J4R" = "ZFS_Mirror_1";
|
||||
"/dev/disk/by-id/ata-ZHITAI_SC001_XT_1000GB_ZTB401TAB244431KEG" = "ZFS_Mirror_2";
|
||||
"/dev/disk/by-id/ata-HGST_HUH721212ALE604_5PK2N4GB" = "Data_Drive_1_12TB";
|
||||
"/dev/disk/by-id/ata-HGST_HUH721212ALE604_5PJ7Z3LE" = "Data_Drive_2_12TB";
|
||||
"/dev/disk/by-id/ata-ST16000NM000J-2TW103_WRS0F8BE" = "Parity_Drive_16TB";
|
||||
};
|
||||
showDiskUsage = false;
|
||||
};
|
||||
|
||||
# Borg backup configuration
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue