No description
Erwin Boskma
fae8f8c929
Flake lock file updates: • Updated input 'atuin': 'github:atuinsh/atuin/a67cfc82fe0dc907a01f07a0fd625701e062a33b?narHash=sha256-0zSXPres0wlhS9n6h44ZzV0TOeWdMsICMlHAGjqkWGE%3D' (2024-07-03) → 'github:atuinsh/atuin/6d254c694677af6189159fad1c7737f2e06e4a78?narHash=sha256-sZVo8ngBpot1XrSqAEj7jou8DOuh1yH9mGveR8SA0vs%3D' (2024-07-08) • Updated input 'disko': 'github:nix-community/disko/64679cd7f318c9b6595902b47d4585b1d51d5f9e?narHash=sha256-BymcV4HWtx2VFuabDCM4/nEJcfivCx0S02wUCz11mAY%3D' (2024-07-04) → 'github:nix-community/disko/f1a00e7f55dc266ef286cc6fc8458fa2b5ca2414?narHash=sha256-zJv6euDOrJWMHBhxfp/ay%2BDvjwpe8YtMuEI5b09bxmo%3D' (2024-07-08) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/e2e8c7303eafd8d3657e06c28be7b3b74c7024e6?narHash=sha256-L9MdoPyHWW31rFG172XjnXIIwvMB3nhjvWqQxacsCq0%3D' (2024-07-05) → 'github:nix-community/emacs-overlay/743e01cc6f5be48230b99178e3f14b34da84022e?narHash=sha256-DFDThlsRInZPkbReZgXOhDv3CqsOkf8KEs1RkGTb4R4%3D' (2024-07-08) • Updated input 'emacs-overlay/nixpkgs-stable': 'github:NixOS/nixpkgs/7144d6241f02d171d25fba3edeaf15e0f2592105?narHash=sha256-gvFhEf5nszouwLAkT9nWsDzocUTqLWHuL%2B%2BdvNjMp9I%3D' (2024-07-02) → 'github:NixOS/nixpkgs/49ee0e94463abada1de470c9c07bfc12b36dcf40?narHash=sha256-WrDV0FPMVd2Sq9hkR5LNHudS3OSMmUrs90JUTN%2BMXpA%3D' (2024-07-06) • Updated input 'eww': 'github:elkowar/eww/d1fde927d2799211f791e7ea01cffb667c4f2b60?narHash=sha256-deabn4fdNmJsDxkT6bgCbwB354sUHvkuq%2BDcdWBU6B8%3D' (2024-05-06) → 'github:elkowar/eww/4d55e9ad63d1fae887726dffcd25a32def23d34f?narHash=sha256-LTSFlW/46hl1u9SzqnvbtNxswCW05bhwOY6CzVEJC5o%3D' (2024-07-05) • Updated input 'home-manager': 'github:nix-community/home-manager/bbe6e94737289c8cb92d4d8f9199fbfe4f11c0ba?narHash=sha256-K9JYdlPiyaXp33JRg7CT8rMwH56e4ncXSsXW/YKnNXc%3D' (2024-07-05) → 'github:nix-community/home-manager/6b7ce96f34b324e4e104abc30d06955d216bac71?narHash=sha256-kAsg3Lg4YKKpGw%2Bf1W2s5hzjP8B0y/juowvjK8utIag%3D' (2024-07-07) • Updated input 'nix-ld-rs': 'github:nix-community/nix-ld-rs/594465d9e48c86038d4833125067cc7af143bd3a?narHash=sha256-dBWcpHCVDi58lnVEPaYgRiQnlqcfbnTNGMLVOpDWq38%3D' (2024-07-01) → 'github:nix-community/nix-ld-rs/45eec25fe63b5c421c9439a743a2416a6cdea00b?narHash=sha256-QyuNREH5M0FZG0iVeOB3pUABIz9kqN%2Ba1MYLzl3978Q%3D' (2024-07-07) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/6e253f12b1009053eff5344be5e835f604bb64cd?narHash=sha256-xNbjISJTFailxass4LmdWeV4jNhAlmJPwj46a/GxE6M%3D' (2024-07-02) → 'github:NixOS/nixos-hardware/72d3c007024ce47d838bb38693c8773812f54bf2?narHash=sha256-d6JI5IgJ1xdrk7DvYVx7y8ijcYz5I1nhCwOiDP6cq00%3D' (2024-07-08) • Updated input 'pre-commit-hooks': 'github:cachix/git-hooks.nix/0ff4381bbb8f7a52ca4a851660fc7a437a4c6e07?narHash=sha256-F1h%2BXIsGKT9TkGO3omxDLEb/9jOOsI6NnzsXFsZhry4%3D' (2024-06-24) → 'github:cachix/git-hooks.nix/2b6bd3c87d3a66fb0b8f2f06c985995e04b4fb96?narHash=sha256-1in42htN3g3MnE3/AO5Qgs6pMWUzmtPQ7s675brO8uw%3D' (2024-07-08) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/5ad2d5884b9b16319c9c5ca4e80a5b8606b083ae?narHash=sha256-mNO3vfM43%2Bw4Bp%2BzMC8Dkf4ktLpYYRpk9tAOp4iumio%3D' (2024-07-05) → 'github:oxalica/rust-overlay/f0ca58b37ff4179ce4587589c32205764d9b4a4f?narHash=sha256-7D57KwmTIbsopE/1g8hFeIbVoeJGgU3wfuGYvTlNQG4%3D' (2024-07-08) • Updated input 'sops': 'github:Mic92/sops-nix/a11224af8d824935f363928074b4717ca2e280db?narHash=sha256-D1dxZmXf6M2h5lNE1m6orojuUawVPjogbGRsqSBX%2B1g%3D' (2024-07-01) → 'github:Mic92/sops-nix/c184aca4db5d71c3db0c8cbfcaaec337a5d065ea?narHash=sha256-kcI8q9Nh8/CSj0ygfWq1DLckHl8IHhFarL8ie6g7OEk%3D' (2024-07-07) • Updated input 'sops/nixpkgs-stable': 'github:NixOS/nixpkgs/4a1e673523344f6ccc84b37f4413ad74ea19a119?narHash=sha256-tXlrgAQygNIy49LDVFuPXlWD2zTQV9/F8pfoqwwPJyo%3D' (2024-06-29) → 'github:NixOS/nixpkgs/550ac3e955c30fe96dd8b2223e37e0f5d225c927?narHash=sha256-dudRkHPRivMNOhd04YI%2Bv4sWvn2SnN5ODSPIu5IVbco%3D' (2024-07-06) • Updated input 'treefmt-nix': 'github:numtide/treefmt-nix/bdb6355009562d8f9313d9460c0d3860f525bc6c?narHash=sha256-p0B2r98UtZzRDM5miGRafL4h7TwGRC4DII%2BXXHDHqek%3D' (2024-07-02) → 'github:numtide/treefmt-nix/6fc8bded78715cdd43a3278a14ded226eb3a239e?narHash=sha256-/cKXod0oGLl%2BvH4bKBZnTV3qxrw4jgOLnyQ8KXey5J8%3D' (2024-07-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 | ||
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 |