No description
Erwin Boskma
bee0125a44
Flake lock file updates: • Updated input 'attic': 'github:zhaofengli/attic/6d9aeaef0a067d664cb11bb7704f7ec373d47fb2?narHash=sha256-cltFh4su2vcFidxKp7LuEgX3ZGLfPy0DCdrQZ/QTe68%3D' (2024-08-21) → 'github:zhaofengli/attic/c2354f658582f7c870316dfce612cf7454720abe?narHash=sha256-1W9Cw4xw8jb5zAF4YXN1PoAmClR9zS0k%2BYyt6E8gfmE%3D' (2024-08-24) • Updated input 'disko': 'github:nix-community/disko/4b866c9942d0f771ae934f04ca9859936f9bfbcf?narHash=sha256-dtL4vielmrko/0XpZ3Wfd7czVvv3NC5oiwh8PKJN9hw%3D' (2024-08-22) → 'github:nix-community/disko/b09eb605e376c9e95c87c0ef3fcb8008e11c8368?narHash=sha256-L2h46/z8WExNvtCEdZ8YuMu5TwfAGsKXXgM7pyIShvs%3D' (2024-08-26) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/f97fc32d98cd25d40830543e95dc7cd66ef9ac63?narHash=sha256-ZoV3H/kFChy3wwPLHz%2B87cc6vve0sGufuyni27Z4lBU%3D' (2024-08-22) → 'github:nix-community/emacs-overlay/e3e088ef4b4b187a54445f5767047a8257893093?narHash=sha256-L/g0Lcmr8gcmR3zvWf7ZyOPHKW0R6DMUSuKlU8CZw/w%3D' (2024-08-26) • Updated input 'emacs-overlay/nixpkgs-stable': 'github:NixOS/nixpkgs/f1bad50880bae73ff2d82fafc22010b4fc097a9c?narHash=sha256-D5HwjQw/02fuXbR4LCTo64koglP2j99hkDR79/3yLOE%3D' (2024-08-19) → 'github:NixOS/nixpkgs/797f7dc49e0bc7fab4b57c021cdf68f595e47841?narHash=sha256-Qb9MhKBUTCfWg/wqqaxt89Xfi6qTD3XpTzQ9eXi3JmE%3D' (2024-08-22) • Updated input 'eww': 'github:elkowar/eww/696135a6bba3d083d326eda1f81471c636987afb?narHash=sha256-w02TAMaUM0jpIWhZ8mMC7QmYn5ZaPoW7m%2B3voijJQ30%3D' (2024-08-21) → 'github:elkowar/eww/057297b4a339a4f72a6adf4ab587ebde2c331fcb?narHash=sha256-SMEo89FKzwXmQZAtiUwMmNNetwVsHI2FclkRhcpt170%3D' (2024-08-25) • Updated input 'home-manager': 'github:nix-community/home-manager/2598861031b78aadb4da7269df7ca9ddfc3e1671?narHash=sha256-Fy%2BKEvDQ%2BHc8lJAV3t6leXhZJ2ncU5/esxkgt3b8DEY%3D' (2024-08-18) → 'github:nix-community/home-manager/c2cd2a52e02f1dfa1c88f95abeb89298d46023be?narHash=sha256-UNky3lJNGQtUEXT2OY8gMxejakSWPTfWKvpFkpFlAfM%3D' (2024-08-23) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/b09c46430ffcf18d575acf5c339b38ac4e1db5d2?narHash=sha256-WJBAEFXAtA41RMpK8mvw0cQ62CJkNMBtzcEeNIJV7b0%3D' (2024-08-19) → 'github:NixOS/nixos-hardware/9fc19be21f0807d6be092d70bf0b1de0c00ac895?narHash=sha256-OB/kEL3GAhUZmUfkbPfsPhKs0pRqJKs0EEBiLfyKZw8%3D' (2024-08-25) • Updated input 'pre-commit-hooks': 'github:cachix/git-hooks.nix/6cedaa7c1b4f82a266e5d30f212273e60d62cb0d?narHash=sha256-TuSaYdhOxeaaE9885mFO1lZHHax33GD5A9dczJrGUjw%3D' (2024-08-21) → 'github:cachix/git-hooks.nix/c8a54057aae480c56e28ef3e14e4960628ac495b?narHash=sha256-9etXEOUtzeMgqg1u0wp%2BEdwG7RpmrAZ2yX516bMj2aE%3D' (2024-08-23) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/6dc6d34a3a217457d7044dcce32b6d537480a6a1?narHash=sha256-x/XhOAszT/ejditCHUtGOjQcVg2AQhrC/QVew3i7kTI%3D' (2024-08-22) → 'github:oxalica/rust-overlay/19b70f147b9c67a759e35824b241f1ed92e46694?narHash=sha256-ap2jIQi/FuUHR6HCht6ASWhoz8EiB99XmI8Esot38VE%3D' (2024-08-26) • Updated input 'treefmt-nix': 'github:numtide/treefmt-nix/1d07739554fdc4f8481068f1b11d6ab4c1a4167a?narHash=sha256-rhis3qNuGmJmYC/okT7Dkc4M8CeUuRCSvW6kC2f3hBc%3D' (2024-08-16) → 'github:numtide/treefmt-nix/070f834771efa715f3e74cd8ab93ecc96fabc951?narHash=sha256-kKJtaiU5Ou%2Be/0Qs7SICXF22DLx4V/WhG1P6%2Bk4yeOE%3D' (2024-08-22) |
||
---|---|---|
.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 |