spin-down: improved systemd service descriptions

This commit is contained in:
Daniel Langbein 2024-08-24 12:59:50 +02:00
parent 1e5701956e
commit dba9b61952
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ in
config = mkIf (length cfg > 0) {
systemd.services."hd-idle" = {
description = "Spin down inactive HDDs";
description = "Spin down inactive HDDs with hd-idle";
wantedBy = [ "multi-user.target" ];
script =
let

View File

@ -89,7 +89,7 @@ in
systemd.services = builtins.listToAttrs (builtins.map (id: {
name = "hdparm-${id}";
value = {
description = "Spin down inactive HDD";
description = "Spin down inactive HDD ${id}";
wantedBy = [ "multi-user.target" ];
serviceConfig.Type = "oneshot";
script = ''