No description
Erwin Boskma
f39fc76dd4
Flake lock file updates: • Updated input 'atuin': 'github:atuinsh/atuin/95cef714902bbcbdc3ef016457e7a77d38293ea8?narHash=sha256-X8bsyPCTIWZsxzXTOHbfOkQGhQlPyLQBvdOjJALu4s0%3D' (2024-07-22) → 'github:atuinsh/atuin/3cf52990e4a8d0e854f5a0ed8f04ffa782b92f17?narHash=sha256-lrmxE8AzY3%2BI%2BlnkLiFjGV1A4P/F2zhTlJsiOx1dsHw%3D' (2024-07-23) • Updated input 'disko': 'github:nix-community/disko/2f5df5dcceb8473dd5715c4ae92f9b0d5f87fff9?narHash=sha256-1F2N90WqHV14oIn5RpDfzINj4zMi5gBQOt1BAc34gGM%3D' (2024-07-22) → 'github:nix-community/disko/55e874b9c14764cb791e5740f0e92202e41393fc?narHash=sha256-NyWVCnSeePnJHGJxZ0l3zdGQGrVjUcx2IJbV8KIsPf0%3D' (2024-07-25) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/b3c3f03e594177220148b3e2f9aef9228cc04321?narHash=sha256-r4O1YRu23CudbakeyrH0R0skMabU9hbqklSR0a0XvWc%3D' (2024-07-23) → 'github:nix-community/emacs-overlay/6ad922f8168b6b6aa8c5894dbbcc82840758aea5?narHash=sha256-GXx%2BviSegNL3HH2oUVh5DJE/JhK38GCJjKmTIj4aF0c%3D' (2024-07-25) • Updated input 'emacs-overlay/nixpkgs-stable': 'github:NixOS/nixpkgs/63d37ccd2d178d54e7fb691d7ec76000740ea24a?narHash=sha256-7cCC8%2BTdq1%2B3OPyc3%2BgVo9dzUNkNIQfwSDJ2HSi2u3o%3D' (2024-07-21) → 'github:NixOS/nixpkgs/575f3027caa1e291d24f1e9fb0e3a19c2f26d96b?narHash=sha256-nw/BnNzATDPfzpJVTnY8mcSKKsz6BJMEFRkJ332QSN0%3D' (2024-07-22) • Updated input 'home-manager': 'github:nix-community/home-manager/7560dc942a6fbd37ebd1310b3dbda513de2d4b82?narHash=sha256-ZDW5%2BrlROxaOuoEfIQM7Gqhoa%2BWALEYdYIiZhyJjAu0%3D' (2024-07-23) → 'github:nix-community/home-manager/304a011325b7ac7b8c9950333cd215a7aa146b0e?narHash=sha256-JH8N5uoqoVA6erV4O40VtKKHsnfmhvMGbxMNDLtim5o%3D' (2024-07-24) • Updated input 'microvm': 'github:astro/microvm.nix/a50d1bf0d4a2f23ce2ffc503d65c9423a8a268e1?narHash=sha256-KuFuVK1Jccku8Vsy8C%2Bjtw1ixUwCdIH0jafjt5zDZao%3D' (2024-07-22) → 'github:astro/microvm.nix/2f56d58cae49d6b66adc42aa3c52051a83f6a176?narHash=sha256-%2BcKh/zzyzOfOC7GryAVMESpvTckOVJ%2BcQC01JJi1z8k%3D' (2024-07-24) • Added input 'microvm/fenix': 'github:nix-community/fenix/abc0549e3560189462a7d394cc9d50af4608d103?narHash=sha256-OIuDb6pHDyGpo7YMFyuRzMLcHm7mRvlYOz0Ht7ps2sU%3D' (2024-07-08) • Added input 'microvm/fenix/nixpkgs': follows 'microvm/nixpkgs' • Added input 'microvm/fenix/rust-analyzer-src': 'github:rust-lang/rust-analyzer/a5b21ea0aa644dffd7cf958b43f11f221d53404e?narHash=sha256-STmaV9Zu74QtkGGrbr9uMhskwagfCjJqOAYapXabiuk%3D' (2024-07-07) • Updated input 'microvm/spectrum': 'git+https://spectrum-os.org/git/spectrum?ref=refs/heads/main&rev=6d0e73864d28794cdbd26ab7b37259ab0e1e044c' (2024-02-19) → 'git+https://spectrum-os.org/git/spectrum?ref=refs/heads/main&rev=fb59d42542049f586c84b0f8bb86ff3be338e9d3' (2024-07-06) • Updated input 'naersk': 'github:nix-community/naersk/941ce6dc38762a7cfb90b5add223d584feed299b?narHash=sha256-uFsCwWYI2pUpt0awahSBorDUrUfBhaAiyz%2BBPTS2MHk%3D' (2024-06-18) → 'github:nix-community/naersk/3fb418eaf352498f6b6c30592e3beb63df42ef11?narHash=sha256-r/xppY958gmZ4oTfLiHN0ZGuQ%2BRSTijDblVgVLFi1mw%3D' (2024-07-23) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/ab165a8a6cd12781d76fe9cbccb9e975d0fb634f?narHash=sha256-0GdiQScDceUrVGbxYpV819LHesK3szHOhJ09e6sgES4%3D' (2024-07-19) → 'github:NixOS/nixos-hardware/a7432ebaefc9a400dcda399d48b949230378d784?narHash=sha256-apTv16L9h5ONS2VTPbKEgwAOVmWGku0MsfprjgwBFHo%3D' (2024-07-24) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/4674ff2c2e5423a0cebe16e61aa874c359306af4?narHash=sha256-nM4szL90VeZHZEC5rFfaiiPNTVOmsihdtk2QSP1l37I%3D' (2024-07-23) → 'github:oxalica/rust-overlay/33a7853f54f1797b029739297c4593bd96077c20?narHash=sha256-HyFmp6rktJQMxG%2BBZEjcQoCFKMek855Cc/dQk2YDac0%3D' (2024-07-25) • Updated input 'treefmt-nix': 'github:numtide/treefmt-nix/888bfb10a9b091d9ed2f5f8064de8d488f7b7c97?narHash=sha256-wNXLQ/ATs1S4Opg1PmuNoJ%2BWamqj93rgZYV3Di7kxkg%3D' (2024-07-20) → 'github:numtide/treefmt-nix/8db8970be1fb8be9c845af7ebec53b699fe7e009?narHash=sha256-6Pqa0bi5nV74IZcENKYRToRNM5obo1EQ%2B3ihtunJ014%3D' (2024-07-23) |
||
---|---|---|
.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 |