No description
Erwin Boskma
a792275c3d
Flake lock file updates: • Updated input 'disko': 'github:nix-community/disko/3a4de9fa3a78ba7b7170dda6bd8b4cdab87c0b21?narHash=sha256-Tc35Y8H%2BkrA6rZeOIczsaGAtobSSBPqR32AfNTeHDRc%3D' (2024-12-24) → 'github:nix-community/disko/84a5b93637cc16cbfcc61b6e1684d626df61eb21?narHash=sha256-2dt1nOe9zf9pDkf5Kn7FUFyPRo581s0n90jxYXJ94l0%3D' (2024-12-29) • Updated input 'ghostty': 'github:ghostty-org/ghostty/6cbd69da7839260508466f9dfb2bc0c0fbb43991?narHash=sha256-kD49xAUMCWU60IRKoJiyJTaEUum7rk45OYjZfwWr3Ck%3D' (2024-12-28) → 'github:ghostty-org/ghostty/64c393716aec90d19a619b8c2e30b2e118c6f07a?narHash=sha256-Wbwmx1LJ36/60T3%2BlpM5Qb3g%2BkNqQYhR8S/ESGTZgmk%3D' (2024-12-29) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/a16b9a7cac7f4d39a84234d62e91890370c57d76?narHash=sha256-3zXufMRWUdwmp8/BTmxVW/k4MyqsPjLnnt/IlQyZvhc%3D' (2024-12-28) → 'github:oxalica/rust-overlay/915d7c42a706f9191696d1b779cf1ea1769d34a8?narHash=sha256-IysonaW/cItfmMuvg43flOqMgS4N0C6yKJobCa09XOQ%3D' (2024-12-29) • Updated input 'sops': 'github:Mic92/sops-nix/ed091321f4dd88afc28b5b4456e0a15bd8374b4d?narHash=sha256-6OvJbqQ6qPpNw3CA%2BW8Myo5aaLhIJY/nNFDk3zMXLfM%3D' (2024-12-18) → 'github:Mic92/sops-nix/bcb8b65aa596866eb7e5c3e1a6cccbf5d1560b27?narHash=sha256-ZjUjbvS06jf4fElOF4ve8EHjbpbRVHHypStoY8HGzk8%3D' (2024-12-29) |
||
---|---|---|
.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 |