No description
Erwin Boskma
bc4e2930b2
Flake lock file updates: • Updated input 'atuin': 'github:atuinsh/atuin/85aa88abab676d32ff6b3996e1ecc37f97b75347?narHash=sha256-KQHpmwM56kUWr4jnRwzYjz5xEb%2B/Ngdi6EOfzv4Wwh0%3D' (2024-06-07) → 'github:atuinsh/atuin/c0d2c961773056eda6a76e5526586a11155180c2?narHash=sha256-3r4TTmI9/c9f088Mgajd6SQyfl7fZvbmOskidyxoihg%3D' (2024-06-10) • Updated input 'disko': 'github:nix-community/disko/398acc470f7c2d68621db01900f053e6000129c4?narHash=sha256-eq9gP060TqWqRf2k4WO5FrG49rVq5Jy3Ptusg0CFdds%3D' (2024-06-07) → 'github:nix-community/disko/c1cfbfad7cb45f0c177b35b59ba67d1b5fc7ca82?narHash=sha256-nlh/2uD5p2SAdkn6Zuey20yaR5FFWvhL3poapDGNE4Y%3D' (2024-06-10) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/007b1e192409decce73d39948ae862d1b38c6f20?narHash=sha256-/8IH9iKG5lLlpgqMJD9yy3rcv5YgWvfkGleDOE41RlA%3D' (2024-06-08) → 'github:nix-community/emacs-overlay/e618bb81b46a182758c649c734294f55d73e05bc?narHash=sha256-UdQqYGtvFfovH1PfsNWIuzEXxqpeqILCXIoJIhC3Q9M%3D' (2024-06-10) • Updated input 'emacs-overlay/nixpkgs-stable': 'github:NixOS/nixpkgs/a2e1d0414259a144ebdc048408a807e69e0565af?narHash=sha256-b4Dn%2BPnrZoVZ/BoR9JN2fTxXxplJrAsdSUIePf4Cacs%3D' (2024-06-04) → 'github:NixOS/nixpkgs/4913a7c3d8b8d00cb9476a6bd730ff57777f740c?narHash=sha256-BRvSCsKtDUr83NEtbGfHLUOdDK0Cgbezj2PtcHnz%2BsQ%3D' (2024-06-08) • Updated input 'home-manager': 'github:nix-community/home-manager/a7117efb3725e6197dd95424136f79147aa35e5b?narHash=sha256-5z2422pzWnPXHgq2ms8lcCfttM0dz%2Bhg%2Bx1pCcNkAws%3D' (2024-06-04) → 'github:nix-community/home-manager/3d65009effd77cb0d6e7520b68b039836a7606cf?narHash=sha256-Sz8Wh9cAiD5FhL8UWvZxBfnvxETSCVZlqWSYWaCPyu0%3D' (2024-06-09) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/057a7996d012f342a38a26261ee529cebb1755ef?narHash=sha256-YvstO0lobf3JWQuAfZCLYRTROC2ZDEgtWeQtWbO49p4%3D' (2024-06-08) → 'github:NixOS/nixos-hardware/58b52b0dd191af70f538c707c66c682331cfdffc?narHash=sha256-lQJXEFHHVsFdFLx0bvoRbZH3IXUBsle6EWj9JroTJ/s%3D' (2024-06-10) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/e8057b67ebf307f01bdcc8fba94d94f75039d1f6?narHash=sha256-pL9jeus5QpX5R%2B9rsp3hhZ%2BuplVHscNJh8n8VpqscM0%3D' (2024-06-05) → 'github:nixos/nixpkgs/051f920625ab5aabe37c920346e3e69d7d34400e?narHash=sha256-4q0s6m0GUcN7q%2BY2DqD27iLvbcd1G50T2lv08kKxkSI%3D' (2024-06-07) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/6dc3e45fe4aee36efeed24d64fc68b1f989d5465?narHash=sha256-wqbRwq3i7g5EHIui0bIi84mdqZ/It1AXBSLJ5tafD28%3D' (2024-06-08) → 'github:oxalica/rust-overlay/abfe5b3126b1b7e9e4daafc1c6478d17f0b584e7?narHash=sha256-24h/qKp0aeI%2BEw13WdRF521kY24PYa5HOvw0mlrABjk%3D' (2024-06-10) • Updated input 'sops': 'github:Mic92/sops-nix/d4555e80d80d2fa77f0a44201ca299f9602492a0?narHash=sha256-8Q6mKSsto8gaGczXd4G0lvawdAYLa5Dlh3/g4hl5CaM%3D' (2024-06-03) → 'github:Mic92/sops-nix/f0922ad001829b400f0160ba85b47d252fa3d925?narHash=sha256-OQTjaEZcByyVmHwJlKp/8SE9ikC4w%2BmFd3X0jJs6wiA%3D' (2024-06-09) • Updated input 'sops/nixpkgs-stable': 'github:NixOS/nixpkgs/3b1b4895b2c5f9f5544d02132896aeb9ceea77bc?narHash=sha256-IITcGd6xpNoyq9SZBigCkv4%2BqMHSqot0RDPR4xsZ2CA%3D' (2024-06-01) → 'github:NixOS/nixpkgs/4913a7c3d8b8d00cb9476a6bd730ff57777f740c?narHash=sha256-BRvSCsKtDUr83NEtbGfHLUOdDK0Cgbezj2PtcHnz%2BsQ%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 |