No description
Erwin Boskma
c8d0c9d11e
Flake lock file updates: • Updated input 'anyrun': 'github:Kirottu/anyrun/8c1f7907a4ee51226b1fd20674086fe292e4136e?narHash=sha256-W22hMKD1Qa1ARgLS3zB4EIfOTmPvrAEfd%2BqZ71QgJyg%3D' (2024-06-05) → 'github:Kirottu/anyrun/7aabad8d5bb7d1bffae903ce86427b888ab824b4?narHash=sha256-LU6d1xX7jN1zt10YU7Oym07MtzVfziSmUEznGFdbuaw%3D' (2024-06-05) • Updated input 'atuin': 'github:atuinsh/atuin/9943c53a7012e1a571ed6a66c127884fa3249767?narHash=sha256-XzvSLzyVmaHjgjLastmsh7HD7QrQD8xOvV8yCTYyivw%3D' (2024-06-04) → 'github:atuinsh/atuin/85aa88abab676d32ff6b3996e1ecc37f97b75347?narHash=sha256-KQHpmwM56kUWr4jnRwzYjz5xEb%2B/Ngdi6EOfzv4Wwh0%3D' (2024-06-07) • Updated input 'disko': 'github:nix-community/disko/a838e83e21502a211b83373109a260e5ef5fbcf1?narHash=sha256-CivVhYExnMJ2afm%2Bo1ogB231pKW/azhUghMI53MHmOM%3D' (2024-06-04) → 'github:nix-community/disko/398acc470f7c2d68621db01900f053e6000129c4?narHash=sha256-eq9gP060TqWqRf2k4WO5FrG49rVq5Jy3Ptusg0CFdds%3D' (2024-06-07) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/d619b5b5ba751d6e3c16da1ca8178a31ef130047?narHash=sha256-SI42G6mLxgn6vvSNxSuydQl0M41UZFh%2BBx%2BePjXbuyI%3D' (2024-06-05) → 'github:nix-community/emacs-overlay/007b1e192409decce73d39948ae862d1b38c6f20?narHash=sha256-/8IH9iKG5lLlpgqMJD9yy3rcv5YgWvfkGleDOE41RlA%3D' (2024-06-08) • Updated input 'emacs-overlay/nixpkgs-stable': 'github:NixOS/nixpkgs/a62e6edd6d5e1fa0329b8653c801147986f8d446?narHash=sha256-oamiKNfr2MS6yH64rUn99mIZjc45nGJlj9eGth/3Xuw%3D' (2024-05-31) → 'github:NixOS/nixpkgs/a2e1d0414259a144ebdc048408a807e69e0565af?narHash=sha256-b4Dn%2BPnrZoVZ/BoR9JN2fTxXxplJrAsdSUIePf4Cacs%3D' (2024-06-04) • Updated input 'nix-ld-rs': 'github:nix-community/nix-ld-rs/62d5a9eb8ba0feb1d62292ca29de98785bcef04a?narHash=sha256-mQEWQOak0r8YEXK5IzvSfScmndpdODBKNvN0T8QydEg%3D' (2024-06-01) → 'github:nix-community/nix-ld-rs/3397956280fe8f555ffe11fe3a8115341a0ef460?narHash=sha256-F/ZA/yhBg1XJYudA6b4ORt5CnEwOu4gR/UbMVq1UYMY%3D' (2024-06-07) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/82b2e20fbffe6a5f0555701af136ad3e734a5faa?narHash=sha256-3d/rDckP583688YqVPc6SyXTy2gHpma0HzCv3idi1OE%3D' (2024-06-04) → 'github:NixOS/nixos-hardware/057a7996d012f342a38a26261ee529cebb1755ef?narHash=sha256-YvstO0lobf3JWQuAfZCLYRTROC2ZDEgtWeQtWbO49p4%3D' (2024-06-08) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/57610d2f8f0937f39dbd72251e9614b1561942d8?narHash=sha256-yZKhxVIKd2lsbOqYd5iDoUIwsRZFqE87smE2Vzf6Ck0%3D' (2024-05-31) → 'github:nixos/nixpkgs/e8057b67ebf307f01bdcc8fba94d94f75039d1f6?narHash=sha256-pL9jeus5QpX5R%2B9rsp3hhZ%2BuplVHscNJh8n8VpqscM0%3D' (2024-06-05) • Updated input 'pre-commit-hooks': 'github:cachix/git-hooks.nix/0e8fcc54b842ad8428c9e705cb5994eaf05c26a0?narHash=sha256-xrsYFST8ij4QWaV6HEokCUNIZLjjLP1bYC60K8XiBVA%3D' (2024-05-20) → 'github:cachix/git-hooks.nix/cc4d466cb1254af050ff7bdf47f6d404a7c646d1?narHash=sha256-7XfBuLULizXjXfBYy/VV%2BSpYMHreNRHk9nKMsm1bgb4%3D' (2024-06-06) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/8795c817dfab19243a33387a16c98d2df4075bb3?narHash=sha256-%2Bt3XaYEvlMo5BUJ/6C6RZcEfBTWFVUdMHpNoqUU%2BpSE%3D' (2024-06-05) → 'github:oxalica/rust-overlay/6dc3e45fe4aee36efeed24d64fc68b1f989d5465?narHash=sha256-wqbRwq3i7g5EHIui0bIi84mdqZ/It1AXBSLJ5tafD28%3D' (2024-06-08) • Updated input 'treefmt-nix': 'github:numtide/treefmt-nix/3eb96ca1ae9edf792a8e0963cc92fddfa5a87706?narHash=sha256-u10aDdYrpiGOLoxzY/mJ9llST9yO8Q7K/UlROoNxzDw%3D' (2024-06-01) → 'github:numtide/treefmt-nix/4fc1c45a5f50169f9f29f6a98a438fb910b834ed?narHash=sha256-npYqVg%2BWk4oxnWrnVG7416fpfrlRhp/lQ6wQ4DHI8YE%3D' (2024-06-08) |
||
---|---|---|
.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 |