No description
Erwin Boskma
8651d6e83c
Flake lock file updates: • Updated input 'eww': 'github:elkowar/eww/81398d6d28f19dc9e9932a1f9c69f58fcf95f09e?narHash=sha256-vGIuA21A8rM4gYlGyNumbVRyHaIaJKTnzYSLOq9PSE0%3D' (2024-12-26) → 'github:elkowar/eww/6ee166707fb644d501a6d9151a491d07916ca4ed?narHash=sha256-UyCF06z2evYpp92ErdqVw4meEGlmc/FGZubkr2Gqqxo%3D' (2024-12-27) • Updated input 'ghostty': 'github:ghostty-org/ghostty/a8e5eef11cc67f87f445626f9ca2993373774bf8?narHash=sha256-y6Ony5eq4F4E76Y2ZhALSEzBZ4GbGRVQIEScPieCDGI%3D' (2024-12-27) → 'github:ghostty-org/ghostty/6cbd69da7839260508466f9dfb2bc0c0fbb43991?narHash=sha256-kD49xAUMCWU60IRKoJiyJTaEUum7rk45OYjZfwWr3Ck%3D' (2024-12-28) • Updated input 'home-manager': 'github:nix-community/home-manager/35b98d20ca8f4ca1f6a2c30b8a2c8bb305a36d84?narHash=sha256-Gm%2B0DcbUS338vvkwyYWms5jsWlx8z8MeQBzcnIDuIkw%3D' (2024-12-24) → 'github:nix-community/home-manager/10e99c43cdf4a0713b4e81d90691d22c6a58bdf2?narHash=sha256-CyCZFhMUkuYbSD6bxB/r43EdmDE7hYeZZPTCv0GudO4%3D' (2024-12-28) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/def1d472c832d77885f174089b0d34854b007198?narHash=sha256-QIhd8/0x30gEv8XEE1iAnrdMlKuQ0EzthfDR7Hwl%2Bfk%3D' (2024-12-23) → 'github:NixOS/nixos-hardware/7c674c6734f61157e321db595dbfcd8523e04e19?narHash=sha256-e5IOgjQf0SZcFCEV/gMGrsI0gCJyqOKShBQU0iiM3Kg%3D' (2024-12-28) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/e0b3654b716098b47f3643c65fbb75ef49c033e1?narHash=sha256-2XkWYGgT%2B911gOLjgBj%2B8W8ZJk6P0qHJNz8RfKgT/5o%3D' (2024-12-27) → 'github:oxalica/rust-overlay/a16b9a7cac7f4d39a84234d62e91890370c57d76?narHash=sha256-3zXufMRWUdwmp8/BTmxVW/k4MyqsPjLnnt/IlQyZvhc%3D' (2024-12-28) |
||
---|---|---|
.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 |