Compare commits
4 Commits
ec1e722a47
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 68a3eed939 | |||
| e5a41e58cd | |||
| 9c74cfdbee | |||
| 1ba6eba061 |
@@ -125,7 +125,10 @@ in
|
|||||||
markdown-ts-mode # Markdown with tree-sitter parsing
|
markdown-ts-mode # Markdown with tree-sitter parsing
|
||||||
mermaid-ts-mode # Mermaid diagram syntax with tree-sitter
|
mermaid-ts-mode # Mermaid diagram syntax with tree-sitter
|
||||||
scala-ts-mode # Scala with tree-sitter (alternative to scala-mode)
|
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
|
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 + ''
|
extraConfig = builtins.readFile ./emacs/custom.el + ''
|
||||||
|
|||||||
@@ -6,8 +6,7 @@
|
|||||||
enableDefaultConfig = false;
|
enableDefaultConfig = false;
|
||||||
|
|
||||||
matchBlocks = let
|
matchBlocks = let
|
||||||
tb1 = "~/.ssh/id_rsa.tb1.pub";
|
tb1 = "~/.ssh/id_ed25519.tb1";
|
||||||
tb2 = "~/.ssh/id_rsa.tb2.pub";
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# Defaults
|
# Defaults
|
||||||
|
|||||||
@@ -20,25 +20,31 @@ pkgs.symlinkJoin {
|
|||||||
(pkgs.writeShellApplication {
|
(pkgs.writeShellApplication {
|
||||||
name = ",zipdir";
|
name = ",zipdir";
|
||||||
runtimeInputs = [ pkgs.zip ];
|
runtimeInputs = [ pkgs.zip ];
|
||||||
text = builtins.readFile ./zipdir;
|
text = builtins.readFile ./zipdir.sh;
|
||||||
})
|
})
|
||||||
|
|
||||||
(pkgs.writeShellApplication {
|
(pkgs.writeShellApplication {
|
||||||
name = ",split-1G";
|
name = ",split-1G";
|
||||||
runtimeInputs = [ pkgs.coreutils ];
|
runtimeInputs = [ pkgs.coreutils ];
|
||||||
text = builtins.readFile ./split-1G;
|
text = builtins.readFile ./split-1G.sh;
|
||||||
})
|
})
|
||||||
|
|
||||||
(pkgs.writeShellApplication {
|
(pkgs.writeShellApplication {
|
||||||
name = ",pushover-send";
|
name = ",pushover-send";
|
||||||
runtimeInputs = [ pkgs.curl ];
|
runtimeInputs = [ pkgs.curl ];
|
||||||
text = builtins.readFile ./pushover-send;
|
text = builtins.readFile ./pushover-send.sh;
|
||||||
})
|
})
|
||||||
|
|
||||||
(pkgs.writeShellApplication {
|
(pkgs.writeShellApplication {
|
||||||
name = ",xz";
|
name = ",xz";
|
||||||
runtimeInputs = [ pkgs.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;
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
3
pkgs/tb-scripts/yt-dlp.sh
Normal file
3
pkgs/tb-scripts/yt-dlp.sh
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
exec nix run nixpkgs/nixpkgs-unstable#yt-dlp -- "$@"
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
let
|
let
|
||||||
primaryUser = config.system.primaryUser or "tb";
|
primaryUser = config.system.primaryUser or "tb";
|
||||||
|
|
||||||
ssh_key_tb1 = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAEAQCt0MGma028Fnf9M3VrSZHz+Ieg6DE5WkKg7aqIjqIgYScjO+FXLGnp6bgRiWLOnxzJZqR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YIkx/gW0xBFtbyW8Uuh+O+29QU3IfF6vKHOFxgtwhJLs90z5LUHd5aiwHfbWrcFwAjsaJJn7VKMwdPL6UW3E8kGYrrZfcI5Wws5jJHoc9TRdb4aPjx/tqwlQ3AaYqtGKryM/ZR2dY3xRebnRjMtU/6d4IFSNM4iapUUQQpgPGP9ah3qzzKU/jhqP/Cx1w4pBCV8avEsSO+M49ah8hrNdT";
|
ssh_key_tb1 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBW//dhztkY2OJTXK/1tpOdithfSX4tXt3w5CKPJPfFm tb1@ubi";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# Allow root login with `tb1` ssh key.
|
# Allow root login with `tb1` ssh key.
|
||||||
|
|||||||
Reference in New Issue
Block a user