No description
Erwin Boskma
2c8aa3dd3b
Flake lock file updates: • Updated input 'disko': 'github:nix-community/disko/4be2aadf13b67ffbb993deb73adff77c46b728fc?narHash=sha256-PNONdMd%2BsG7JWzNIDerX7oVZXL8FTVlSAZ1BmUo2HjE%3D' (2024-10-22) → 'github:nix-community/disko/09a776702b004fdf9c41a024e1299d575ee18a7d?narHash=sha256-a%2BAakkb%2BamHw4biOZ0iMo8xYl37uUL48YEXIC5PYJ/8%3D' (2024-10-23) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/dd66a43b14c37c5461bdc4324be3fd32e720c996?narHash=sha256-wwkldM3Ru%2B3aBBibjYi4MskJzkA7BM3YhL/m3a0x58k%3D' (2024-10-22) → 'github:nix-community/emacs-overlay/4887992a11388734b4900f3d16892999b54849ff?narHash=sha256-qOUGh%2BhC6w9POe04HTjwcKJccjmKsGfmlWEL32NTlr0%3D' (2024-10-24) • Updated input 'emacs-overlay/nixpkgs-stable': 'github:NixOS/nixpkgs/a9b86fc2290b69375c5542b622088eb6eca2a7c3?narHash=sha256-QUvb6epgKi9pCu9CttRQW4y5NqJ%2BsnKr1FZpG/x3Wtc%3D' (2024-10-19) → 'github:NixOS/nixpkgs/89172919243df199fe237ba0f776c3e3e3d72367?narHash=sha256-Gf04dXB0n4q0A9G5nTGH3zuMGr6jtJppqdeljxua1fo%3D' (2024-10-20) • Updated input 'microvm': 'github:astro/microvm.nix/4d81c4115ef832880561f243efec21f06d2a8b7c?narHash=sha256-RFKyZygnUbJlWq1uBn4JvEEcQKZW3AFBL3bQoywECPI%3D' (2024-10-13) → 'github:astro/microvm.nix/21c36d162ba8127377ce7dee234bdc99b9af0dde?narHash=sha256-tQOYDfaoetPZSi56dej5zCsSsxPhmV%2BvWxuW3vWeg60%3D' (2024-10-23) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/cc2d3c0e060f981905d52337340ee6ec8b8eb037?narHash=sha256-8OHgqz%2BtFo21h3hg4/GHizFPws%2BMMzpEru/%2B62Z0E8c%3D' (2024-10-21) → 'github:NixOS/nixos-hardware/e8a2f6d5513fe7b7d15701b2d05404ffdc3b6dda?narHash=sha256-u3Of8xRkN//me8PU%2BRucKA59/6RNy4B2jcGAF36P4jI%3D' (2024-10-24) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/1997e4aa514312c1af7e2bda7fad1644e778ff26?narHash=sha256-I4tuhRpZFa6Fu6dcH9Dlo5LlH17peT79vx1y1SpeKt0%3D' (2024-10-20) → 'github:nixos/nixpkgs/2768c7d042a37de65bb1b5b3268fc987e534c49d?narHash=sha256-AlcmCXJZPIlO5dmFzV3V2XF6x/OpNWUV8Y/FMPGd8Z4%3D' (2024-10-23) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/d687672b4541496408068bc273d94c643005d4c9?narHash=sha256-dP764PQ6YhjY7C84Txnrb2vf0H2YdQlp5c6a7G18fgw%3D' (2024-10-22) → 'github:oxalica/rust-overlay/29b1275740d9283467b8117499ec8cbb35250584?narHash=sha256-Rb6JUop7NRklg0uzcre%2BA%2BEbrn/ZiQPkm4QdKg6/3pw%3D' (2024-10-24) • Updated input 'sops': 'github:Mic92/sops-nix/26642e8f193f547e72d38cd4c0c4e45b49236d27?narHash=sha256-YOc4033a/j1TbdLfkaSOSX2SrvlmuM%2BenIFoveNTCz4%3D' (2024-10-22) → 'github:Mic92/sops-nix/d089e742fb79259b9c4dd9f18e9de1dd4fa3c1ec?narHash=sha256-Fm4cGAlaDwekQvYX0e6t0VjT6YJs3fRXtkyuE4/NzzU%3D' (2024-10-23) • Updated input 'treefmt-nix': 'github:numtide/treefmt-nix/d986489c1c757f6921a48c1439f19bfb9b8ecab5?narHash=sha256-6jWSWxv2crIXmYSEb3LEVsFkCkyVHNllk61X4uhqfCs%3D' (2024-10-18) → 'github:numtide/treefmt-nix/aac86347fb5063960eccb19493e0cadcdb4205ca?narHash=sha256-XGOvuIPW1XRfPgHtGYXd5MAmJzZtOuwlfKDgxX5KT3s%3D' (2024-10-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 |