No description
Erwin Boskma
cd4f127e27
Flake lock file updates: • Updated input 'attic': 'github:zhaofengli/attic/aec90814a4ecbc40171d57eeef97c5cab4aaa7b4?narHash=sha256-nVWCR86XDjx9Tq6RHsNvhD03nNzIeKKc7UTPnXLyrDY%3D' (2024-09-08) → 'github:zhaofengli/attic/416687e59c4f0b32742423458cab2c5ff8fe748a?narHash=sha256-dAUWlC8uMJX9iovycfvJcg5nm3PzqJIRAOwN4z322zM%3D' (2024-09-11) • Updated input 'attic/nixpkgs': 'github:NixOS/nixpkgs/b96f849e725333eb2b1c7f1cb84ff102062468ba?narHash=sha256-LB3jqSGW5u1ZcUcX6vO/qBOq5oXHlmOCxsTXGMEitp4%3D' (2024-08-30) → 'github:NixOS/nixpkgs/159be5db480d1df880a0135ca0bfed84c2f88353?narHash=sha256-LnNKCCxnwgF%2B575y0pxUdlGZBO/ru1CtGHIqQVfvjlA%3D' (2024-09-11) • Updated input 'disko': 'github:nix-community/disko/e55f9a8678adc02024a4877c2a403e3f6daf24fe?narHash=sha256-tqoAO8oT6zEUDXte98cvA1saU9%2B1dLJQe3pMKLXv8ps%3D' (2024-09-03) → 'github:nix-community/disko/59fb64b36b0a1961f6d4c6d5b8db45cc35d040f2?narHash=sha256-ShZ3YeEutJk%2BQoY/VrpujzZgocmyXYqhOC8I8pudO9U%3D' (2024-09-12) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/bf4ae226fc2ca4d264fe4688004ffc1d00d2e7d8?narHash=sha256-pZbXVN8cqvlnI1qPMtiVvd/nAxrRWX3SGXMV2/iBRR8%3D' (2024-09-10) → 'github:nix-community/emacs-overlay/f91cf70ac3a0698db119789cf00e8882bd69aec0?narHash=sha256-Lvz%2Bt8KlBAolMAr3gtaUb/kgYjFY6EMFiQksPwxcAlQ%3D' (2024-09-13) • Updated input 'emacs-overlay/nixpkgs-stable': 'github:NixOS/nixpkgs/f4c846aee8e1e29062aa8514d5e0ab270f4ec2f9?narHash=sha256-L64N1rpLlXdc94H%2BF6scnrbuEu%2ButC03cDDVvvJGOME%3D' (2024-09-08) → 'github:NixOS/nixpkgs/44a71ff39c182edaf25a7ace5c9454e7cba2c658?narHash=sha256-RVhD9hnlTT2nJzPHlAqrWqCkA7T6CYrP41IoVRkciZM%3D' (2024-09-10) • Updated input 'flake-parts': 'github:hercules-ci/flake-parts/567b938d64d4b4112ee253b9274472dc3a346eb6?narHash=sha256-%2Bebgonl3NbiKD2UD0x4BszCZQ6sTfL4xioaM49o5B3Y%3D' (2024-09-01) → 'github:hercules-ci/flake-parts/bcef6817a8b2aa20a5a6dbb19b43e63c5bf8619a?narHash=sha256-HO4zgY0ekfwO5bX0QH/3kJ/h4KvUDFZg8YpkNwIbg1U%3D' (2024-09-12) • Updated input 'home-manager': 'github:nix-community/home-manager/e5fa72bad0c6f533e8d558182529ee2acc9454fe?narHash=sha256-4QOPemDQ9VRLQaAdWuvdDBhh%2BlEUOAnSMHhdr4nS1mk%3D' (2024-09-10) → 'github:nix-community/home-manager/c82fc8cf3f75e667ad9dd3e5df721119b63723b3?narHash=sha256-ski2Is3VGChR1LR5U8qw8mqNfl5FDPCCAOsz2RrvJCE%3D' (2024-09-13) • Updated input 'microvm': 'github:astro/microvm.nix/caac7808d1e31f8a0fa408338cd3736947cb226d?narHash=sha256-kUMgeF3hHJM8aBpdazNgtCeeOTrWext6lHfrYmC6otU%3D' (2024-09-06) → 'github:astro/microvm.nix/af604aa08ac9a4ae585beaf1a3482897a27ab67e?narHash=sha256-tzGcRRhhK5lAuBtlHl3D/TR2V3egPLV4BBcN2%2B4CyY0%3D' (2024-09-12) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/574d1eac1c200690e27b8eb4e24887f8df7ac27c?narHash=sha256-v3rIhsJBOMLR8e/RNWxr828tB%2BWywYIoajrZKFM%2B0Gg%3D' (2024-09-06) → 'github:nixos/nixpkgs/1355a0cbfeac61d785b7183c0caaec1f97361b43?narHash=sha256-4b3A9zPpxAxLnkF9MawJNHDtOOl6ruL0r6Og1TEDGCE%3D' (2024-09-10) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/c3c175c74cd0e8c2c40a0e22bc6e3005c4d28d64?narHash=sha256-mVtTVQMlXkydSXVwFClE0ckxHrOQ9nb2DrCjNwW5pUE%3D' (2024-09-10) → 'github:oxalica/rust-overlay/a71b1240e29f1ec68612ed5306c328086bed91f9?narHash=sha256-cM7zFscFqdsA5KohUUYndzIp20kUqjj39qnj6Voj%2Bf8%3D' (2024-09-13) |
||
---|---|---|
.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 |