No description
Erwin Boskma
747a9df2d0
Flake lock file updates: • Updated input 'disko': 'github:nix-community/disko/22ee467a54a3ab7fa9d637ccad5330c6c087e9dc?narHash=sha256-xkPPPvfHhHK7BNX5ZrQ9N6AIEixCmFzRZHduDf0zv30%3D' (2024-09-16) → 'github:nix-community/disko/d32d1504c77d7f6ba7e033357dcf638baceab9b7?narHash=sha256-5bxY85siOIqOcQ8TOMAWLkMUZvLUADS2i5TsZhzUIZY%3D' (2024-09-17) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/9d338902d478ffba6a7dd0d9c2fb6151cb4b970a?narHash=sha256-kwjD%2BF08vvRVXCepQ5TD%2BHLCBkwvBF9gfM9ftFX%2Bb0U%3D' (2024-09-17) → 'github:nix-community/emacs-overlay/e303aa1dc000c07ee38a865bccb6e216fb5c1018?narHash=sha256-c7FAyWe5XB4J78Ee0QFuCPs0MIowJMDG1FkTqVnw6gs%3D' (2024-09-18) • Updated input 'emacs-overlay/nixpkgs-stable': 'github:NixOS/nixpkgs/8f7492cce28977fbf8bd12c72af08b1f6c7c3e49?narHash=sha256-RuVXUwcYwaUeks6h3OLrEmg14z9aFXdWppTWPMTwdQw%3D' (2024-09-14) → 'github:NixOS/nixpkgs/086b448a5d54fd117f4dc2dee55c9f0ff461bdc1?narHash=sha256-2yV8nmYE1p9lfmLHhOCbYwQC/W8WYfGQABoGzJOb1JQ%3D' (2024-09-16) • Updated input 'flake-utils': 'github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a?narHash=sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ%3D' (2024-03-11) → 'github:numtide/flake-utils/c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a?narHash=sha256-X6rJYSESBVr3hBoH0WbKE5KvhPU5bloyZ2L4K60/fPQ%3D' (2024-09-17) • Updated input 'home-manager': 'github:nix-community/home-manager/a9c9cc6e50f7cbd2d58ccb1cd46a1e06e9e445ff?narHash=sha256-ChhIrjtdu5d83W%2BYDRH%2BEc5g1MmM0xk6hJnkz15Ot7M%3D' (2024-09-15) → 'github:nix-community/home-manager/d2493de5cd1da06b6a4c3e97f4e7d5dd791df457?narHash=sha256-/bxaYvIK6/d3zqpW26QFS0rqfd0cO4qreSNWvYLTl/w%3D' (2024-09-17) • Updated input 'nil': 'github:oxalica/nil/555d517d46f0901988d752c7bbebccbf66b74f91?narHash=sha256-qEYEgj5Lj8VrrJKW2VSKXWJuHMXgoBmOkA96yt%2BDNXM%3D' (2024-09-16) → 'github:oxalica/nil/c8e8ce72442a164d89d3fdeaae0bcc405f8c015a?narHash=sha256-mIuOP4I51eFLquRaxMKx67pHmhatZrcVPjfHL98v/M8%3D' (2024-09-19) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/dc8b0296f68f72f3fe77469c549a6f098555c2e9?narHash=sha256-JBHtN%2Bn1HzKawpnOQAz6jdgvrtYV9c/kyzgoIdguQGo%3D' (2024-09-16) → 'github:NixOS/nixos-hardware/10d5e0ecc32984c1bf1a9a46586be3451c42fd94?narHash=sha256-sVeAM1tgVi52S1e29fFBTPUAFSzgQwgLon3CrztXGm8%3D' (2024-09-19) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/20c8461785d8f5af32d8d4d5c128589e23d7f033?narHash=sha256-u1tAteb4qkH2gGjDY3mN/4Qxa6y798t4G0jNKDyTwv8%3D' (2024-09-17) → 'github:oxalica/rust-overlay/6283b1d6ca31fa320ecee82806123e773b2ff993?narHash=sha256-Ob7DNyHKtOQpWetmNj/V%2BOgMkGXh6Ep1dNa6AN/4sSI%3D' (2024-09-19) • Updated input 'treefmt-nix': 'github:numtide/treefmt-nix/77dd46bf0ec7febbc0022bb6e4449cdc49af95d7?narHash=sha256-3zr63B6CDZ8FnzrRUvNZlsxLmFjaNyis6R91GjUCIhU%3D' (2024-09-17) → 'github:numtide/treefmt-nix/829338a3df3dfd492c61abbd090ec1405329c943?narHash=sha256-byl6ywTyQTUGiuwvBsDtQwUioQ5Kklxirj6YdiWTLdY%3D' (2024-09-19) |
||
---|---|---|
.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 |