No description
Erwin Boskma
a5d8b0d935
Flake lock file updates: • Updated input 'atuin': 'github:atuinsh/atuin/2ce1a06f9519c7d9ab7f17b036794eff1569925b?narHash=sha256-mlU97SAd7HiAItg%2B3R1870Igje1iJhQjba7hNQa0T78%3D' (2024-08-01) → 'github:atuinsh/atuin/ea991d5f453c5ec98f144b1ae1c61857c5096cc8?narHash=sha256-xDFYPXWKJ5K6Nn/8u9vtlLv%2B%2B6Eh5fCiHb3Vp3Giol8%3D' (2024-08-07) • Updated input 'atuin/fenix': 'github:nix-community/fenix/0900ff903f376cc822ca637fef58c1ca4f44fab5?narHash=sha256-%2BxR0ZqooQvAjxcpoDBCqiUCKrBK8/RGVffRzlKH7urw%3D' (2024-07-31) → 'github:nix-community/fenix/1388e72dd8562c8b2908fd655dee0c797df9e930?narHash=sha256-AwQv9kstzEOYjzuC9uY8jECqFJPuV/UxPLa30L3DLqo%3D' (2024-08-05) • Updated input 'atuin/fenix/rust-analyzer-src': 'github:rust-lang/rust-analyzer/4feec4b0c1d5aad7aba34e0397fe7bd984c9a634?narHash=sha256-Myc%2BUnbLDQccueeO1q5CF0sNiGebQo1N%2BcdOpDMhNsg%3D' (2024-07-30) → 'github:rust-lang/rust-analyzer/c9109f23de57359df39db6fa36b5ca4c64b671e1?narHash=sha256-/Bd0VzlutcxTwSNouS/iC6BDv395NoO4XmBJaS2vQLg%3D' (2024-08-04) • Updated input 'disko': 'github:nix-community/disko/7e1b215a0a96efb306ad6440bf706d2b307dc267?narHash=sha256-7gZ8uf3qOox8Vrwd%2Bp9EhUHHLhhK8lis/5KcXGmIaow%3D' (2024-08-01) → 'github:nix-community/disko/0d510fe40b56ed74907a021d7e1ffd0042592914?narHash=sha256-yrS9al6l3fYfFfvovnyBWnyELDQOdfKyai4K/jKgoBw%3D' (2024-08-12) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/c4f6796e5c499cf6370a45fff08a03e848b9abad?narHash=sha256-7n9UqBkTAF/RikFzCyHKz50kzBDF5GYgVb3J5wCh4EY%3D' (2024-08-04) → 'github:nix-community/emacs-overlay/aad34633f2b567583651ff6b7614026a4b7b58a3?narHash=sha256-dXo8MrjqUKkJpHDnpOyt7OYh9nKee56BXnhmNHTZJuI%3D' (2024-08-12) • Updated input 'emacs-overlay/nixpkgs-stable': 'github:NixOS/nixpkgs/a633d89c6dc9a2a8aae11813a62d7c58b2c0cc51?narHash=sha256-IRiJA0NVAoyaZeKZluwfb2DoTpBAj%2BFLI0KfybBeDU0%3D' (2024-08-03) → 'github:NixOS/nixpkgs/a781ff33ae258bbcfd4ed6e673860c3e923bf2cc?narHash=sha256-oTK91aOlA/4IsjNAZGMEBz7Sq1zBS0Ltu4/nIQdYDOg%3D' (2024-08-10) • Updated input 'home-manager': 'github:nix-community/home-manager/afc892db74d65042031a093adb6010c4c3378422?narHash=sha256-QfM/9BMRkCmgWzrPDK%2BKbgJOUlSJnfX4OvsUupEUZvA%3D' (2024-08-02) → 'github:nix-community/home-manager/086f619dd991a4d355c07837448244029fc2d9ab?narHash=sha256-97wn0ihhGqfMb8WcUgzzkM/TuAxce2Gd20A8oiruju4%3D' (2024-08-11) • Updated input 'microvm': 'github:astro/microvm.nix/dc326ff7fa41aa5cc210b99617743bbc51275924?narHash=sha256-8bz0%2BXpjGgio5Bjte0PWsYRArVR2godIBoArly0D%2BHU%3D' (2024-08-03) → 'github:astro/microvm.nix/69e8ac63a7a4d40bb65e73af41ba60df2eba0419?narHash=sha256-W76xLG4thxkENM3MOoXWYqKPrgk1WgUWzTixUyuw/co%3D' (2024-08-12) • Updated input 'nil': 'github:oxalica/nil/ab3ddb8f063774cf7e22eb610f5ecfdb77309f3c?narHash=sha256-GmsEQa4HZeMfec37LZnwG/Lt/XmqFLXsjv5QWojeNiM%3D' (2024-05-30) → 'github:oxalica/nil/70df371289962554cf7a23ed595b23a2ce271960?narHash=sha256-DqsN/VkYVr4M0PVRQKXPPOTaind5miYZURIYqM4MxYM%3D' (2024-08-06) • Updated input 'nix-ld-rs': 'github:nix-community/nix-ld-rs/76a95ee37d62495743d6e36cdf7f6076ed6adc64?narHash=sha256-bubBZ5JBs0unQp7aaepbXUsKC9USzpBdUJtFFuXTuvE%3D' (2024-08-04) → 'github:nix-community/nix-ld-rs/d1b139e7b8671ca1af26efaa71a28f3c031f9b66?narHash=sha256-tCjKgg9HE0jFz7smwB3n3Wg%2B%2B6K6umyK1rHpBIr/ZI4%3D' (2024-08-11) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/14c333162ba53c02853add87a0000cbd7aa230c2?narHash=sha256-2xLM4sc5QBfi0U/AANJAW21Bj4ZX479MHPMPkB%2BeKBU%3D' (2024-07-30) → 'github:NixOS/nixos-hardware/c54cf53e022b0b3c1d3b8207aa0f9b194c24f0cf?narHash=sha256-IiH8jG6PpR4h9TxSGMYh%2B2/gQiJW9MwehFvheSb5rPc%3D' (2024-08-10) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/d04953086551086b44b6f3c6b7eeb26294f207da?narHash=sha256-hMyG9/WlUi0Ho9VkRrrez7SeNlDzLxalm9FwY7n/Noo%3D' (2024-08-02) → 'github:nixos/nixpkgs/5e0ca22929f3342b19569b21b2f3462f053e497b?narHash=sha256-M0xJ3FbDUc4fRZ84dPGx5VvgFsOzds77KiBMW/mMTnI%3D' (2024-08-09) • Updated input 'pre-commit-hooks': 'github:cachix/git-hooks.nix/f451c19376071a90d8c58ab1a953c6e9840527fd?narHash=sha256-6FPUl7HVtvRHCCBQne7Ylp4p%2BdpP3P/OYuzjztZ4s70%3D' (2024-07-15) → 'github:cachix/git-hooks.nix/c7012d0c18567c889b948781bc74a501e92275d1?narHash=sha256-qbhjc/NEGaDbyy0ucycubq4N3//gDFFH3DOmp1D3u1Q%3D' (2024-08-09) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/27ec296d93cb4b2d03e8cbd019b1b4cde8c34280?narHash=sha256-cWD5pCs9AYb%2B512/yCx9D0Pl5KcmyuXHeJpsDw/D1vs%3D' (2024-08-04) → 'github:oxalica/rust-overlay/65e3dc0fe079fe8df087cd38f1fe6836a0373aad?narHash=sha256-4x/32xTCd%2BxCwFoI/kKSiCr5LQA2ZlyTRYXKEni5HR8%3D' (2024-08-12) • Updated input 'sops': 'github:Mic92/sops-nix/eb34eb588132d653e4c4925d862f1e5a227cc2ab?narHash=sha256-s6YhI8UHwQvO4cIFLwl1wZ1eS5Cuuw7ld2VzUchdFP0%3D' (2024-07-27) → 'github:Mic92/sops-nix/ab2d1ffeb5b85da2f6537beb2fe05da54276c261?narHash=sha256-Zhcf1TMDYb0BxDHKhEKCKFb1qi2vwlX0BgJPwk9Gd3E%3D' (2024-08-12) • Updated input 'treefmt-nix': 'github:numtide/treefmt-nix/768acdb06968e53aa1ee8de207fd955335c754b7?narHash=sha256-uru7JzOa33YlSRwf9sfXpJG%2BUAV%2BbnBEYMjrzKrQZFw%3D' (2024-07-30) → 'github:numtide/treefmt-nix/349de7bc435bdff37785c2466f054ed1766173be?narHash=sha256-S0Gvsenh0II7EAaoc9158ZB4vYyuycvMGKGxIbERNAM%3D' (2024-08-12) |
||
---|---|---|
.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 |