No description
Erwin Boskma
b6785cff54
Flake lock file updates: • Updated input 'anyrun': 'github:Kirottu/anyrun/b3b4f2253d43af3311b3d3fc86973fc3e9559c33?narHash=sha256-i3FxeHjsHw4AePx3AWVVywy92EEobx/ZER4ignWxNrE%3D' (2024-11-01) → 'github:Kirottu/anyrun/d2017f224b2bfd7e33573c7070e7c3e2960c7dcc?narHash=sha256-L1hLXf4IDZ0KoXbFiSNNZJ7IrReEr/J%2BCLt6Rl4Ea3M%3D' (2024-11-08) • Updated input 'colmena': 'github:zhaofengli/colmena/03f1a18a6fba9ad9c4edb1cc7cf394390c304198?narHash=sha256-N8gaV5bngMQPGyuo/RVdEsHTXvOeqjUhhxXpGea12DE%3D' (2024-11-08) → 'github:zhaofengli/colmena/a2193487bcf70bbb998ad1a25a4ff02b8d55db7a?narHash=sha256-04iOZoJ0D%2By3xhZtaCgSBOz8T4hED7oMVkuAOzXT8vU%3D' (2024-11-10) • Updated input 'disko': 'github:nix-community/disko/a8bdb16b473f457609eb76d0dabb2fcb4e1f64b8?narHash=sha256-INZxHLoqy7uTLuMhEEnYkyMgouXvJtBupup2pOpcM%2Bs%3D' (2024-11-08) → 'github:nix-community/disko/486250f404f4a4f4f33f8f669d83ca5f6e6b7dfc?narHash=sha256-cZ0QMpv5p2a6WEE%2Bo9uu0a4ma6RzQDOQTbm7PbixWz8%3D' (2024-11-10) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/2313c4189eaef014d01fb260313f58554ddb5e31?narHash=sha256-/E0UgOD6LnDfJPqCwqa1WVEgwDQ6NXXH%2BWq89cMUris%3D' (2024-11-08) → 'github:nix-community/emacs-overlay/e94b9aef9633ffb9ea2bebe8c9b999618ec15109?narHash=sha256-E8Caw6l/73iVFEYGch8Yc31fXCtSY30xxb%2BCsTN1gG0%3D' (2024-11-11) • Updated input 'emacs-overlay/nixpkgs-stable': 'github:NixOS/nixpkgs/dba414932936fde69f0606b4f1d87c5bc0003ede?narHash=sha256-mwrFF0vElHJP8X3pFCByJR365Q2463ATp2qGIrDUdlE%3D' (2024-11-06) → 'github:NixOS/nixpkgs/83fb6c028368e465cd19bb127b86f971a5e41ebc?narHash=sha256-rz30HrFYCHiWEBCKHMffHbMdWJ35hEkcRVU0h7ms3x0%3D' (2024-11-07) • Updated input 'home-manager': 'github:nix-community/home-manager/2f607e07f3ac7e53541120536708e824acccfaa8?narHash=sha256-0kZL4m%2BbKBJUBQse0HanewWO0g8hDdCvBhudzxgehqc%3D' (2024-11-05) → 'github:nix-community/home-manager/60bb110917844d354f3c18e05450606a435d2d10?narHash=sha256-NjavpgE9/bMe/ABvZpyHIUeYF1mqR5lhaep3wB79ucs%3D' (2024-11-10) • Updated input 'microvm': 'github:astro/microvm.nix/93122446d6001f9789d05e565f73bebfa3f53b50?narHash=sha256-RxV89z3TwhQT0Wue42aSPh3O7hXGbAFYHHNSnW9h6P8%3D' (2024-11-01) → 'github:astro/microvm.nix/dd89404e1885b8d7033106f3898eaef8db660cb2?narHash=sha256-HYu%2BbPoV3UILhwc4Ar5iQ7aF%2BDuQWHXl4mljN6Bwq6A%3D' (2024-11-10) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/4aa36568d413aca0ea84a1684d2d46f55dbabad7?narHash=sha256-Zwl8YgTVJTEum%2BL%2B0zVAWvXAGbWAuXHax3KzuejaDyo%3D' (2024-11-05) → 'github:nixos/nixpkgs/76612b17c0ce71689921ca12d9ffdc9c23ce40b2?narHash=sha256-IigrKK3vYRpUu%2BHEjPL/phrfh7Ox881er1UEsZvw9Q4%3D' (2024-11-09) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/d52f2a4c103a0acf09ded857b9e2519ae2360e59?narHash=sha256-dQSyYPmrQiPr%2BPGEd%2BK8038rubFGz7G/dNXVeaGWE0w%3D' (2024-11-08) → 'github:oxalica/rust-overlay/7c4cd99ed7604b79e8cb721099ac99c66f656b3a?narHash=sha256-fYVoUUtSadbOrH0z0epVQDsStBDS/S/fAK//0ECQAAI%3D' (2024-11-11) • Updated input 'sops': 'github:Mic92/sops-nix/60e1bce1999f126e3b16ef45f89f72f0c3f8d16f?narHash=sha256-iyp51lPWEQz4c5VH9bVbAuBcFP4crETU2QJYh5V0NYA%3D' (2024-11-08) → 'github:Mic92/sops-nix/f1675e3b0e1e663a4af49be67ecbc9e749f85eb7?narHash=sha256-jR8i6nFLmSmm0cIoeRQ8Q4EBARa3oGaAtEER/OMMxus%3D' (2024-11-10) |
||
---|---|---|
.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 | ||
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 |