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

View file

@ -36,7 +36,11 @@
# what = "//100.97.47.81/isos"; # what = "//100.97.47.81/isos";
# where = "/mnt/uwuraid/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 (opts
// { // {
what = "//100.97.47.81/movies"; 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 [] { def rb [] {
sudo nice -n19 nixos-rebuild boot --flake . --impure --verbose sudo nice -n19 nixos-rebuild boot --flake . --impure --verbose
hx --grammar fetch; hx --grammar build hx --grammar fetch; hx --grammar build
rm -rf ~/.cache/jdtls/
} }
def rs [] { def rs [] {
sudo nice -n19 nixos-rebuild switch --flake . --impure --verbose sudo nice -n19 nixos-rebuild switch --flake . --impure --verbose
hx --grammar fetch; hx --grammar build hx --grammar fetch; hx --grammar build
rm -rf ~/.cache/jdtls/
}
def ns [package] {
nix shell $"nixpkgs#($package)"
} }