No description
Erwin Boskma
01f766c59c
Flake lock file updates: • Updated input 'atuin': 'github:atuinsh/atuin/95c91689441c66228cd8eb2e94e9b43a848d75f4?narHash=sha256-jIGTdIcHtRpY3fcfNUbcTv2IOVGW9srUzLrcYgK07Ik%3D' (2024-05-18) → 'github:atuinsh/atuin/413d3e362640926515dcad1850671380ab98f585?narHash=sha256-fBGG8td%2Bs67MxW9J4%2BmsexgbFxmt%2BQt9yUK3gvQ30go%3D' (2024-05-21) • Updated input 'disko': 'github:nix-community/disko/6f01b9710bc4d3bf006eb8df928b4b15e0430901?narHash=sha256-82oT27w9smpItZ%2BPyN2C0PjIwZYbIocwXSM4u1igXuc%3D' (2024-05-20) → 'github:nix-community/disko/f1654e07728008d354c704d265fc710e3f5f42ee?narHash=sha256-Qvfoa99WdYIneGrrLFIKQCevLgB5vnxvwJe5aWbGYZY%3D' (2024-05-21) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/96e0ae1f75b858ce26b84fb2b4bb2a0249dab918?narHash=sha256-WLxzdjUlIuf56IYdILyrDUtyUhRlWsiCF7xuhunErMA%3D' (2024-05-20) → 'github:nix-community/emacs-overlay/35e5b442c1602ed30b588addb66d3289f33dfb76?narHash=sha256-lo7AHe%2BF4%2BVJshf4AZWtXpnHUvJsrMJxnqCfeIBn/54%3D' (2024-05-22) • Updated input 'emacs-overlay/nixpkgs-stable': 'github:NixOS/nixpkgs/e7cc61784ddf51c81487637b3031a6dd2d6673a2?narHash=sha256-H0eCta7ahEgloGIwE/ihkyGstOGu%2BkQwAiHvwVoXaA0%3D' (2024-05-18) → 'github:NixOS/nixpkgs/a8695cbd09a7ecf3376bd62c798b9864d20f86ee?narHash=sha256-i/E7gzQybvcGAYDRGDl39WL6yVk30Je/NXypBz6/nmM%3D' (2024-05-20) • Updated input 'microvm': 'github:astro/microvm.nix/fa673bf8656fe6f28253b83971a36999bc9995d2?narHash=sha256-TPp2j0ttvBvkk4oXidvo8Y071zEab0BtcNsC3ZEkluI%3D' (2024-05-15) → 'github:astro/microvm.nix/da064bdc91475b43388960b1675d45e4675e68a6?narHash=sha256-%2BS6i0zlvrIG8Nhp1rWQo/WlsJ%2BjzIIQr704EdyG6x28%3D' (2024-05-21) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/6c0b7a92c30122196a761b440ac0d46d3d9954f1?narHash=sha256-sowPU%2BtLQv8GlqtVtsXioTKeaQvlMz/pefcdwg8MvfM%3D' (2024-05-19) → 'github:nixos/nixpkgs/3eaeaeb6b1e08a016380c279f8846e0bd8808916?narHash=sha256-pU9ViBVE3XYb70xZx%2BjK6SEVphvt7xMTbm6yDIF4xPs%3D' (2024-05-21) • Updated input 'pre-commit-hooks': 'github:cachix/git-hooks.nix/fa606cccd7b0ccebe2880051208e4a0f61bfc8c1?narHash=sha256-nacSOeXtUEM77Gn0G4bTdEOeFIrkCBXiyyFZtdGwuH0%3D' (2024-05-16) → 'github:cachix/git-hooks.nix/0e8fcc54b842ad8428c9e705cb5994eaf05c26a0?narHash=sha256-xrsYFST8ij4QWaV6HEokCUNIZLjjLP1bYC60K8XiBVA%3D' (2024-05-20) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/04d61d14803854fd8453ec43c5c53a471e5407a8?narHash=sha256-lc7wOh5BjYUoxdhcPkeUY8BmuL2qtRaHlW1403RW48E%3D' (2024-05-20) → 'github:oxalica/rust-overlay/e8239080c897174a646c36a88789c9cbf53b7951?narHash=sha256-e4tYIu1BOcq2DiGSQqynyREXCnKohjdcMS9wvLVxT38%3D' (2024-05-22) • Updated input 'sops': 'github:Mic92/sops-nix/0bf1808e70ce80046b0cff821c019df2b19aabf5?narHash=sha256-zuSAGlx8Qk0OILGCC2GUyZ58/SJ5R3GZdeUNQ6IS0fQ%3D' (2024-05-19) → 'github:Mic92/sops-nix/fddd52460e3332eedd8a0043af5675338a5b3e0b?narHash=sha256-XXbqfkyWe0d0O%2BzqRQWi2oXi6wYDmTzXedFkBRwx1VI%3D' (2024-05-20) |
||
---|---|---|
.forgejo/workflows | ||
home-manager/modules | ||
lib | ||
machines | ||
modules | ||
overlays | ||
pkgs | ||
users | ||
wallpapers | ||
.dir-locals.el | ||
.envrc | ||
.gitattributes | ||
.gitignore | ||
.projectile | ||
.sops.yaml | ||
flake.lock | ||
flake.nix | ||
Justfile | ||
krops.nix | ||
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 |