No description
Erwin Boskma
576f10a6d0
Flake lock file updates: • Updated input 'atuin': 'github:atuinsh/atuin/413d3e362640926515dcad1850671380ab98f585?narHash=sha256-fBGG8td%2Bs67MxW9J4%2BmsexgbFxmt%2BQt9yUK3gvQ30go%3D' (2024-05-21) → 'github:atuinsh/atuin/2e88321aecfd1c4a7fa69a1794ecdf34a401c358?narHash=sha256-exRwSztMwH4IZ//3%2BXq9hnyONVOnQ2Yo41gJRJWA78E%3D' (2024-05-25) • Updated input 'disko': 'github:nix-community/disko/f1654e07728008d354c704d265fc710e3f5f42ee?narHash=sha256-Qvfoa99WdYIneGrrLFIKQCevLgB5vnxvwJe5aWbGYZY%3D' (2024-05-21) → 'github:nix-community/disko/7ffc4354dfeb37c8c725ae1465f04a9b45ec8606?narHash=sha256-t3T8HlX3udO6f4ilLcN%2Bj5eC3m2gqsouzSGiriKK6vk%3D' (2024-05-23) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/35e5b442c1602ed30b588addb66d3289f33dfb76?narHash=sha256-lo7AHe%2BF4%2BVJshf4AZWtXpnHUvJsrMJxnqCfeIBn/54%3D' (2024-05-22) → 'github:nix-community/emacs-overlay/98aa2d306590b9ad5d62fea389b06a8651b406b5?narHash=sha256-/SUTE2dhBz3iNX%2BUkmDTWJX08Fd6G%2B800D%2BWVCT4ogQ%3D' (2024-05-26) • Updated input 'emacs-overlay/nixpkgs-stable': 'github:NixOS/nixpkgs/a8695cbd09a7ecf3376bd62c798b9864d20f86ee?narHash=sha256-i/E7gzQybvcGAYDRGDl39WL6yVk30Je/NXypBz6/nmM%3D' (2024-05-20) → 'github:NixOS/nixpkgs/46397778ef1f73414b03ed553a3368f0e7e33c2f?narHash=sha256-mzZDr00WUiUXVm1ujBVv6A0qRd8okaITyUp4ezYRgc4%3D' (2024-05-22) • Updated input 'home-manager': 'github:nix-community/home-manager/e3ad5108f54177e6520535768ddbf1e6af54b59d?narHash=sha256-W9pyM3/vePxrffHtzlJI6lDS3seANQ%2BNqp%2Bi58O46LI%3D' (2024-05-17) → 'github:nix-community/home-manager/5d151429e1e79107acf6d06dcc5ace4e642ec239?narHash=sha256-h3RmnNknKYtVA%2BEvUSra6QAwfZjC2q1G8YA7W0gat8Y%3D' (2024-05-26) • Updated input 'microvm': 'github:astro/microvm.nix/da064bdc91475b43388960b1675d45e4675e68a6?narHash=sha256-%2BS6i0zlvrIG8Nhp1rWQo/WlsJ%2BjzIIQr704EdyG6x28%3D' (2024-05-21) → 'github:astro/microvm.nix/a59c3167f673ce29b65c674deb2bee73d151a96c?narHash=sha256-dwUYl8jyMNKidPEM9gTafcRe%2B3pUh2rH3ZlBrUpsvnw%3D' (2024-05-22) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/d9e0b26202fd500cf3e79f73653cce7f7d541191?narHash=sha256-FC21Bn4m6ctajMjiUof30awPBH/7WjD0M5yqrWepZbY%3D' (2024-05-20) → 'github:NixOS/nixos-hardware/2e7d6c568063c83355fe066b8a8917ee758de1b8?narHash=sha256-fe6Z33pbfqu4TI5ijmcaNc5vRBs633tyxJ12HTghy3w%3D' (2024-05-26) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/3eaeaeb6b1e08a016380c279f8846e0bd8808916?narHash=sha256-pU9ViBVE3XYb70xZx%2BjK6SEVphvt7xMTbm6yDIF4xPs%3D' (2024-05-21) → 'github:nixos/nixpkgs/bfb7a882678e518398ce9a31a881538679f6f092?narHash=sha256-4zSIhSRRIoEBwjbPm3YiGtbd8HDWzFxJjw5DYSDy1n8%3D' (2024-05-24) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/e8239080c897174a646c36a88789c9cbf53b7951?narHash=sha256-e4tYIu1BOcq2DiGSQqynyREXCnKohjdcMS9wvLVxT38%3D' (2024-05-22) → 'github:oxalica/rust-overlay/3b6e1e221b04965427f3eee11fd6b6ea7b5f579b?narHash=sha256-tQYQM9zT4P1fFf739/AIZuTIGPxtEIpV7K7VieU60Io%3D' (2024-05-26) • Updated input 'sops': 'github:Mic92/sops-nix/fddd52460e3332eedd8a0043af5675338a5b3e0b?narHash=sha256-XXbqfkyWe0d0O%2BzqRQWi2oXi6wYDmTzXedFkBRwx1VI%3D' (2024-05-20) → 'github:Mic92/sops-nix/962797a8d7f15ed7033031731d0bb77244839960?narHash=sha256-sALodaA7Zkp/JD6ehgwc0UCBrSBfB4cX66uFGTsqeFU%3D' (2024-05-26) • Updated input 'sops/nixpkgs-stable': 'github:NixOS/nixpkgs/e7cc61784ddf51c81487637b3031a6dd2d6673a2?narHash=sha256-H0eCta7ahEgloGIwE/ihkyGstOGu%2BkQwAiHvwVoXaA0%3D' (2024-05-18) → 'github:NixOS/nixpkgs/59a450646ec8ee0397f5fa54a08573e8240eb91f?narHash=sha256-kQ25DAiCGigsNR/Quxm3v%2BJGXAEXZ8I7RAF4U94bGzE%3D' (2024-05-25) |
||
---|---|---|
.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 |