No description
Erwin Boskma
05713c8f4e
Flake lock file updates: • Updated input 'atuin': 'github:atuinsh/atuin/c32bbcc7edc2cf99da52b1407c90238bc781a804?narHash=sha256-jx%2BxuNZ/8azfFYMlZyYa6e%2BOiTlf%2B4GVYtbfv1%2BTows%3D' (2024-07-25) → 'github:atuinsh/atuin/db2d6c3d83e927185068aab457396ee1a21994ff?narHash=sha256-lUKDWPgfT6mr50WZgSq3/hJtZ8gYxr3PCLghek5EFaE%3D' (2024-07-29) • Updated input 'disko': 'github:nix-community/disko/55e874b9c14764cb791e5740f0e92202e41393fc?narHash=sha256-NyWVCnSeePnJHGJxZ0l3zdGQGrVjUcx2IJbV8KIsPf0%3D' (2024-07-25) → 'github:nix-community/disko/1e6f8a7b4634fc051cc9361959bf414fcf17e094?narHash=sha256-8r5AJ3n8WEDw3rsZLALSuFQ5kJyWOcssNZvPxYLr2yc%3D' (2024-07-29) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/24c391d8fe03854d1eedea66c241b176e97f5f6c?narHash=sha256-EGeUu2Veg2p4fiGZ%2B22kNSpucrYxZn6NTdXVS989GGk%3D' (2024-07-26) → 'github:nix-community/emacs-overlay/087cf45264b4487b2848e08548bb4c5f933d460c?narHash=sha256-uELMts/UTJ4jTPQbQgOnE75flmdbWm672yDvL3QLWOI%3D' (2024-07-29) • Updated input 'emacs-overlay/nixpkgs-stable': 'github:NixOS/nixpkgs/d0907b75146a0ccc1ec0d6c3db287ec287588ef6?narHash=sha256-PhmkdTJs2SfqKzSyDB74rDKp1MH4mGk0pG/%2BWqrnGEw%3D' (2024-07-24) → 'github:NixOS/nixpkgs/8c50662509100d53229d4be607f1a3a31157fa12?narHash=sha256-2ShmEaFi0kJVOEEu5gmlykN5dwjWYWYUJmlRTvZQRpU%3D' (2024-07-27) • Updated input 'home-manager': 'github:nix-community/home-manager/304a011325b7ac7b8c9950333cd215a7aa146b0e?narHash=sha256-JH8N5uoqoVA6erV4O40VtKKHsnfmhvMGbxMNDLtim5o%3D' (2024-07-24) → 'github:nix-community/home-manager/4fcd54df7cbb1d79cbe81209909ee8514d6b17a4?narHash=sha256-WeVWVRqkgrbLzmk6FfJoloJ7Xe7HWD27Pv950IUG2kI%3D' (2024-07-30) • Updated input 'nix-ld-rs': 'github:nix-community/nix-ld-rs/2f1fe38bc69d2400652e0848d9d2ce2955a39cf6?narHash=sha256-VnayJVKngasaNNiMlBhkeA//%2BV9EpEuT/mkOsFUbFDg%3D' (2024-07-19) → 'github:nix-community/nix-ld-rs/178b100f4dda6b1280e9619270009fc8c0938e73?narHash=sha256-SUHIztj/CoqqtwEjSA9cnJb%2BIIFIr2ntrzn0Ly1DCB8%3D' (2024-07-29) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/d3c993c851ad40bbab7e08d566138ff72cd8744f?narHash=sha256-5OrkPJsiZmNe99C6%2BKX0qx9sphoVLvldFjuqDYAZ8GQ%3D' (2024-07-25) → 'github:NixOS/nixos-hardware/eab049fe178c11395d65a858ba1b56461ba9652d?narHash=sha256-xLBAegsn9wbj%2BpQfbX07kykd5VBV3Ywk3IbObVAAlWA%3D' (2024-07-29) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/5ad6a14c6bf098e98800b091668718c336effc95?narHash=sha256-Sb1jlyRO%2BN8jBXEX9Pg9Z1Qb8Bw9QyOgLDNMEpmjZ2M%3D' (2024-07-25) → 'github:nixos/nixpkgs/b73c2221a46c13557b1b3be9c2070cc42cf01eb3?narHash=sha256-QOS0ykELUmPbrrUGmegAUlpmUFznDQeR4q7rFhl8eQg%3D' (2024-07-27) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/9cbf831c5b20a53354fc12758abd05966f9f1699?narHash=sha256-o21ax%2B745ETGXrcgc/yUuLw1SI77ymp3xEpJt%2Bw/kks%3D' (2024-07-26) → 'github:oxalica/rust-overlay/38c2f156fca1868c8be7195ddac150522752f6ab?narHash=sha256-ljiuTGSFuEtudqFqp/5Wr1OuEsVCjur/F2CmlNujSjc%3D' (2024-07-30) • Updated input 'sops': 'github:Mic92/sops-nix/aff2f88277dabe695de4773682842c34a0b7fd54?narHash=sha256-9jsjsRKtJRqNSTXKj9zuDFRf2PGix30nMx9VKyPgD2U%3D' (2024-07-22) → 'github:Mic92/sops-nix/eb34eb588132d653e4c4925d862f1e5a227cc2ab?narHash=sha256-s6YhI8UHwQvO4cIFLwl1wZ1eS5Cuuw7ld2VzUchdFP0%3D' (2024-07-27) |
||
---|---|---|
.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 |