No description
Erwin Boskma
5390d359cc
Flake lock file updates: • Updated input 'atuin': 'github:atuinsh/atuin/8956142cc5b4f5636ae1943f81bf2c22864b8dba?narHash=sha256-s7dGKRFHjizKv%2BmqaAd/7BmwPphNM6XMGqtC40sqzWM%3D' (2024-06-24) → 'github:atuinsh/atuin/9e36f63c6edbd7d675202e873716de9748928b59?narHash=sha256-NBPZdXaXPPbD/w2EM2cC3dK1ZFSAemV5sIQHGLeoAEY%3D' (2024-06-24) • Updated input 'disko': 'github:nix-community/disko/50d4d13fbac5db81f8c1e79d95ad87a2970b9201?narHash=sha256-ByDySG4oQN6KzLCuJjTax6%2BcMVtOixuYuu2GnnoPpoI%3D' (2024-06-24) → 'github:nix-community/disko/dd4d1663ccf7fbdb32361b9afe9e71206584cd4c?narHash=sha256-VZAfBk2Lo8hQy/NQ4XVSpTICT0ownXBUi1QvGfdlxaM%3D' (2024-06-24) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/e3e9ef4c9904fddbd8c00f3288e6a3be26a6bf0b?narHash=sha256-4jggHHDsLt%2Bi4/6lMNlZkHd3bzgV50feNpZGe4X3eMQ%3D' (2024-06-24) → 'github:nix-community/emacs-overlay/b6082d10feac69203dac419818daa47c5fe36464?narHash=sha256-BiDNkoh9a2dx2OTUFpzWhkGq5WfatG7sUX4Kw0Fdo7g%3D' (2024-06-24) • Updated input 'emacs-overlay/nixpkgs-stable': 'github:NixOS/nixpkgs/03d771e513ce90147b65fe922d87d3a0356fc125?narHash=sha256-0Y8IrGhRmBmT7HHXlxxepg2t8j1X90%2B%2BqRN3lukGaIk%3D' (2024-06-19) → 'github:NixOS/nixpkgs/906320ae02f769d13a646eb3605a9821df0d6ea2?narHash=sha256-aEMsNUtqSPwn6l%2BLIZ/rX%2B%2BnCgun3E9M3uSZs6Rwb7w%3D' (2024-06-23) • Updated input 'pre-commit-hooks': 'github:cachix/git-hooks.nix/8cd35b9496d21a6c55164d8547d9d5280162b07a?narHash=sha256-RTyqP4fBX2MdhNuMP%2BfnR3lIwbdtXhyj7w7fwtvgspc%3D' (2024-06-20) → 'github:cachix/git-hooks.nix/0ff4381bbb8f7a52ca4a851660fc7a437a4c6e07?narHash=sha256-F1h%2BXIsGKT9TkGO3omxDLEb/9jOOsI6NnzsXFsZhry4%3D' (2024-06-24) • Updated input 'pre-commit-hooks/nixpkgs-stable': 'github:NixOS/nixpkgs/842253bf992c3a7157b67600c2857193f126563a?narHash=sha256-JHuXsrC9pr4kA4n7LuuPfWFJUVlDBVJ1TXDVpHEuUgM%3D' (2024-06-15) → 'github:NixOS/nixpkgs/03d771e513ce90147b65fe922d87d3a0356fc125?narHash=sha256-0Y8IrGhRmBmT7HHXlxxepg2t8j1X90%2B%2BqRN3lukGaIk%3D' (2024-06-19) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/577ee84c69ba89894ac622d71a678a14d746b2f7?narHash=sha256-bFXHMjpYlEERexzXa1gLGJO/1l8dxaAtSNE56YALuTg%3D' (2024-06-24) → 'github:oxalica/rust-overlay/b6032d3a404d8a52ecfc8571ff0c26dfbe221d07?narHash=sha256-LIBMfhM9pMOlEvBI757GOK5l0R58SRi6YpwfYMbf4yc%3D' (2024-06-25) • Updated input 'sops': 'github:Mic92/sops-nix/5e2e9421e9ed2b918be0a441c4535cfa45e04811?narHash=sha256-kr2QzRrplzlCP87ddayCZQS%2BdhGW98kw2zy7%2BjUXtF4%3D' (2024-06-23) → 'github:Mic92/sops-nix/c2ea1186c0cbfa4d06d406ae50f3e4b085ddc9b3?narHash=sha256-pcUk2Fg5vPXLUEnFI97qaB8hto/IToRfqskFqsjvjb8%3D' (2024-06-24) • Updated input 'treefmt-nix': 'github:numtide/treefmt-nix/68eb1dc333ce82d0ab0c0357363ea17c31ea1f81?narHash=sha256-ULzoKzEaBOiLRtjeY3YoGFJMwWSKRYOic6VNw2UyTls%3D' (2024-06-16) → 'github:numtide/treefmt-nix/065a23edceff48f948816b795ea8cc6c0dee7cdf?narHash=sha256-9T9mSY35EZSM1KAwb7K9zwQ78qTlLjosZgtUGnw4rn4%3D' (2024-06-24) |
||
---|---|---|
.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 |