From ecec4e9e592cf858403d701d1e3e4361e2dc2273 Mon Sep 17 00:00:00 2001 From: Jakob Lechner Date: Fri, 18 Jul 2025 10:34:49 +0200 Subject: [PATCH] Add basic logging for powerUp and powerDown --- hosts/copper/services/default.nix | 1 + hosts/copper/services/timelog.nix | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 hosts/copper/services/timelog.nix diff --git a/hosts/copper/services/default.nix b/hosts/copper/services/default.nix index 93eb10c..663c3a8 100644 --- a/hosts/copper/services/default.nix +++ b/hosts/copper/services/default.nix @@ -2,6 +2,7 @@ imports = [ ./illuminanced.nix ./ntfy.nix + ./timelog.nix ./webdev.nix ]; } diff --git a/hosts/copper/services/timelog.nix b/hosts/copper/services/timelog.nix new file mode 100644 index 0000000..3343897 --- /dev/null +++ b/hosts/copper/services/timelog.nix @@ -0,0 +1,10 @@ +{ + powerManagement = { + powerUpCommands = '' + echo "timelog: powerUp" + ''; + powerDownCommands = '' + echo "timelog: powerDown" + ''; + }; +}