No description
Erwin Boskma
e0afd19251
Flake lock file updates: • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/c1d57dfc41323f39f16ec7fe1c9d85402e6ec12d?narHash=sha256-MUg5/YtBUTKbN6aWFvHA3n7yWK/LTRAP2VkCLr%2BT/0o%3D' (2024-08-02) → 'github:nix-community/emacs-overlay/c4f6796e5c499cf6370a45fff08a03e848b9abad?narHash=sha256-7n9UqBkTAF/RikFzCyHKz50kzBDF5GYgVb3J5wCh4EY%3D' (2024-08-04) • Updated input 'emacs-overlay/nixpkgs-stable': 'github:NixOS/nixpkgs/cf05eeada35e122770c5c14add958790fcfcbef5?narHash=sha256-B2xRiC3NEJy/82ugtareBkRqEkPGpMyjaLxaR8LBxNs%3D' (2024-07-30) → 'github:NixOS/nixpkgs/a633d89c6dc9a2a8aae11813a62d7c58b2c0cc51?narHash=sha256-IRiJA0NVAoyaZeKZluwfb2DoTpBAj%2BFLI0KfybBeDU0%3D' (2024-08-03) • Updated input 'home-manager': 'github:nix-community/home-manager/6e090576c4824b16e8759ebca3958c5b09659ee8?narHash=sha256-ss0G8t8RJVDewA3MyqgAlV951cWRK6EtVhVKEZ7J5LU%3D' (2024-07-31) → 'github:nix-community/home-manager/afc892db74d65042031a093adb6010c4c3378422?narHash=sha256-QfM/9BMRkCmgWzrPDK%2BKbgJOUlSJnfX4OvsUupEUZvA%3D' (2024-08-02) • Updated input 'microvm': 'github:astro/microvm.nix/2f56d58cae49d6b66adc42aa3c52051a83f6a176?narHash=sha256-%2BcKh/zzyzOfOC7GryAVMESpvTckOVJ%2BcQC01JJi1z8k%3D' (2024-07-24) → 'github:astro/microvm.nix/dc326ff7fa41aa5cc210b99617743bbc51275924?narHash=sha256-8bz0%2BXpjGgio5Bjte0PWsYRArVR2godIBoArly0D%2BHU%3D' (2024-08-03) • Updated input 'microvm/fenix': 'github:nix-community/fenix/abc0549e3560189462a7d394cc9d50af4608d103?narHash=sha256-OIuDb6pHDyGpo7YMFyuRzMLcHm7mRvlYOz0Ht7ps2sU%3D' (2024-07-08) → 'github:nix-community/fenix/286f371b3cfeaa5c856c8e6dfb893018e86cc947?narHash=sha256-VaNcSh7n8OaFW/DJsR6Fm23V%2BEGpSei0DyF71RKB%2B90%3D' (2024-08-02) • Updated input 'microvm/fenix/rust-analyzer-src': 'github:rust-lang/rust-analyzer/a5b21ea0aa644dffd7cf958b43f11f221d53404e?narHash=sha256-STmaV9Zu74QtkGGrbr9uMhskwagfCjJqOAYapXabiuk%3D' (2024-07-07) → 'github:rust-lang/rust-analyzer/f149dc5029d8406fae8b2c541603bcac06e30deb?narHash=sha256-FvJ4FaMy1kJbZ3Iw1RyvuiUAsbHJXoU2HwylzaFzj1o%3D' (2024-08-01) • Updated input 'nix-ld-rs': 'github:nix-community/nix-ld-rs/178b100f4dda6b1280e9619270009fc8c0938e73?narHash=sha256-SUHIztj/CoqqtwEjSA9cnJb%2BIIFIr2ntrzn0Ly1DCB8%3D' (2024-07-29) → 'github:nix-community/nix-ld-rs/76a95ee37d62495743d6e36cdf7f6076ed6adc64?narHash=sha256-bubBZ5JBs0unQp7aaepbXUsKC9USzpBdUJtFFuXTuvE%3D' (2024-08-04) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/9f918d616c5321ad374ae6cb5ea89c9e04bf3e58?narHash=sha256-/DJBI6trCeVnasdjUo9pbnodCLZcFqnVZiLUfqLH4jA%3D' (2024-07-31) → 'github:nixos/nixpkgs/d04953086551086b44b6f3c6b7eeb26294f207da?narHash=sha256-hMyG9/WlUi0Ho9VkRrrez7SeNlDzLxalm9FwY7n/Noo%3D' (2024-08-02) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/a9cd2009fb2eeacfea785b45bdbbc33612bba1f1?narHash=sha256-2eek4vZKsYg8jip2WQWvAOGMMboQ40DIrllpsI6AlU4%3D' (2024-08-02) → 'github:oxalica/rust-overlay/27ec296d93cb4b2d03e8cbd019b1b4cde8c34280?narHash=sha256-cWD5pCs9AYb%2B512/yCx9D0Pl5KcmyuXHeJpsDw/D1vs%3D' (2024-08-04) |
||
---|---|---|
.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 |