No description
Erwin Boskma
17206773dd
Flake lock file updates: • Updated input 'disko': 'github:nix-community/disko/84a5b93637cc16cbfcc61b6e1684d626df61eb21?narHash=sha256-2dt1nOe9zf9pDkf5Kn7FUFyPRo581s0n90jxYXJ94l0%3D' (2024-12-29) → 'github:nix-community/disko/49f8aa791f81ff2402039b3efe0c35b9386c4bcf?narHash=sha256-TdU0a/x8048rbbJmkKWzSY1CtsbbGKNkIJcMdr8Zf4Q%3D' (2025-01-06) • Updated input 'eww': 'github:elkowar/eww/6ee166707fb644d501a6d9151a491d07916ca4ed?narHash=sha256-UyCF06z2evYpp92ErdqVw4meEGlmc/FGZubkr2Gqqxo%3D' (2024-12-27) → 'github:elkowar/eww/a7bd80ac1ec77f0c473c7ec70240f8329bffa07b?narHash=sha256-FBdncoPa6Fam0Z38x7Xa7CBY%2B0UcbJyvfned3QMpoPM%3D' (2025-01-04) • Updated input 'flake-parts': 'github:hercules-ci/flake-parts/f2f7418ce0ab4a5309a4596161d154cfc877af66?narHash=sha256-soePLBazJk0qQdDVhdbM98vYdssfs3WFedcq%2BraipRI%3D' (2025-01-01) → 'github:hercules-ci/flake-parts/b905f6fc23a9051a6e1b741e1438dbfc0634c6de?narHash=sha256-%2Bhu54pAoLDEZT9pjHlqL9DNzWz0NbUn8NEAHP7PQPzU%3D' (2025-01-06) • Updated input 'ghostty': 'github:ghostty-org/ghostty/1baf8928a0bd6ccc2f49e1e9478baab71d49a018?narHash=sha256-igXLrO0AtN7%2Bk7VaR5zaHaPhDcS3go5NZr4liVqW9g4%3D' (2025-01-03) → 'github:ghostty-org/ghostty/0065aae6b6b97f47afbd5a9cb71852cebbe2ea69?narHash=sha256-RROzoSujiA6efbs9damV9ZzmOtYYpwnoVdqjeVuhWQU%3D' (2025-01-07) • Updated input 'home-manager': 'github:nix-community/home-manager/11ab08541e61ac3bbf2ab27229f68622629401df?narHash=sha256-WpFjt6%2B8UD81EP386c269ZTqpEmlGJgcPw%2BOB4b7EBs%3D' (2025-01-04) → 'github:nix-community/home-manager/20665c6efa83d71020c8730f26706258ba5c6b2a?narHash=sha256-CoBPRgkUex9Iz6qGSzi/BFVUQjndB0PmME2B6eEyeCs%3D' (2025-01-06) • Updated input 'naersk': 'github:nix-community/naersk/378614f37a6bee5a3f2ef4f825a73d948d3ae921?narHash=sha256-a4WZp1xQkrnA4BbnKrzJNr%2BdYoQr5Xneh2syJoddFyE%3D' (2024-12-04) → 'github:nix-community/naersk/38a563a865a0218d9f30f14333327aafc40eea75?narHash=sha256-VaZlkrcfZOl85fz3o%2BGnNv%2BFkMG4RtnZA1eVa6v2TJs%3D' (2025-01-07) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/7c674c6734f61157e321db595dbfcd8523e04e19?narHash=sha256-e5IOgjQf0SZcFCEV/gMGrsI0gCJyqOKShBQU0iiM3Kg%3D' (2024-12-28) → 'github:NixOS/nixos-hardware/ca30f8501ab452ca687a7fdcb2d43e1fb1732317?narHash=sha256-uTdscVaKjnRnBIMuu/oWwdiGhYd/JOQ4YZGHeCoroqs%3D' (2025-01-07) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/6df24922a1400241dae323af55f30e4318a6ca65?narHash=sha256-dklw3AXr3OGO4/XT1Tu3Xz9n/we8GctZZ75ZWVqAVhk%3D' (2025-01-02) → 'github:nixos/nixpkgs/8f3e1f807051e32d8c95cd12b9b421623850a34d?narHash=sha256-/qlNWm/IEVVH7GfgAIyP6EsVZI6zjAx1cV5zNyrs%2BrI%3D' (2025-01-04) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/d40e15e076bcedc5bf5498a0f8ff5f18de4bf8c3?narHash=sha256-vbkoQTInunSjwx9DKebbCNBq9bim8CRj1VbS4eiABfg%3D' (2025-01-04) → 'github:oxalica/rust-overlay/bbe7e4e7a70d235db4bbdcabbf8a2f6671881dd7?narHash=sha256-EMueGrzBpryM8mgOyoyJ7DdNRRk09ug1ggcLLp0WrCQ%3D' (2025-01-07) • Updated input 'sops': 'github:Mic92/sops-nix/24d89184adf76d7ccc99e659dc5f3838efb5ee32?narHash=sha256-CIRlqX9tBK2awJkmVu2cKuap/0QziDXStQZ/u/%2Be8Z4%3D' (2025-01-02) → 'github:Mic92/sops-nix/c9c88f08e3ee495e888b8d7c8624a0b2519cb773?narHash=sha256-eSjkBwBdQk%2BTZWFlLbclF2rAh4JxbGg8az4w/Lfe7f4%3D' (2025-01-06) • Updated input 'treefmt-nix': 'github:numtide/treefmt-nix/29806abab803e498df96d82dd6f34b32eb8dd2c8?narHash=sha256-1hKMRIT%2BQZNWX46e4gIovoQ7H8QRb7803ZH4qSKI45o%3D' (2025-01-03) → 'github:numtide/treefmt-nix/13c913f5deb3a5c08bb810efd89dc8cb24dd968b?narHash=sha256-p2r8xhQZ3TYIEKBoiEhllKWQqWNJNoT9v64Vmg4q8Zw%3D' (2025-01-06) |
||
---|---|---|
.forgejo/workflows | ||
home-manager/modules | ||
incus-conf | ||
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 |