Add basic logging for powerUp and powerDown
This commit is contained in:
parent
e7d50d0b11
commit
ecec4e9e59
2 changed files with 11 additions and 0 deletions
|
|
@ -2,6 +2,7 @@
|
|||
imports = [
|
||||
./illuminanced.nix
|
||||
./ntfy.nix
|
||||
./timelog.nix
|
||||
./webdev.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
10
hosts/copper/services/timelog.nix
Normal file
10
hosts/copper/services/timelog.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
powerManagement = {
|
||||
powerUpCommands = ''
|
||||
echo "timelog: powerUp"
|
||||
'';
|
||||
powerDownCommands = ''
|
||||
echo "timelog: powerDown"
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue