Add alias for timer services

This commit is contained in:
Yan Lin 2025-09-25 08:58:18 +02:00
parent 93e84a6675
commit e72b25df04
3 changed files with 17 additions and 0 deletions

View file

@ -63,6 +63,11 @@ in {
# Install the wrapper script package
environment.systemPackages = [ smartReportScript ];
# Shell alias for manual execution
environment.shellAliases = {
smart-report-now = "sudo systemctl start daily-smart-report.service";
};
# Configure systemd service if enabled
systemd.services.daily-smart-report = mkIf cfg.enableSystemdService {
description = "Daily SMART Health Report";