No description
Erwin Boskma
43d6405a13
Flake lock file updates: • Updated input 'disko': 'github:nix-community/disko/b89a61129f3976d6440e2356ac5d3e30930f7012?narHash=sha256-K%2BHQbC2/hnGngIB019mX6f4XUrf7dB1eBfiUHW4Vx48%3D' (2024-08-27) → 'github:nix-community/disko/511388d837178979de66d14ca4a2ebd5f7991cd3?narHash=sha256-GSqAwa00%2BvRuHbq9O/yRv7Ov7W/pcMLis3HmeHv8a%2BQ%3D' (2024-08-29) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/6c5563a26bd1369d05f0d9da0d0348ca9f41a643?narHash=sha256-eoW3oPT6jkS%2BkgcL5HgPigflWu/l57MhGlztR6ThFGc%3D' (2024-08-28) → 'github:nix-community/emacs-overlay/49261a899cc9c11a465c243d9dcebc54d3b91fdb?narHash=sha256-ezhDP4Q14peqH9FFdUTS4THS6%2B7kcLZuAlYrVc8fODE%3D' (2024-08-30) • Updated input 'emacs-overlay/nixpkgs-stable': 'github:NixOS/nixpkgs/2527da1ef492c495d5391f3bcf9c1dd9f4514e32?narHash=sha256-XROVLf9ti4rrNCFLr%2BDmXRZtPjCQTW4cYy59owTEmxk%3D' (2024-08-24) → 'github:NixOS/nixpkgs/ae2fc9e0e42caaf3f068c1bfdc11c71734125e06?narHash=sha256-WXHSyOF4nBX0cvHN3DfmEMcLOVdKH6tnMk9FQ8wTNRc%3D' (2024-08-28) • Updated input 'eww': 'github:elkowar/eww/057297b4a339a4f72a6adf4ab587ebde2c331fcb?narHash=sha256-SMEo89FKzwXmQZAtiUwMmNNetwVsHI2FclkRhcpt170%3D' (2024-08-25) → 'github:elkowar/eww/52d3669881f962755033a2a8caa04a23456bda57?narHash=sha256-lyBsSAfjWxVoEHFHeKI0DXqiz0i3sOocodwXpQ1QhS0%3D' (2024-08-30) • Updated input 'flake-parts': 'github:hercules-ci/flake-parts/8471fe90ad337a8074e957b69ca4d0089218391d?narHash=sha256-XOQkdLafnb/p9ij77byFQjDf5m5QYl9b2REiVClC%2Bx4%3D' (2024-08-01) → 'github:hercules-ci/flake-parts/4f37dc19b47b50512008f38858734f8fa8a4e0cc?narHash=sha256-1WXS/BBKZUcWlfeZL7U8ujuCdlLktImbpmJgN9zsZXM%3D' (2024-08-30) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/9fc19be21f0807d6be092d70bf0b1de0c00ac895?narHash=sha256-OB/kEL3GAhUZmUfkbPfsPhKs0pRqJKs0EEBiLfyKZw8%3D' (2024-08-25) → 'github:NixOS/nixos-hardware/95c3dfe6ef2e96ddc1ccdd7194e3cda02ca9a8ef?narHash=sha256-UjpKo92iZ25M05kgSOw/Ti6VZwpgdlOa73zHj8OcaDk%3D' (2024-08-28) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/d0e1602ddde669d5beb01aec49d71a51937ed7be?narHash=sha256-pP3Azj5d6M5nmG68Fu4JqZmdGt4S4vqI5f8te%2BE/FTw%3D' (2024-08-24) → 'github:nixos/nixpkgs/71e91c409d1e654808b2621f28a327acfdad8dc2?narHash=sha256-GnR7/ibgIH1vhoy8cYdmXE6iyZqKqFxQSVkFgosBh6w%3D' (2024-08-28) • Updated input 'pre-commit-hooks': 'github:cachix/git-hooks.nix/1cd12de659fab215624c630c37d1c62aa2b7824e?narHash=sha256-SzBtZs5z%2BYGM50oyt67R78qLhxG/wG5/SlVRsCF5kRc%3D' (2024-08-27) → 'github:cachix/git-hooks.nix/4509ca64f1084e73bc7a721b20c669a8d4c5ebe6?narHash=sha256-Qyl9Q4QMTLZnnBb/8OuQ9LSkzWjBU1T5l5zIzTxkkhk%3D' (2024-08-28) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/6a1c4915dca7149e7258d8c7f3ac634d8c65f6c6?narHash=sha256-PvhVgQ1rm3gfhK7ts4emprhh/KMkFwXogmgsQ3srR7g%3D' (2024-08-28) → 'github:oxalica/rust-overlay/87b6cffc276795b46ef544d7ed8d7fed6ad9c8e4?narHash=sha256-BC6MUq0CTdmAu/cueVcdWTI%2BS95s0mJcn19SoEgd7gU%3D' (2024-08-30) • Updated input 'treefmt-nix': 'github:numtide/treefmt-nix/070f834771efa715f3e74cd8ab93ecc96fabc951?narHash=sha256-kKJtaiU5Ou%2Be/0Qs7SICXF22DLx4V/WhG1P6%2Bk4yeOE%3D' (2024-08-22) → 'github:numtide/treefmt-nix/3ffd842a5f50f435d3e603312eefa4790db46af5?narHash=sha256-F4djBvyNRAXGusJiNYInqR6zIMI3rvlp6WiKwsRISos%3D' (2024-08-28) |
||
---|---|---|
.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 | ||
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 |