mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
feat: move self-defined packages to own files
This commit is contained in:
parent
2390199b8a
commit
db231d4b83
8 changed files with 191 additions and 106 deletions
9
pkgs/timer/default.nix
Normal file
9
pkgs/timer/default.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{ writeShellApplication, speechd }:
|
||||
|
||||
writeShellApplication {
|
||||
name = "timer";
|
||||
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