No description
Erwin Boskma
880d80b75b
Flake lock file updates: • Updated input 'anyrun': 'github:anyrun-org/anyrun/7f40aaa02f71974e4eba19ca42a6b60969bbde09?narHash=sha256-xx19bEgwZDnNddm8svJnIrt1MWH1FfDbBJh0%2BPBNZL8%3D' (2024-12-26) → 'github:anyrun-org/anyrun/06017e753c8886d5296768dca80745ee09402a2d?narHash=sha256-jU88Q9tP4vuvWYGQcmOdFwI9e2uMPVYJHbXdiklIH9o%3D' (2024-12-27) • Updated input 'caddy-nix': 'github:vincentbernat/caddy-nix/9d13eb684b4ba1b2eb92e76f7ea1f517eccc4fe1?narHash=sha256-kUWyjeqkU%2BRHTHVXT61QF19eW2vnWgah5OcPrUlU8oU%3D' (2024-11-30) → 'github:vincentbernat/caddy-nix/b421380ded7c000f432092df0f1a7afd9e187173?narHash=sha256-mQu3IwEO294DuB7XAXOvOLriElDgRTf6rTLoDh3tMFQ%3D' (2024-12-27) • Updated input 'eww': 'github:elkowar/eww/f2b687043e555da681f465c54f0802d34f3488a5?narHash=sha256-1R7%2BB72EDpy9YwdF/ENZTZdOkEGqKnJ8p1MeBWw4xmg%3D' (2024-12-21) → 'github:elkowar/eww/81398d6d28f19dc9e9932a1f9c69f58fcf95f09e?narHash=sha256-vGIuA21A8rM4gYlGyNumbVRyHaIaJKTnzYSLOq9PSE0%3D' (2024-12-26) • Updated input 'ghostty': 'github:ghostty-org/ghostty/4b4d4062dfed7b37424c7210d1230242c709e990?narHash=sha256-AHI1Z4mfgXkNwQA8xYq4tS0/BARbHL7gQUT41vCxQTM%3D' (2024-12-26) → 'github:ghostty-org/ghostty/a8e5eef11cc67f87f445626f9ca2993373774bf8?narHash=sha256-y6Ony5eq4F4E76Y2ZhALSEzBZ4GbGRVQIEScPieCDGI%3D' (2024-12-27) • Added input 'ghostty/flake-compat': 'github:edolstra/flake-compat/0f9255e01c2351cc7d116c072cb317785dd33b33?narHash=sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U%3D' (2023-10-04) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/d70bd19e0a38ad4790d3913bf08fcbfc9eeca507?narHash=sha256-4EVBRhOjMDuGtMaofAIqzJbg4Ql7Ai0PSeuVZTHjyKQ%3D' (2024-12-19) → 'github:nixos/nixpkgs/634fd46801442d760e09493a794c4f15db2d0cbb?narHash=sha256-NYVcA06%2BblsLG6wpAbSPTCyLvxD/92Hy4vlY9WxFI1M%3D' (2024-12-27) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/550e1f10be4a504747a7894c35e887e61235763b?narHash=sha256-ceUDFBsLf5Cz3GlhQAdaJsEfi5s1MDjDsO9VvPFoKAE%3D' (2024-12-26) → 'github:oxalica/rust-overlay/e0b3654b716098b47f3643c65fbb75ef49c033e1?narHash=sha256-2XkWYGgT%2B911gOLjgBj%2B8W8ZJk6P0qHJNz8RfKgT/5o%3D' (2024-12-27) |
||
---|---|---|
.forgejo/workflows | ||
home-manager/modules | ||
incus-conf | ||
lib | ||
machines | ||
modules | ||
overlays | ||
pkgs | ||
users | ||
wallpapers | ||
.dir-locals.el | ||
.envrc | ||
.gitattributes | ||
.gitignore | ||
.projectile | ||
.sops.yaml | ||
flake.lock | ||
flake.nix | ||
Justfile | ||
README.org | ||
statix.toml |
Erwin's NixOS config
This configures my machines.
Useful oneliners
Remove all files except the smallest
$ ls -s size | head -n 1 | xargs stat -c %s | awk '{print $1 + 1}' | xargs -I '%S' fd -S +%Sb -X rm {} \;
cmd | Explanation |
---|---|
ls -s size |
List all files, sort by size (ls is aliased to eza in my setup) |
head -n 1 |
Take the first line |
xargs stat -c %s |
Print the size in bytes |
awk '{print $1 + 1} |
Add one to it |
xargs -I '%S' fd -S +%Sb -X rm {} \; |
Find all files larger than the smallest and delete them |