No description
Erwin Boskma
3e8eddd653
Flake lock file updates: • Updated input 'colmena': 'github:zhaofengli/colmena/a2193487bcf70bbb998ad1a25a4ff02b8d55db7a?narHash=sha256-04iOZoJ0D%2By3xhZtaCgSBOz8T4hED7oMVkuAOzXT8vU%3D' (2024-11-10) → 'github:zhaofengli/colmena/e3ad42138015fcdf2524518dd564a13145c72ea1?narHash=sha256-dI9I6suECoIAmbS4xcrqF8r2pbmed8WWm5LIF1yWPw8%3D' (2024-11-13) • Updated input 'comin': 'github:nlewo/comin/84ef9af404b9157eab2c5e3e44d7c29239329901?narHash=sha256-6R5CeMgr3EGKhqWPkqtteOtix7hBaurfpjHepiq2OrU%3D' (2024-08-20) → 'github:nlewo/comin/9afca855518f79b5bff3d2a9663b2e6f81dd361a?narHash=sha256-n8yVzBixxaj0Qn6SV655t6QUtKSOJ%2BsR4AEoq0Vqb/0%3D' (2024-11-13) • Updated input 'disko': 'github:nix-community/disko/486250f404f4a4f4f33f8f669d83ca5f6e6b7dfc?narHash=sha256-cZ0QMpv5p2a6WEE%2Bo9uu0a4ma6RzQDOQTbm7PbixWz8%3D' (2024-11-10) → 'github:nix-community/disko/5fd852c4155a689098095406500d0ae3d04654a8?narHash=sha256-c9I3i1CwZ10SoM5npQQVnfwgvB86jAS3lT4ZqkRoSOI%3D' (2024-11-14) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/395675b281ab1aea12ab75a6296b83e3b3152f13?narHash=sha256-AtyI66bBn9IX9s%2BrXQEJHrkAQv3430urS6IxK5m1Uzs%3D' (2024-11-13) → 'github:nix-community/emacs-overlay/45023e6456ddc236499178ac9914d43d478bb499?narHash=sha256-/Yd5ydr2%2BW/lWWP8Tm9oVtlhUp2jr3qiXO57bIWMMHw%3D' (2024-11-14) • Updated input 'emacs-overlay/nixpkgs-stable': 'github:NixOS/nixpkgs/9256f7c71a195ebe7a218043d9f93390d49e6884?narHash=sha256-q2yjIWFFcTzp5REWQUOU9L6kHdCDmFDpqeix86SOvDc%3D' (2024-11-10) → 'github:NixOS/nixpkgs/689fed12a013f56d4c4d3f612489634267d86529?narHash=sha256-lKA770aUmjPHdTaJWnP3yQ9OI1TigenUqVC3wweqZuI%3D' (2024-11-12) • Updated input 'flake-utils': 'github:numtide/flake-utils/c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a?narHash=sha256-X6rJYSESBVr3hBoH0WbKE5KvhPU5bloyZ2L4K60/fPQ%3D' (2024-09-17) → 'github:numtide/flake-utils/11707dc2f618dd54ca8739b309ec4fc024de578b?narHash=sha256-l0KFg5HjrsfsO/JpG%2Br7fRrqm12kzFHyUHqHCVpMMbI%3D' (2024-11-13) • Updated input 'home-manager': 'github:nix-community/home-manager/60bb110917844d354f3c18e05450606a435d2d10?narHash=sha256-NjavpgE9/bMe/ABvZpyHIUeYF1mqR5lhaep3wB79ucs%3D' (2024-11-10) → 'github:nix-community/home-manager/35b055009afd0107b69c286fca34d2ad98940d57?narHash=sha256-2EckCJn4wxran/TsRiCOFcmVpep2m9EBKl99NBh2GnM%3D' (2024-11-13) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/76612b17c0ce71689921ca12d9ffdc9c23ce40b2?narHash=sha256-IigrKK3vYRpUu%2BHEjPL/phrfh7Ox881er1UEsZvw9Q4%3D' (2024-11-09) → 'github:nixos/nixpkgs/dc460ec76cbff0e66e269457d7b728432263166c?narHash=sha256-PbABj4tnbWFMfBp6OcUK5iGy1QY%2B/Z96ZcLpooIbuEI%3D' (2024-11-11) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/2c19bad6e881b5a154cafb7f9106879b5b356d1f?narHash=sha256-WZ5rpjr/wCt7yBOUsvDE2i22hYz9g8W921jlwVktRQ4%3D' (2024-11-13) → 'github:oxalica/rust-overlay/27570abfd3461875f11fc07c9b01c141a6332b4f?narHash=sha256-wr8OOqgw7M1pWfe4W7WA5lErzOVMg3zvrrxx/dy/nPo%3D' (2024-11-14) |
||
---|---|---|
.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 |