No description
Erwin Boskma
d59d362f8d
Flake lock file updates: • Updated input 'atuin': 'github:atuinsh/atuin/64b7581644e2dbc4d1f31f220158c0cc321f2139?narHash=sha256-QiukFbOYCdlpmbG7MTTSq4CCU9blp4rSA21veX9vyKY%3D' (2024-05-17) → 'github:atuinsh/atuin/95c91689441c66228cd8eb2e94e9b43a848d75f4?narHash=sha256-jIGTdIcHtRpY3fcfNUbcTv2IOVGW9srUzLrcYgK07Ik%3D' (2024-05-18) • Updated input 'disko': 'github:nix-community/disko/5f6dbcce99d60dd77f96dfc66d06bbea149a40e1?narHash=sha256-mkZ3hrPG7d%2BqL7B6pQcrNfPh2mnQEJR3FHK93qCp6Uk%3D' (2024-05-16) → 'github:nix-community/disko/6f01b9710bc4d3bf006eb8df928b4b15e0430901?narHash=sha256-82oT27w9smpItZ%2BPyN2C0PjIwZYbIocwXSM4u1igXuc%3D' (2024-05-20) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/f01ccf8bce08f1f65c1d22cc46c34154fbf9b951?narHash=sha256-5h%2B%2BJw29kLFzF9VsARxuxtZrFQ1HNIofmVjMPGvIY6Q%3D' (2024-05-17) → 'github:nix-community/emacs-overlay/96e0ae1f75b858ce26b84fb2b4bb2a0249dab918?narHash=sha256-WLxzdjUlIuf56IYdILyrDUtyUhRlWsiCF7xuhunErMA%3D' (2024-05-20) • Updated input 'emacs-overlay/nixpkgs-stable': 'github:NixOS/nixpkgs/9ddcaffecdf098822d944d4147dd8da30b4e6843?narHash=sha256-xp62OkRkbUDNUc6VSqH02jB0FbOS%2BMsfMb7wL1RJOfA%3D' (2024-05-14) → 'github:NixOS/nixpkgs/e7cc61784ddf51c81487637b3031a6dd2d6673a2?narHash=sha256-H0eCta7ahEgloGIwE/ihkyGstOGu%2BkQwAiHvwVoXaA0%3D' (2024-05-18) • Updated input 'nix-ld-rs': 'github:nix-community/nix-ld-rs/57342044b03b7faa4c949d492c80527ad693194c?narHash=sha256-8gG1yIsha3bOUNs2cyOrC1I2E30G3R7bGoHsGO5bhkY%3D' (2024-05-06) → 'github:nix-community/nix-ld-rs/bca096389e440f0f20a6a795546f65e2f2f7410d?narHash=sha256-CwOldvBBXr1K2Zr6z5chHtieBBIQqk%2Bk5RKt3hkF1OU%3D' (2024-05-19) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/ff1be1e3cdf884df0935ab28745ab13c3c26d828?narHash=sha256-e4LJk5uV1wvrRkffGFZekPWvFUx29NnnOahBlLaq8Ek%3D' (2024-05-16) → 'github:NixOS/nixos-hardware/d9e0b26202fd500cf3e79f73653cce7f7d541191?narHash=sha256-FC21Bn4m6ctajMjiUof30awPBH/7WjD0M5yqrWepZbY%3D' (2024-05-20) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/33d1e753c82ffc557b4a585c77de43d4c922ebb5?narHash=sha256-cYApT0NXJfqBkKcci7D9Kr4CBYZKOQKDYA23q8XNuWg%3D' (2024-05-15) → 'github:nixos/nixpkgs/6c0b7a92c30122196a761b440ac0d46d3d9954f1?narHash=sha256-sowPU%2BtLQv8GlqtVtsXioTKeaQvlMz/pefcdwg8MvfM%3D' (2024-05-19) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/d3a96b08a7280a5753246129b462eed3662815d5?narHash=sha256-UXHk4dKvvm5mSuDDON3lXU5CHKiTRnIjA5mUtDOtKEU%3D' (2024-05-17) → 'github:oxalica/rust-overlay/04d61d14803854fd8453ec43c5c53a471e5407a8?narHash=sha256-lc7wOh5BjYUoxdhcPkeUY8BmuL2qtRaHlW1403RW48E%3D' (2024-05-20) • Updated input 'sops': 'github:Mic92/sops-nix/b6cb5de2ce57acb10ecdaaf9bbd62a5ff24fa02e?narHash=sha256-y1uMzXNlrVOWYj1YNcsGYLm4TOC2aJrwoUY1NjQs9fM%3D' (2024-05-12) → 'github:Mic92/sops-nix/0bf1808e70ce80046b0cff821c019df2b19aabf5?narHash=sha256-zuSAGlx8Qk0OILGCC2GUyZ58/SJ5R3GZdeUNQ6IS0fQ%3D' (2024-05-19) • Updated input 'sops/nixpkgs-stable': 'github:NixOS/nixpkgs/8e47858badee5594292921c2668c11004c3b0142?narHash=sha256-q0OFeZqKQaik2U8wwGDsELEkgoZMK7gvfF6tTXkpsqE%3D' (2024-05-11) → 'github:NixOS/nixpkgs/e7cc61784ddf51c81487637b3031a6dd2d6673a2?narHash=sha256-H0eCta7ahEgloGIwE/ihkyGstOGu%2BkQwAiHvwVoXaA0%3D' (2024-05-18) |
||
---|---|---|
.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 |