No description
Erwin Boskma
0dc138997a
Flake lock file updates: • Updated input 'atuin': 'github:atuinsh/atuin/55a2fe50f70a5dc7d4a9ee5e1d6ffc213c74291b?narHash=sha256-eHTd7rasshvqnNNjfmB1A0rBchZfiF3M8vSorPuy/u0%3D' (2024-06-10) → 'github:atuinsh/atuin/91bda421c5880281fcf15559ae9f2e441ea5bb49?narHash=sha256-wBjRiD4IcSFenv3xt/Y0gHZ/xJ/G/GyzOwoFJmWftfQ%3D' (2024-06-13) • Added input 'atuin/fenix': 'github:nix-community/fenix/ab655c627777ab5f9964652fe23bbb1dfbd687a8?narHash=sha256-ixopuTeTouxqTxfMuzs6IaRttbT8JqRW5C9Q/57WxQw%3D' (2024-06-08) • Added input 'atuin/fenix/nixpkgs': follows 'atuin/nixpkgs' • Added input 'atuin/fenix/rust-analyzer-src': 'github:rust-lang/rust-analyzer/48bbdd6a74f3176987d5c809894ac33957000d19?narHash=sha256-%2BlRAmz92CNUxorqWusgJbL9VE1eKCnQQojglRemzwkw%3D' (2024-06-05) • Updated input 'disko': 'github:nix-community/disko/c1cfbfad7cb45f0c177b35b59ba67d1b5fc7ca82?narHash=sha256-nlh/2uD5p2SAdkn6Zuey20yaR5FFWvhL3poapDGNE4Y%3D' (2024-06-10) → 'github:nix-community/disko/832a9f2c81ff3485404bd63952eadc17bf7ccef2?narHash=sha256-n3AWItJ4a94GT0cray/eUV7tt3mulQ52L%2BlWJN9d1E8%3D' (2024-06-13) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/d2404a42ad3ae9c5ee5c481b7c7a4c91627d161f?narHash=sha256-Ud33Yz5o2OJ9mjH5rhbrdR%2Bpolxq9QyOLLNbtQ63s4E%3D' (2024-06-11) → 'github:nix-community/emacs-overlay/7aa1c14402a09fc043110d6477aa5cc90e60e409?narHash=sha256-L0b6hyf9EWeWKhmUwTQvbLtBtLBblyYJ3llOTsLIr0s%3D' (2024-06-12) • Updated input 'emacs-overlay/nixpkgs-stable': 'github:NixOS/nixpkgs/4913a7c3d8b8d00cb9476a6bd730ff57777f740c?narHash=sha256-BRvSCsKtDUr83NEtbGfHLUOdDK0Cgbezj2PtcHnz%2BsQ%3D' (2024-06-08) → 'github:NixOS/nixpkgs/a3c8d64ba846725f040582b2d3b875466d2115bd?narHash=sha256-9XKFni8VMXo81RTq9XygCyaO3I/7UKpwIlM/yn0MdcM%3D' (2024-06-10) • Updated input 'home-manager': 'github:nix-community/home-manager/3d65009effd77cb0d6e7520b68b039836a7606cf?narHash=sha256-Sz8Wh9cAiD5FhL8UWvZxBfnvxETSCVZlqWSYWaCPyu0%3D' (2024-06-09) → 'github:nix-community/home-manager/8d5e27b4807d25308dfe369d5a923d87e7dbfda3?narHash=sha256-abBpj2VU8p6qlRzTU8o22q68MmOaZ4v8zZ4UlYl5YRU%3D' (2024-06-13) • Updated input 'microvm': 'github:astro/microvm.nix/e3a4dd5b381fb580804105594cc9c71dc45abdb5?narHash=sha256-juxjgmLnFbl%2B/hhIO2cVtIa6caCO4pLKlZWUMwAOznM%3D' (2024-06-03) → 'github:astro/microvm.nix/02a1fe9237a6539ff83d15443d328e4b0b49a117?narHash=sha256-TKfQP%2BTYWQ2LGhO4UySZyFscVOA2WZ%2B2Cqo8GwkIgXE%3D' (2024-06-12) • Updated input 'nix-ld-rs': 'github:nix-community/nix-ld-rs/3397956280fe8f555ffe11fe3a8115341a0ef460?narHash=sha256-F/ZA/yhBg1XJYudA6b4ORt5CnEwOu4gR/UbMVq1UYMY%3D' (2024-06-07) → 'github:nix-community/nix-ld-rs/753a1539846e6f75c88583777a3f6e40f4064302?narHash=sha256-P2PsdY2kLin3S0AW7dYWWI%2B1/a/%2Bonp3KaAz8O32EnY%3D' (2024-06-13) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/58b52b0dd191af70f538c707c66c682331cfdffc?narHash=sha256-lQJXEFHHVsFdFLx0bvoRbZH3IXUBsle6EWj9JroTJ/s%3D' (2024-06-10) → 'github:NixOS/nixos-hardware/d75003136c0fc94ee60e51806c2801ff572d06a6?narHash=sha256-h4MnTID6ciFxtTvtl%2BibXMKaG6iLMezCtUvKIfFG7r0%3D' (2024-06-13) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/c7b821ba2e1e635ba5a76d299af62821cbcb09f3?narHash=sha256-GTO3C88%2B5DX171F/gVS3Qga/hOs/eRMxPFpiHq2t%2BD8%3D' (2024-06-09) → 'github:nixos/nixpkgs/57d6973abba7ea108bac64ae7629e7431e0199b6?narHash=sha256-9YrUjdztqi4Gz8n3mBuqvCkMo4ojrA6nASwyIKWMpus%3D' (2024-06-12) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/bedc47af18fc41bb7d2edc2b212d59ca36253f59?narHash=sha256-p33h73iQ1HkLalCplV5MH0oP3HXRaH3zufnFqb5//ps%3D' (2024-06-11) → 'github:oxalica/rust-overlay/4cbc2810d1dfb5960791be92df6a5f842a79bdfb?narHash=sha256-ETm3A2nUVEUwVQ30fj3ePK4rqsSbSnY4uP4LYrFrDNE%3D' (2024-06-13) • Updated input 'sops': 'github:Mic92/sops-nix/d071c74a7de1e26d211b69b6fbae37ae2e31a87f?narHash=sha256-d5jLlAwVi4NzT9yc5UrPiOpDxTRhu8GGh0IIfeFcdrM%3D' (2024-06-10) → 'github:Mic92/sops-nix/c279dec105dd53df13a5e57525da97905cc0f0d6?narHash=sha256-psA%2B1Q5fPaK6yI3vzlLINNtb6EeXj111zQWnZYyJS9c%3D' (2024-06-11) • Updated input 'treefmt-nix': 'github:numtide/treefmt-nix/4fc1c45a5f50169f9f29f6a98a438fb910b834ed?narHash=sha256-npYqVg%2BWk4oxnWrnVG7416fpfrlRhp/lQ6wQ4DHI8YE%3D' (2024-06-08) → 'github:numtide/treefmt-nix/e75ba0a6bb562d2ce275db28f6a36a2e4fd81391?narHash=sha256-35hUMmFesmchb%2Bu7heKHLG5B6c8fBOcSYo0jj0CHLes%3D' (2024-06-13) |
||
---|---|---|
.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 |