No description
Erwin Boskma
9c985a51fe
Flake lock file updates: • Updated input 'attic': 'github:zhaofengli/attic/e127acbf9a71ebc0c26bc8e28346822e0a6e16ba?narHash=sha256-GJIz4M5HDB948Ex/8cPvbkrNzl/eKUE7/c21JBu4lb8%3D' (2024-08-01) → 'github:zhaofengli/attic/26b9417bde03edc6280d1f7ce709cd619cdb72d4?narHash=sha256-FBaRmikNnCX%2BHQJXAfNJyiOl3sM1NrlxvcFwQDqwCyk%3D' (2024-08-13) • Updated input 'disko': 'github:nix-community/disko/0d510fe40b56ed74907a021d7e1ffd0042592914?narHash=sha256-yrS9al6l3fYfFfvovnyBWnyELDQOdfKyai4K/jKgoBw%3D' (2024-08-12) → 'github:nix-community/disko/4e719b38fa7c85f4f65d0308ca7084c91e7bdd6d?narHash=sha256-o1HdAf%2B7IGv9M13R3c%2Bzc/sJ0QgeEnhsvHBcodI4UpM%3D' (2024-08-19) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/aa3997dd78a00dec18e4d22f6073f78778c75301?narHash=sha256-jniQno8FCotJ0OUSxd43Zl5q0UsKbKvrtATduvrhO2g%3D' (2024-08-13) → 'github:nix-community/emacs-overlay/b5a543194c6156e121a974a8710c52476c0e30d4?narHash=sha256-qg/%2Bf8DxrhW53m8F2Ak5nVmQznZRDYV2BvS6LTM7qRI%3D' (2024-08-19) • Updated input 'emacs-overlay/nixpkgs-stable': 'github:NixOS/nixpkgs/a781ff33ae258bbcfd4ed6e673860c3e923bf2cc?narHash=sha256-oTK91aOlA/4IsjNAZGMEBz7Sq1zBS0Ltu4/nIQdYDOg%3D' (2024-08-10) → 'github:NixOS/nixpkgs/c42fcfbdfeae23e68fc520f9182dde9f38ad1890?narHash=sha256-9tUadhnZQbWIiYVXH8ncfGXGvkNq3Hag4RCBEMUk7MI%3D' (2024-08-17) • Updated input 'home-manager': 'github:nix-community/home-manager/086f619dd991a4d355c07837448244029fc2d9ab?narHash=sha256-97wn0ihhGqfMb8WcUgzzkM/TuAxce2Gd20A8oiruju4%3D' (2024-08-11) → 'github:nix-community/home-manager/2598861031b78aadb4da7269df7ca9ddfc3e1671?narHash=sha256-Fy%2BKEvDQ%2BHc8lJAV3t6leXhZJ2ncU5/esxkgt3b8DEY%3D' (2024-08-18) • Updated input 'nil': 'github:oxalica/nil/70df371289962554cf7a23ed595b23a2ce271960?narHash=sha256-DqsN/VkYVr4M0PVRQKXPPOTaind5miYZURIYqM4MxYM%3D' (2024-08-06) → 'github:oxalica/nil/4f3081d1f10bb61f197b780e67f426e53f818691?narHash=sha256-rX14joTzvRUiCfmCT0LUMV3Mxi79VJANcKB/kkh7Qys%3D' (2024-08-18) • Updated input 'nix-ld-rs': 'github:nix-community/nix-ld-rs/d1b139e7b8671ca1af26efaa71a28f3c031f9b66?narHash=sha256-tCjKgg9HE0jFz7smwB3n3Wg%2B%2B6K6umyK1rHpBIr/ZI4%3D' (2024-08-11) → 'github:nix-community/nix-ld-rs/8af5fc9add315c251edea8f659b56fc7836a163f?narHash=sha256-HKHx2tDZEcKTKKkhyIDRifJW7a4bxOsWlvIVI1qm%2Bng%3D' (2024-08-17) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/c54cf53e022b0b3c1d3b8207aa0f9b194c24f0cf?narHash=sha256-IiH8jG6PpR4h9TxSGMYh%2B2/gQiJW9MwehFvheSb5rPc%3D' (2024-08-10) → 'github:NixOS/nixos-hardware/b09c46430ffcf18d575acf5c339b38ac4e1db5d2?narHash=sha256-WJBAEFXAtA41RMpK8mvw0cQ62CJkNMBtzcEeNIJV7b0%3D' (2024-08-19) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/a58bc8ad779655e790115244571758e8de055e3d?narHash=sha256-dFZRVSgmJkyM0bkPpaYRtG/kRMRTorUIDj8BxoOt1T4%3D' (2024-08-11) → 'github:nixos/nixpkgs/c3aa7b8938b17aebd2deecf7be0636000d62a2b9?narHash=sha256-med8%2B5DSWa2UnOqtdICndjDAEjxr5D7zaIiK4pn0Q7c%3D' (2024-08-14) • Updated input 'pre-commit-hooks': 'github:cachix/git-hooks.nix/c7012d0c18567c889b948781bc74a501e92275d1?narHash=sha256-qbhjc/NEGaDbyy0ucycubq4N3//gDFFH3DOmp1D3u1Q%3D' (2024-08-09) → 'github:cachix/git-hooks.nix/bfef0ada09e2c8ac55bbcd0831bd0c9d42e651ba?narHash=sha256-yezvUuFiEnCFbGuwj/bQcqg7RykIEqudOy/RBrId0pc%3D' (2024-08-16) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/4ee3d9e9569f70d7bb40f28804d6fe950c81eab3?narHash=sha256-nHdKymsHCVIh0Wdm4MvSgxcTTg34FJIYHRQkQYaSuvk%3D' (2024-08-13) → 'github:oxalica/rust-overlay/c7d36e0947826e0751a5214ffe82533fbc909bc0?narHash=sha256-b1g7w0sw%2BMDAhUAeCoX1vlTghsqcDZkxr%2Bk9OZmxPa8%3D' (2024-08-19) • Updated input 'treefmt-nix': 'github:numtide/treefmt-nix/349de7bc435bdff37785c2466f054ed1766173be?narHash=sha256-S0Gvsenh0II7EAaoc9158ZB4vYyuycvMGKGxIbERNAM%3D' (2024-08-12) → 'github:numtide/treefmt-nix/1d07739554fdc4f8481068f1b11d6ab4c1a4167a?narHash=sha256-rhis3qNuGmJmYC/okT7Dkc4M8CeUuRCSvW6kC2f3hBc%3D' (2024-08-16) |
||
---|---|---|
.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 |