No description
Erwin Boskma
ff5b532303
Flake lock file updates: • Updated input 'ghostty': 'github:ghostty-org/ghostty/29c2f095a6bb73f2579bc1adfa5833dbe3e3ef0a?narHash=sha256-hWDDKYpLDS8/146mZh726UEO8HottjwqNkxcvJ04lHA%3D' (2025-01-08) → 'github:ghostty-org/ghostty/2d7706ec4f7042b9072d3b8ac8ea496dee209bc8?narHash=sha256-SiG2B2KfU4BIOggrJJa9nKoagXtLXWWo9vXJ88a%2Bls8%3D' (2025-01-09) • Updated input 'home-manager': 'github:nix-community/home-manager/5c4302313d9207f7ec0886d68f8ff4a3c71209a1?narHash=sha256-kPDXF6cIPsVqSK08XF5EC6KM7BdMnM9vtJDzsnf%2BlLU%3D' (2025-01-07) → 'github:nix-community/home-manager/d4aebb947a301b8da8654a804979a738c5c5da50?narHash=sha256-RyrX0WFXxFrYvzHNLTIyuk3NcNl3UBykuYru/P0zW5E%3D' (2025-01-09) • Updated input 'microvm': 'github:astro/microvm.nix/2ae08de8e8068b00193b9cfbc0acc9dfdda03181?narHash=sha256-CeYsC8J2dNiV2FCQOxK1oZ/jNpOF2io7aCEFHmfi95U%3D' (2024-12-24) → 'github:astro/microvm.nix/3394c37bc8105c54f45b2b5395428a09647c1f57?narHash=sha256-oNIfJUvQFhFKmNp7MfKw0IghOoKBLBgPPrVolN2M18A%3D' (2025-01-09) • Updated input 'naersk': 'github:nix-community/naersk/38a563a865a0218d9f30f14333327aafc40eea75?narHash=sha256-VaZlkrcfZOl85fz3o%2BGnNv%2BFkMG4RtnZA1eVa6v2TJs%3D' (2025-01-07) → 'github:nix-community/naersk/0621e47bd95542b8e1ce2ee2d65d6a1f887a13ce?narHash=sha256-BwMekRuVlSB9C0QgwKMICiJ5EVbLGjfe4qyueyNQyGI%3D' (2025-01-09) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/8f3e1f807051e32d8c95cd12b9b421623850a34d?narHash=sha256-/qlNWm/IEVVH7GfgAIyP6EsVZI6zjAx1cV5zNyrs%2BrI%3D' (2025-01-04) → 'github:nixos/nixpkgs/bffc22eb12172e6db3c5dde9e3e5628f8e3e7912?narHash=sha256-8YVQ9ZbSfuUk2bUf2KRj60NRraLPKPS0Q4QFTbc%2Bc2c%3D' (2025-01-08) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/a0b81d4fa349d9af1765b0f0b4a899c13776f706?narHash=sha256-IKrk7RL%2BQ/2NC6%2BQl6dwwCNZI6T6JH2grTdJaVWHF0A%3D' (2025-01-08) → 'github:oxalica/rust-overlay/1033caad3e26a56050de55ba0384df5ff0fa5ebd?narHash=sha256-e2SP1zV9CISHlYZwEhwT53N9CW7yPh0tKTR0vuQqiWc%3D' (2025-01-09) |
||
---|---|---|
.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 |