No description
Erwin Boskma
b1260972c1
Flake lock file updates: • Updated input 'disko': 'github:nix-community/disko/611c9ea53250f7bb22286b3d26872280a0e608f9?narHash=sha256-sBDe%2BQmX/QohlnKeSEzrftcXyZL5FY09OMjZ59Rpyy4%3D' (2024-04-01) → 'github:nix-community/disko/0a17298c0d96190ef3be729d594ba202b9c53beb?narHash=sha256-kTcEtrQIRnexu5lAbLsmUcfR2CrmsACF1s3ZFw1NEVA%3D' (2024-04-05) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/5d0a10938c32f3cb95d1f1f18127948d239c6720?narHash=sha256-QzrcwGuuAP1octIcUw/d%2BYi5BEXYt1NOwNLpeUrqKTk%3D' (2024-04-03) → 'github:nix-community/emacs-overlay/3ef9acae671e1eab0a71ee982ef9097a9707b665?narHash=sha256-IHc8IfVjWnlET894jWyDVqwFnT95p7vBgiK5GRzJ5P4%3D' (2024-04-08) • Updated input 'emacs-overlay/nixpkgs-stable': 'github:NixOS/nixpkgs/219951b495fc2eac67b1456824cc1ec1fd2ee659?narHash=sha256-u1dfs0ASQIEr1icTVrsKwg2xToIpn7ZXxW3RHfHxshg%3D' (2024-03-28) → 'github:NixOS/nixpkgs/e38d7cb66ea4f7a0eb6681920615dfcc30fc2920?narHash=sha256-g0whLLwRvgO2FsyhY8fNk%2BTWenS3jg5UdlWL4uqgFeo%3D' (2024-04-06) • Updated input 'eww': 'github:elkowar/eww/149727ce1f7dd4f461ab1d61d560546f3d1f32a1?narHash=sha256-DkJBMFUG8GLCoZ5yEXRDb4iWQjH%2BV6hrB4QQuRrn2F8%3D' (2024-03-31) → 'github:elkowar/eww/ebe5f349d184e79edc33199d064d9ec5f1e4dd9b?narHash=sha256-WcAWIvIdGE0tcS7WJ6JlbRlUnKvpvut500NozUmJ6jY%3D' (2024-04-06) • Updated input 'home-manager': 'github:nix-community/home-manager/80546b220e95a575c66c213af1b09fe255299438?narHash=sha256-94I0sXz6fiVBvUAk2tg6t3UpM5rOImj4JTSTNFbg64s%3D' (2024-04-02) → 'github:nix-community/home-manager/a561ad6ab38578c812cc9af3b04f2cc60ebf48c9?narHash=sha256-WA3bbBWhd3o1wAgyHZNypjb/LG4oq%2BIWxFq8ey8yNPU%3D' (2024-04-07) • Updated input 'microvm': 'github:astro/microvm.nix/1b7c70b198554d0f0306ec153c94906623437aed?narHash=sha256-lLlXQBebD6wd2m7vjXg2zQ8tfJF2a70RL%2BzXdbaQqn0%3D' (2024-03-29) → 'github:astro/microvm.nix/1e746a8987eb893adc8dd317b84e73d72803b650?narHash=sha256-7W3D1Gk6mGlwtV07n6YB/7s3tThcBYknlvDPcoJJSe4%3D' (2024-04-06) • Updated input 'nix-ld-rs': 'github:nix-community/nix-ld-rs/76999cac5abefc7862b19daeef0ef91d4270fb17?narHash=sha256-j0yUDFX7cyoM5r9afQ45tfu8wqUk0dRicOb79%2BK81JI%3D' (2024-03-25) → 'github:nix-community/nix-ld-rs/2c1c306f4e2c24eae438248b538a6d62c99984f8?narHash=sha256-j%2Bq01YdTR42eqAI95%2B6DPyWDsBzYKxkRU4bJvXiLx24%3D' (2024-04-07) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/9a763a7acc4cfbb8603bb0231fec3eda864f81c0?narHash=sha256-luvqik%2Bi3HTvCbXQZgB6uggvEcxI9uae0nmrgtXJ17U%3D' (2024-03-25) → 'github:NixOS/nixos-hardware/1e3b3a35b7083f4152f5a516798cf9b21e686465?narHash=sha256-c9nT2ZODGqobISP41kUwCQ84Srwg7a/1TmPFQuol2/8%3D' (2024-04-08) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/d8fe5e6c92d0d190646fb9f1056741a229980089?narHash=sha256-iMUFArF0WCatKK6RzfUJknjem0H9m4KgorO/p3Dopkk%3D' (2024-03-29) → 'github:nixos/nixpkgs/ff0dbd94265ac470dda06a657d5fe49de93b4599?narHash=sha256-aSpiNepFOMk9932HOax0XwNxbA38GOUVOiXfUVPOrck%3D' (2024-04-06) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/74deb67494783168f5b6d2071d73177e6bccab65?narHash=sha256-8LU2IM4ctHz043hlzoFUwQS1QIdhiMGEH/oIfPCxoWU%3D' (2024-04-03) → 'github:oxalica/rust-overlay/ece8bdb3c3b58def25f204b9a1261dee55d7c9c0?narHash=sha256-UZebDBECRSrJqw4K%2BLxZ6qFdYnScu6q1XCwqtsu1cas%3D' (2024-04-08) • Updated input 'sops': 'github:Mic92/sops-nix/99b1e37f9fc0960d064a7862eb7adfb92e64fa10?narHash=sha256-HxegAPnQJSC4cbEbF4Iq3YTlFHZKLiNTk8147EbLdGg%3D' (2024-03-31) → 'github:Mic92/sops-nix/39191e8e6265b106c9a2ba0cfd3a4dafe98a31c6?narHash=sha256-DMgBS%2BjNHDg8z3g9GkwqL8xTKXCRQ/0FGsAyrniVonc%3D' (2024-04-07) • Updated input 'sops/nixpkgs-stable': 'github:NixOS/nixpkgs/2b4e3ca0091049c6fbb4908c66b05b77eaef9f0c?narHash=sha256-tNeB6emxj74Y6ctwmsjtMlzUMn458sBmwnD35U5KIM4%3D' (2024-03-30) → 'github:NixOS/nixpkgs/e38d7cb66ea4f7a0eb6681920615dfcc30fc2920?narHash=sha256-g0whLLwRvgO2FsyhY8fNk%2BTWenS3jg5UdlWL4uqgFeo%3D' (2024-04-06) |
||
---|---|---|
.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 |