diff options
| author | quentin@aristote.fr <quentin@aristote.fr> | 2026-05-03 22:04:49 +0200 |
|---|---|---|
| committer | quentin@aristote.fr <quentin@aristote.fr> | 2026-05-03 22:07:24 +0200 |
| commit | f469806d59f50741b7687591f66c1af56b869f49 (patch) | |
| tree | 0c11daede63303537c0b1a4e8ec0f6d933f230e0 | |
| parent | 7ec4a406a554a2e32e8a8c4bf2b98eda5729799d (diff) | |
| download | hephaistos-f469806d59f50741b7687591f66c1af56b869f49.tar.gz hephaistos-f469806d59f50741b7687591f66c1af56b869f49.tar.bz2 hephaistos-f469806d59f50741b7687591f66c1af56b869f49.tar.xz | |
add cron job to light up screen when no network connection
| -rw-r--r-- | config/hardware/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/hardware/default.nix b/config/hardware/default.nix index 460efab..292d94c 100644 --- a/config/hardware/default.nix +++ b/config/hardware/default.nix @@ -40,4 +40,9 @@ in after = [ "multi-user.target" ]; }; }; + + services.cron = { + enable = true; + systemCronJobs = [ "0 * * * * ping -c 1 192.168.1.1 && blankscreen force || blankscreen poke" ]; + }; } |
