No description
Erwin Boskma
8154ca934a
Flake lock file updates: • Updated input 'atuin': 'github:atuinsh/atuin/98350f52df1d783886313682a5eada8a729cbaed?narHash=sha256-DA7jYt28ProoSTiSMXgNYCR/Lz1I%2BEtWVEslfpHVqKs%3D' (2024-04-19) → 'github:atuinsh/atuin/8b8844887b94a4b750fbfe128317ef4c2a042485?narHash=sha256-4v87Af84q0anMW5OieA/Sbzqo4nR%2Bj5BNPGbGKo0P40%3D' (2024-04-22) • Updated input 'disko': 'github:nix-community/disko/1efd500e9805a9efbce401ed5999006d397b9f11?narHash=sha256-kwZvhmx%2BhSZvjzemKxsAqzEqWmXZS47VVwQhNrINORQ%3D' (2024-04-18) → 'github:nix-community/disko/b8785a1c37f6176b6bc3d2939df329ab3a8f226c?narHash=sha256-9hFaSpgx%2BrZgGVLsjWdT%2BQUGyZplUyGdK45IoWEx1GM%3D' (2024-04-22) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/c5caaf3b6d4f711e5a408ada4dc4c36537a18372?narHash=sha256-5I/Nn0ibs16JVU5xLEjPx3AXBQxs86wxrJOWH8iVHTg%3D' (2024-04-19) → 'github:nix-community/emacs-overlay/9b960970b5d0e7594aae8732d92561b988e3e1f0?narHash=sha256-YXuUD/1k061TAMV%2BDrfwvofoLriGBxOY1I2Va6XrXQw%3D' (2024-04-23) • Updated input 'emacs-overlay/nixpkgs-stable': 'github:NixOS/nixpkgs/e402c3eb6d88384ca6c52ef1c53e61bdc9b84ddd?narHash=sha256-jpHkAt0sG2/J7ueKnG7VvLLkBYUMQbXQ2L8OBpVG53s%3D' (2024-04-17) → 'github:NixOS/nixpkgs/a5e4bbcb4780c63c79c87d29ea409abf097de3f7?narHash=sha256-9ZR/Rbx5/Z/JZf5ehVNMoz/s5xjpP0a22tL6qNvLt5E%3D' (2024-04-21) • Updated input 'eww': 'github:elkowar/eww/1e37f53e99016aa2cd725d7050788bb5d4fcc76a?narHash=sha256-dm4bufwlVDUE4ndsR6cAPur75hvlVRzIxbMKJCizutg%3D' (2024-04-14) → 'github:elkowar/eww/acf57a8396d19cd160786223b04b950509e46a4b?narHash=sha256-LHwfc%2BMexlqewfjm2onPz74ZMRf/n%2Be7aAuYz08qPUE%3D' (2024-04-21) • Updated input 'home-manager': 'github:nix-community/home-manager/938357cb234e85da37109df2cdd9cc59ab9c1cc0?narHash=sha256-zju60y4pyYQoRmqhbgkw%2BjwmKZReVsCNvb8mZxID2Do%3D' (2024-04-19) → 'github:nix-community/home-manager/67de98ae6eed5ad6f91b1142356d71a87ba97f21?narHash=sha256-aw3xbVPJauLk/bbrlakIYxKpeuMWzA2feGrkIpIuXd8%3D' (2024-04-22) • Updated input 'nix-ld-rs': 'github:nix-community/nix-ld-rs/6b76b4aa158819d6bce637485c4cdd710517c6ce?narHash=sha256-345jReT2AFR6VK0KYAEmIjsMvlCCFsoT0Xaku6Nw1fQ%3D' (2024-04-13) → 'github:nix-community/nix-ld-rs/c4f56b515ed0bf8c2cd4d6a13224067017a6dc39?narHash=sha256-8LBvfDbnuPMrF43bmejUZwD9TuP081iuG1nLl8m0jM4%3D' (2024-04-20) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/66adc1e47f8784803f2deb6cacd5e07264ec2d5c?narHash=sha256-hOkzkhLT59wR8VaMbh1ESjtZLbGi%2BXNaBN6h49SPqEc%3D' (2024-04-16) → 'github:nixos/nixpkgs/6143fc5eeb9c4f00163267708e26191d1e918932?narHash=sha256-%2Bz/XjO3QJs5rLE5UOf015gdVauVRQd2vZtsFkaXBq2Y%3D' (2024-04-21) • Updated input 'pre-commit-hooks': 'github:cachix/git-hooks.nix/40e6053ecb65fcbf12863338a6dcefb3f55f1bf8?narHash=sha256-nMirxrGteNAl9sWiOhoN5tIHyjBbVi5e2tgZUgZlK3Y%3D' (2024-04-12) → 'github:cachix/git-hooks.nix/2ac4dcbf55ed43f3be0bae15e181f08a57af24a4?narHash=sha256-Wu9cdYTnGQQwtT20QQMg7jzkANKQjwBD9iccfGKkfls%3D' (2024-04-22) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/1e9264d1214d3db00c795b41f75d55b5e153758e?narHash=sha256-Zv%2BZQq3X%2BEH6oogkXaJ8dGN8t1v26kPZgC5bki04GnM%3D' (2024-04-19) → 'github:oxalica/rust-overlay/28a9436d356181603fb0d333565431c3d952f299?narHash=sha256-lCdDz6/YgyXdFRHall3P%2BdCETRpfz3Pi9eREnA9RX6k%3D' (2024-04-23) • Updated input 'sops': 'github:Mic92/sops-nix/a929a011a09db735abc45a8a45d1ff7fdee62755?narHash=sha256-vfKxhYVMzG2tg48/1rewBoSLCrKIjQsG1j7Nm/Y2gf4%3D' (2024-04-19) → 'github:Mic92/sops-nix/4371a1301c4d36cc791069d90ae522613a3a335e?narHash=sha256-xyP8h9jLQ0AmyPy40sIwL7/D03oVpXG9YHoYJ4ecYWA%3D' (2024-04-22) • Updated input 'sops/nixpkgs-stable': 'github:NixOS/nixpkgs/8494ae076b7878d61a7d2d25e89a847fe8f8364c?narHash=sha256-%2B/p5edwlkqKZc6GDAQl%2B92Hoe1f3NNbUF9uj%2BX9H3pU%3D' (2024-04-18) → 'github:NixOS/nixpkgs/74574c38577914733b4f7a775dd77d24245081dd?narHash=sha256-q7APLfB6FmmSMI1Su5ihW9IwntBsk2hWNXh8XtSdSIk%3D' (2024-04-20) |
||
---|---|---|
.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 |