No description
Erwin Boskma
568196d0fd
Flake lock file updates: • Updated input 'eww': 'github:elkowar/eww/a7bd80ac1ec77f0c473c7ec70240f8329bffa07b?narHash=sha256-FBdncoPa6Fam0Z38x7Xa7CBY%2B0UcbJyvfned3QMpoPM%3D' (2025-01-04) → 'github:elkowar/eww/593a4f4666f0bc42790d6d033e64a2b38449090f?narHash=sha256-DbXsiqMyZKNSFmL5aEJwJr%2BcPnz8qaWe5lNDoovOX/g%3D' (2025-01-14) • Updated input 'ghostty': 'github:ghostty-org/ghostty/3cdb9a7dfe59fa46dde27b5ada5932bbe42094b8?narHash=sha256-8VTYxeRGp7pvKNz0/yMOvgnnWQ4DOHPAckQUzgpXw4o%3D' (2025-01-14) → 'github:ghostty-org/ghostty/ff9414d9ea7b16a375d41cde8f6f193de7e5db72?narHash=sha256-OLly4X2kN1tDb2gMYcWeim6uJECPoc52ltJsz1iD5Ug%3D' (2025-01-15) • Updated input 'microvm': 'github:astro/microvm.nix/6f7e4a7bfcdce1c703f9cb89ae9d634167b720b8?narHash=sha256-kZELEfQDEbCljZUpmIw0G0tNNdcJlnLvc6bwKQ%2B%2BOkw%3D' (2025-01-11) → 'github:astro/microvm.nix/a18d7ba1bb7fd4841191044ca7a7f895ef2adf3b?narHash=sha256-eW6SfZRaOnOybBzhvEzu3iRL8IhwE0ETxUpnkErlqkE%3D' (2025-01-15) • Updated input 'nixos-facter-modules': 'github:numtide/nixos-facter-modules/8c92c91e7cc449796bedf772ec6373f61df38c07?narHash=sha256-zsBwbF7J5cy96%2B9/IoxJVxSB22lSyHpwqWjMSRJB6ZU%3D' (2025-01-14) → 'github:numtide/nixos-facter-modules/fa11d87b61b2163efbb9aed7b7a5ae0299e5ab9c?narHash=sha256-aY55yiifyo1XPPpbpH0kWlV1g2dNGBlx6622b7OK8ks%3D' (2025-01-15) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/cf960a1938ee91200fe0d2f7b2582fde2429d562?narHash=sha256-QOA4jCDyyUM9Y2Vba%2BHSZ/5LdtCMGaTE/7NkkUzBr50%3D' (2025-01-13) → 'github:oxalica/rust-overlay/eaa365c911441e07e387ff6acc596619fc50b156?narHash=sha256-fw55wVwpJW36Md2HZBKuxX3YHGeqsGsspPLtCMVr1Y8%3D' (2025-01-15) |
||
---|---|---|
.forgejo/workflows | ||
home-manager/modules | ||
incus-conf | ||
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 |