This commit is contained in:
Tao Tien 2024-05-06 12:58:30 -07:00
parent c6e02ed9a7
commit 18384ce42a
3 changed files with 20 additions and 3 deletions

View file

@ -1,14 +1,14 @@
{pkgs, ...}: {
environment.systemPackages = with pkgs; [
# lychee # link checker
# etcher
# freecad
# gh
# vulkan-loader
fontforge
# fontforge
direnv
qFlipper
hyperfine
# jq
jujutsu
just
lldb
@ -21,6 +21,7 @@
taplo
tio
tokei
typos
# arduino
arduino-language-server
@ -70,6 +71,7 @@
rustup
sccache
trunk
wasm-bindgen-cli
];
hardware.flipperzero.enable = true;

View file

@ -36,7 +36,11 @@
# what = "//100.97.47.81/isos";
# where = "/mnt/uwuraid/isos";
# })
# (opts // { what = "//100.97.47.81/jellyfin"; where = "/mnt/uwuraid/jellyfin"; })
# (opts
# // {
# what = "//100.97.47.81/jellyfin";
# where = "/mnt/uwuraid/jellyfin";
# })
(opts
// {
what = "//100.97.47.81/movies";

View file

@ -28,14 +28,25 @@ def tse [exit_node?] {
}
}
def tsr [] {
tailscale status --json | from json | get Peer | transpose nodekey node | get node | filter {$in.Location?.Country == USA} | get TailscaleIPs | each {get 0} | select (random int 0..($in | length)) | tse $in.0;
tailscale status
}
def rb [] {
sudo nice -n19 nixos-rebuild boot --flake . --impure --verbose
hx --grammar fetch; hx --grammar build
rm -rf ~/.cache/jdtls/
}
def rs [] {
sudo nice -n19 nixos-rebuild switch --flake . --impure --verbose
hx --grammar fetch; hx --grammar build
rm -rf ~/.cache/jdtls/
}
def ns [package] {
nix shell $"nixpkgs#($package)"
}