No description
Erwin Boskma
f30cb2cc01
Flake lock file updates: • Updated input 'atuin': 'github:atuinsh/atuin/2e88321aecfd1c4a7fa69a1794ecdf34a401c358?narHash=sha256-exRwSztMwH4IZ//3%2BXq9hnyONVOnQ2Yo41gJRJWA78E%3D' (2024-05-25) → 'github:atuinsh/atuin/15618f19ab85725462f19d52966594daee9b0414?narHash=sha256-I4y8R/jFA34yqz0XszLA0KHz3yn21lYRWWqJ0juQxrg%3D' (2024-05-29) • Updated input 'disko': 'github:nix-community/disko/7ffc4354dfeb37c8c725ae1465f04a9b45ec8606?narHash=sha256-t3T8HlX3udO6f4ilLcN%2Bj5eC3m2gqsouzSGiriKK6vk%3D' (2024-05-23) → 'github:nix-community/disko/8ea5bcccc03111bdedaeaae9380dfab61e9deb33?narHash=sha256-s3Sis%2BM1qTSVIehHrEKBzHBpqprIFJli5V6WojkJnYE%3D' (2024-05-30) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/98aa2d306590b9ad5d62fea389b06a8651b406b5?narHash=sha256-/SUTE2dhBz3iNX%2BUkmDTWJX08Fd6G%2B800D%2BWVCT4ogQ%3D' (2024-05-26) → 'github:nix-community/emacs-overlay/441ed86922224973b0853255785d3ce88b683b1a?narHash=sha256-m%2B5EQOjc7AKKrPYD%2BGkAn2W52z92%2B9IBdIVtTu0WJTY%3D' (2024-05-30) • Updated input 'emacs-overlay/nixpkgs-stable': 'github:NixOS/nixpkgs/46397778ef1f73414b03ed553a3368f0e7e33c2f?narHash=sha256-mzZDr00WUiUXVm1ujBVv6A0qRd8okaITyUp4ezYRgc4%3D' (2024-05-22) → 'github:NixOS/nixpkgs/9d29cd266cebf80234c98dd0b87256b6be0af44e?narHash=sha256-xim1b5/HZYbWaZKyI7cn9TJCM6ewNVZnesRr00mXeS4%3D' (2024-05-25) • Updated input 'home-manager': 'github:nix-community/home-manager/5d151429e1e79107acf6d06dcc5ace4e642ec239?narHash=sha256-h3RmnNknKYtVA%2BEvUSra6QAwfZjC2q1G8YA7W0gat8Y%3D' (2024-05-26) → 'github:nix-community/home-manager/60b85414b49d5d69816c2453865adb6cc39df33a?narHash=sha256-qwdpjHeB0IjZwiH57z2CvHMlcREKjv2zYpGV1aWb7Xk%3D' (2024-05-30) • Updated input 'microvm': 'github:astro/microvm.nix/a59c3167f673ce29b65c674deb2bee73d151a96c?narHash=sha256-dwUYl8jyMNKidPEM9gTafcRe%2B3pUh2rH3ZlBrUpsvnw%3D' (2024-05-22) → 'github:astro/microvm.nix/fa4262c3c9197e7d62185858907f2e5acff3258d?narHash=sha256-L2Vni6dGDFWXWwY0rqkQWtZXt%2BqYQKUZr%2BFj%2BEpI97Q%3D' (2024-05-26) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/2e7d6c568063c83355fe066b8a8917ee758de1b8?narHash=sha256-fe6Z33pbfqu4TI5ijmcaNc5vRBs633tyxJ12HTghy3w%3D' (2024-05-26) → 'github:NixOS/nixos-hardware/8251761f93d6f5b91cee45ac09edb6e382641009?narHash=sha256-uuEkErFVsFdg2K0cKbNQ9JlFSAm/xYqPr4rbPLI91Y8%3D' (2024-05-29) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/bfb7a882678e518398ce9a31a881538679f6f092?narHash=sha256-4zSIhSRRIoEBwjbPm3YiGtbd8HDWzFxJjw5DYSDy1n8%3D' (2024-05-24) → 'github:nixos/nixpkgs/9ca3f649614213b2aaf5f1e16ec06952fe4c2632?narHash=sha256-7EXDb5WBw%2Bd004Agt%2BJHC/Oyh/KTUglOaQ4MNjBbo5w%3D' (2024-05-27) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/3b6e1e221b04965427f3eee11fd6b6ea7b5f579b?narHash=sha256-tQYQM9zT4P1fFf739/AIZuTIGPxtEIpV7K7VieU60Io%3D' (2024-05-26) → 'github:oxalica/rust-overlay/095702e63a40e86f339d11864da9dc965b70a01e?narHash=sha256-MzH%2ByjKULH3HCRj9QCTwBvqq4LZkR0ZqRE/QfGOGC2E%3D' (2024-05-30) |
||
---|---|---|
.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 |