No description
Erwin Boskma
728076b4c6
Flake lock file updates: • Updated input 'atuin': 'github:atuinsh/atuin/91bda421c5880281fcf15559ae9f2e441ea5bb49?narHash=sha256-wBjRiD4IcSFenv3xt/Y0gHZ/xJ/G/GyzOwoFJmWftfQ%3D' (2024-06-13) → 'github:atuinsh/atuin/55840bddf5caec1137380f70ef9c9b556fd483e6?narHash=sha256-tpPlzCNSTloLoG7YrRWfyIpq1VYLs7iG0o/tJDhQFZ4%3D' (2024-06-17) • Updated input 'disko': 'github:nix-community/disko/832a9f2c81ff3485404bd63952eadc17bf7ccef2?narHash=sha256-n3AWItJ4a94GT0cray/eUV7tt3mulQ52L%2BlWJN9d1E8%3D' (2024-06-13) → 'github:nix-community/disko/8262659fc990cecdf6a8de74c3de7b6ec58c2276?narHash=sha256-8ZbrJq1jcmyzJ4SDkvd8JOZD4/fNUHpL4cpqVe4w3CU%3D' (2024-06-17) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/7aa1c14402a09fc043110d6477aa5cc90e60e409?narHash=sha256-L0b6hyf9EWeWKhmUwTQvbLtBtLBblyYJ3llOTsLIr0s%3D' (2024-06-12) → 'github:nix-community/emacs-overlay/6439e136f3e93e21040f0e8483ed7744056b9d71?narHash=sha256-TAOe9upAJ8I9Yc5Z69M/w%2BbHlWq98ht%2BXBD2nlEyIDw%3D' (2024-06-17) • Updated input 'emacs-overlay/nixpkgs-stable': 'github:NixOS/nixpkgs/a3c8d64ba846725f040582b2d3b875466d2115bd?narHash=sha256-9XKFni8VMXo81RTq9XygCyaO3I/7UKpwIlM/yn0MdcM%3D' (2024-06-10) → 'github:NixOS/nixpkgs/5c2ec3a5c2ee9909904f860dadc19bc12cd9cc44?narHash=sha256-ZFav8A9zPNfjZg/wrxh1uZeMJHELRfRgFP%2Bmeq01XYk%3D' (2024-06-12) • Updated input 'home-manager': 'github:nix-community/home-manager/8d5e27b4807d25308dfe369d5a923d87e7dbfda3?narHash=sha256-abBpj2VU8p6qlRzTU8o22q68MmOaZ4v8zZ4UlYl5YRU%3D' (2024-06-13) → 'github:nix-community/home-manager/0a7ffb28e5df5844d0e8039c9833d7075cdee792?narHash=sha256-sKrD/utGvmtQALvuDj4j0CT3AJXP1idOAq2p%2B27TpeE%3D' (2024-06-16) • Updated input 'microvm': 'github:astro/microvm.nix/02a1fe9237a6539ff83d15443d328e4b0b49a117?narHash=sha256-TKfQP%2BTYWQ2LGhO4UySZyFscVOA2WZ%2B2Cqo8GwkIgXE%3D' (2024-06-12) → 'github:astro/microvm.nix/b11f00056e11a802809935b0675176a2429593d9?narHash=sha256-VvD7zmbEn9Ua8w2wAMcIBXD09QqG1Ra5bNjhd1eqhOo%3D' (2024-06-15) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/d75003136c0fc94ee60e51806c2801ff572d06a6?narHash=sha256-h4MnTID6ciFxtTvtl%2BibXMKaG6iLMezCtUvKIfFG7r0%3D' (2024-06-13) → 'github:NixOS/nixos-hardware/cde8f7e11f036160b0fd6a9e07dc4c8e4061cf06?narHash=sha256-1obyIuQPR/Kq1j5/i/5EuAfQrDwjYnjCDG8iLtXmBhQ%3D' (2024-06-16) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/57d6973abba7ea108bac64ae7629e7431e0199b6?narHash=sha256-9YrUjdztqi4Gz8n3mBuqvCkMo4ojrA6nASwyIKWMpus%3D' (2024-06-12) → 'github:nixos/nixpkgs/e9ee548d90ff586a6471b4ae80ae9cfcbceb3420?narHash=sha256-4Zu0RYRcAY/VWuu6awwq4opuiD//ahpc2aFHg2CWqFY%3D' (2024-06-13) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/4cbc2810d1dfb5960791be92df6a5f842a79bdfb?narHash=sha256-ETm3A2nUVEUwVQ30fj3ePK4rqsSbSnY4uP4LYrFrDNE%3D' (2024-06-13) → 'github:oxalica/rust-overlay/5265b8a1e1d2e370e8b45b557326b691aec7d163?narHash=sha256-92OO8XrQTvdvDtRi0BAkjTaoZXW5ORuvqdk677wW7ko%3D' (2024-06-17) • Updated input 'sops': 'github:Mic92/sops-nix/c279dec105dd53df13a5e57525da97905cc0f0d6?narHash=sha256-psA%2B1Q5fPaK6yI3vzlLINNtb6EeXj111zQWnZYyJS9c%3D' (2024-06-11) → 'github:Mic92/sops-nix/797ce4c1f45a85df6dd3d9abdc53f2691bea9251?narHash=sha256-Pm9I/BMQHbsucdWf6y9G3xBZh3TMlThGo4KBbeoeczg%3D' (2024-06-16) • Updated input 'sops/nixpkgs-stable': 'github:NixOS/nixpkgs/4913a7c3d8b8d00cb9476a6bd730ff57777f740c?narHash=sha256-BRvSCsKtDUr83NEtbGfHLUOdDK0Cgbezj2PtcHnz%2BsQ%3D' (2024-06-08) → 'github:NixOS/nixpkgs/c884223af91820615a6146af1ae1fea25c107005?narHash=sha256-v43N1gZLcGkhg3PdcrKUNIZ1L0FBzB2JqhIYEyKAHEs%3D' (2024-06-15) • Updated input 'treefmt-nix': 'github:numtide/treefmt-nix/e75ba0a6bb562d2ce275db28f6a36a2e4fd81391?narHash=sha256-35hUMmFesmchb%2Bu7heKHLG5B6c8fBOcSYo0jj0CHLes%3D' (2024-06-13) → 'github:numtide/treefmt-nix/68eb1dc333ce82d0ab0c0357363ea17c31ea1f81?narHash=sha256-ULzoKzEaBOiLRtjeY3YoGFJMwWSKRYOic6VNw2UyTls%3D' (2024-06-16) |
||
---|---|---|
.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 |