refactor: inherit name from mkPackages

This commit is contained in:
Leon Schwarzäugl 2024-12-29 00:36:04 +01:00
parent d397be861b
commit d538762c7e
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
23 changed files with 81 additions and 147 deletions

View file

@ -1,7 +1,7 @@
{ writeShellApplication, speechd, ... }:
{ name, writeShellApplication, speechd, ... }:
writeShellApplication {
name = "timer";
inherit name;
runtimeInputs = [ speechd ];
text = ''
sleep "$1"; while true; do spd-say "$2"; sleep 0.5; done;