No description
Erwin Boskma
d19f8d57eb
Flake lock file updates: • Updated input 'atuin': 'github:atuinsh/atuin/cb19925011d889c513e1bbedc446e399597e38a0?narHash=sha256-t908c6ksrKweZU6Hag4dlFvk238oUgBxccnK9T25UMk%3D' (2024-04-17) → 'github:atuinsh/atuin/00dfc034ed8c816de97824b510f3849420893555?narHash=sha256-gEIloC2%2BQgrCoAm5wOY%2B4Hel3/6rHREbWSvhBPtwpto%3D' (2024-04-18) • Updated input 'disko': 'github:nix-community/disko/d51114dc1bf3cfaba2b6644aabd16ff0c9909af5?narHash=sha256-5yyHYBWFZUKXkJvOccPBeX83hH2iED54NLnWs2eWgS0%3D' (2024-04-15) → 'github:nix-community/disko/1efd500e9805a9efbce401ed5999006d397b9f11?narHash=sha256-kwZvhmx%2BhSZvjzemKxsAqzEqWmXZS47VVwQhNrINORQ%3D' (2024-04-18) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/208d00a7f96d920a153ab90f257357e1aa1d6d77?narHash=sha256-%2BZtrHsUp8vEbQ9FFTj%2B4ku7byW/ly1JVNqgdiNVBMis%3D' (2024-04-17) → 'github:nix-community/emacs-overlay/65297336c6db39d94adb8156d811d800b253fded?narHash=sha256-6fXEcCAzhWrouGPJeAmV7oN/Ur0XJtUgQKfA%2BTofoXU%3D' (2024-04-19) • Updated input 'emacs-overlay/nixpkgs-stable': 'github:NixOS/nixpkgs/53a2c32bc66f5ae41a28d7a9a49d321172af621e?narHash=sha256-m7%2BIWM6mkWOg22EC5kRUFCycXsXLSU7hWmHdmBfmC3s%3D' (2024-04-15) → 'github:NixOS/nixpkgs/e402c3eb6d88384ca6c52ef1c53e61bdc9b84ddd?narHash=sha256-jpHkAt0sG2/J7ueKnG7VvLLkBYUMQbXQ2L8OBpVG53s%3D' (2024-04-17) • Updated input 'home-manager': 'github:nix-community/home-manager/fa8c16e2452bf092ac76f09ee1fb1e9f7d0796e7?narHash=sha256-LmaabaQZdx52MPGKPRt9Opoc9Gd9RbwvCdysUUYQoXI%3D' (2024-04-16) → 'github:nix-community/home-manager/ff1c3646541316258b1ca64e9b25d4c9cca8e587?narHash=sha256-e8%2BZgayVccw6h8ay15jM9hXh%2BsjZDc1XdBGLn3pdYdc%3D' (2024-04-18) • Updated input 'microvm': 'github:astro/microvm.nix/a1341f7195e34d9bb88c12314cc3b0c4429f9b0a?narHash=sha256-c/yG/AsPmMBMe4RAxn4KOkOaR4rsW5s3AjtfriOQKD8%3D' (2024-04-15) → 'github:astro/microvm.nix/6a4f822a817180be03fcdceb654088d002c9ec5e?narHash=sha256-IPdnR0Rs7XoffnCn6rExYDlft/GHD/UFgQ11lTVEK48%3D' (2024-04-18) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/f2d364de6589f7a029624983593eafc3c4dac726?narHash=sha256-OrBm62B%2BX9jylr6cPgKc%2B5OSgF2PRW9IY0ARCOtURMY%3D' (2024-04-17) → 'github:NixOS/nixos-hardware/6f976e53752e5b9ab08f9a3b1b0b9c67815c9754?narHash=sha256-3GGeFsEO8ivD%2BTcDEqe4s/d0VLvMYGNDGtx0ZnBxkUs%3D' (2024-04-18) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/5672bc9dbf9d88246ddab5ac454e82318d094bb8?narHash=sha256-NLznXB5AOnniUtZsyy/aPWOk8ussTuePp2acb9U%2BISA%3D' (2024-04-16) → 'github:nixos/nixpkgs/66adc1e47f8784803f2deb6cacd5e07264ec2d5c?narHash=sha256-hOkzkhLT59wR8VaMbh1ESjtZLbGi%2BXNaBN6h49SPqEc%3D' (2024-04-16) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/7ce479797ae35ab40fbdf04fe5a8f8bfc92a2634?narHash=sha256-HY8uzaDMzn6umca2kE4ce5BEujaw%2BgvEiC5xTwAHSC4%3D' (2024-04-17) → 'github:oxalica/rust-overlay/1e9264d1214d3db00c795b41f75d55b5e153758e?narHash=sha256-Zv%2BZQq3X%2BEH6oogkXaJ8dGN8t1v26kPZgC5bki04GnM%3D' (2024-04-19) • Updated input 'sops': 'github:Mic92/sops-nix/cc535d07cbcdd562bcca418e475c7b1959cefa4b?narHash=sha256-APoDs2GtzVrsE%2BZ9w72qpHzEtEDfuinWcNTN7zhwLxg%3D' (2024-04-15) → 'github:Mic92/sops-nix/b94c6edbb8355756c53efc8ca3874c63622f287a?narHash=sha256-31MpStyXedDL1fvuOvn6iz3JURSVShDtDVMyP1PTjtc%3D' (2024-04-18) • Updated input 'sops/nixpkgs-stable': 'github:NixOS/nixpkgs/c27f3b6d8e29346af16eecc0e9d54b1071eae27e?narHash=sha256-RifMwYuKu5v6x6O65msKDTqKkQ9crGwOB7yr20qMEuE%3D' (2024-04-13) → 'github:NixOS/nixpkgs/8494ae076b7878d61a7d2d25e89a847fe8f8364c?narHash=sha256-%2B/p5edwlkqKZc6GDAQl%2B92Hoe1f3NNbUF9uj%2BX9H3pU%3D' (2024-04-18) |
||
---|---|---|
.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 | ||
krops.nix | ||
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 |