reformat smartd
This commit is contained in:
parent
3b06497e9a
commit
2ea2b8ed53
1 changed files with 2 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
systemd.services.telegraf.path = [ pkgs.smartmontools pkgs.nvme-cli "/run/wrappers" ];
|
services.smartd.enable = true;
|
||||||
environment.systemPackages = [ pkgs.smartmontools pkgs.nvme-cli ];
|
environment.systemPackages = [ pkgs.smartmontools pkgs.nvme-cli ];
|
||||||
|
|
||||||
services.telegraf = {
|
services.telegraf = {
|
||||||
|
@ -10,8 +10,8 @@
|
||||||
use_sudo = true;
|
use_sudo = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
systemd.services.telegraf.path = [ pkgs.smartmontools pkgs.nvme-cli "/run/wrappers" ];
|
||||||
|
|
||||||
services.smartd.enable = true;
|
|
||||||
security.sudo.configFile = ''
|
security.sudo.configFile = ''
|
||||||
# For smartctl add the following lines:
|
# For smartctl add the following lines:
|
||||||
Cmnd_Alias SMARTCTL = ${pkgs.smartmontools}/bin/smartctl
|
Cmnd_Alias SMARTCTL = ${pkgs.smartmontools}/bin/smartctl
|
||||||
|
@ -25,4 +25,3 @@
|
||||||
'';
|
'';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue