1
0

Compare commits

..

4 Commits

Author SHA1 Message Date
68a3eed939 emacs: add typst-ts-mode 2026-03-10 19:21:14 -07:00
e5a41e58cd tb-scripts: add .sh extensions and add ,yt-dlp wrapper
Rename all shell script files to use .sh extensions for consistency
and better editor support (pushover-send, split-1G, xz, zipdir).
Update default.nix references to match the new filenames.

Add a new ,yt-dlp script that runs yt-dlp from nixpkgs-unstable
via `nix run`, so it's always up to date without needing to be
in the system packages.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 08:55:56 -08:00
9c74cfdbee set up new ed25519 ssh keys 2026-02-17 09:56:43 -08:00
1ba6eba061 no ragenix 2026-02-17 09:44:15 -08:00
8 changed files with 16 additions and 5 deletions

View File

@@ -125,7 +125,10 @@ in
markdown-ts-mode # Markdown with tree-sitter parsing
mermaid-ts-mode # Mermaid diagram syntax with tree-sitter
scala-ts-mode # Scala with tree-sitter (alternative to scala-mode)
kotlin-ts-mode # Kotlin programming with tree-sitter
swift-ts-mode # Swift programming with tree-sitter
typst-ts-mode # Typst typesetting with tree-sitter
zig-ts-mode # Zig programming with tree-sitter
];
extraConfig = builtins.readFile ./emacs/custom.el + ''

View File

@@ -20,25 +20,31 @@ pkgs.symlinkJoin {
(pkgs.writeShellApplication {
name = ",zipdir";
runtimeInputs = [ pkgs.zip ];
text = builtins.readFile ./zipdir;
text = builtins.readFile ./zipdir.sh;
})
(pkgs.writeShellApplication {
name = ",split-1G";
runtimeInputs = [ pkgs.coreutils ];
text = builtins.readFile ./split-1G;
text = builtins.readFile ./split-1G.sh;
})
(pkgs.writeShellApplication {
name = ",pushover-send";
runtimeInputs = [ pkgs.curl ];
text = builtins.readFile ./pushover-send;
text = builtins.readFile ./pushover-send.sh;
})
(pkgs.writeShellApplication {
name = ",xz";
runtimeInputs = [ pkgs.xz ];
text = builtins.readFile ./xz;
text = builtins.readFile ./xz.sh;
})
(pkgs.writeShellApplication {
name = ",yt-dlp";
runtimeInputs = [ pkgs.nix ];
text = builtins.readFile ./yt-dlp.sh;
})
];
}

View File

@@ -0,0 +1,3 @@
#!/bin/sh
exec nix run nixpkgs/nixpkgs-unstable#yt-dlp -- "$@"

View File

@@ -111,7 +111,6 @@
# --- KERNEL AND SYSTEM ---
config.boot.kernelPackages.cpupower # CPU frequency utilities
ragenix # Age-encrypted secrets management (agenix reimplementation)
# --- NETWORK ADMINISTRATION ---