mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
refactor: inherit name from mkPackages
This commit is contained in:
parent
d397be861b
commit
d538762c7e
23 changed files with 81 additions and 147 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue