No description
Erwin Boskma
e3ac6f2cb1
Flake lock file updates: • Updated input 'ghostty': 'github:ghostty-org/ghostty/5cb2fa6f7594202b12a2603bf32094aa75b1bf0e?narHash=sha256-z55IQogW9z4HhVeT55LlCUFKbYD5O5aLMnU5cX1WTto%3D' (2025-01-21) → 'github:ghostty-org/ghostty/ddf7173ae92b4992c4506b6df4681c0687cc29c3?narHash=sha256-A5w6%2B0Zc7b93nbCF6ayHbXIEO0%2Bh%2B8BR4byYGgTy%2BtY%3D' (2025-01-22) • Updated input 'home-manager': 'github:nix-community/home-manager/96dee79b178d295b716052feca3ee46abc085abe?narHash=sha256-e6PJI4Bd%2BQdpukHyd5F/fQY8fRUiNfCwvCRU8WXMSk8%3D' (2025-01-21) → 'github:nix-community/home-manager/cefb1889b96ddd1dac3dd4734e894f4cadab7802?narHash=sha256-qa/D3NC1JoApnUuLrq1gseBmIxeg6icm/ojPgggMDVQ%3D' (2025-01-22) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/5df43628fdf08d642be8ba5b3625a6c70731c19c?narHash=sha256-Tbk1MZbtV2s5aG%2BiM99U8FqwxU/YNArMcWAv6clcsBc%3D' (2025-01-16) → 'github:nixos/nixpkgs/9e4d5190a9482a1fb9d18adf0bdb83c6e506eaab?narHash=sha256-nmKOgAU48S41dTPIXAq0AHZSehWUn6ZPrUKijHAMmIk%3D' (2025-01-21) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/2103fcb16359438d42141bac873ed2367a05cbe7?narHash=sha256-4SavpRWfRw2pLG1qqErWpk/hI1eCzqjKcE1motxHZgo%3D' (2025-01-21) → 'github:oxalica/rust-overlay/06b8ed0eee289fe94c66f1202ced9a6a2c59a14c?narHash=sha256-dgF6htdmfNnZzVInifks6npnCAyVsIHWSpWNs10RSW0%3D' (2025-01-22) |
||
---|---|---|
.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 |