No description
Erwin Boskma
e025625099
Flake lock file updates: • Updated input 'atuin': 'github:atuinsh/atuin/b06b7b509a454656d92196c8a58071e4f0d76e09?narHash=sha256-w465ZQEqZQ/mJKxBs4y/L%2BWh5EiuTFYGEfnIgxvmFcs%3D' (2024-06-20) → 'github:atuinsh/atuin/8956142cc5b4f5636ae1943f81bf2c22864b8dba?narHash=sha256-s7dGKRFHjizKv%2BmqaAd/7BmwPphNM6XMGqtC40sqzWM%3D' (2024-06-24) • Updated input 'disko': 'github:nix-community/disko/e1174d991944a01eaaa04bc59c6281edca4c0e6e?narHash=sha256-9dtXYtEkmXoUJV%2BPGLqscqF7qTn4AIhAKpFWRFU2NYs%3D' (2024-06-20) → 'github:nix-community/disko/50d4d13fbac5db81f8c1e79d95ad87a2970b9201?narHash=sha256-ByDySG4oQN6KzLCuJjTax6%2BcMVtOixuYuu2GnnoPpoI%3D' (2024-06-24) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/728439cd9e68339c306d6152b8950dcb87e604cf?narHash=sha256-5DzqO4O3ZKPGx1dO5QhwCGBaI4bPTg2BSWSzasTYdmM%3D' (2024-06-21) → 'github:nix-community/emacs-overlay/e3e9ef4c9904fddbd8c00f3288e6a3be26a6bf0b?narHash=sha256-4jggHHDsLt%2Bi4/6lMNlZkHd3bzgV50feNpZGe4X3eMQ%3D' (2024-06-24) • Updated input 'home-manager': 'github:nix-community/home-manager/d7830d05421d0ced83a0f007900898bdcaf2a2ca?narHash=sha256-SqiOz0sljM0GjyQEVinPXQxaGcbOXw5OgpCWGPgh/vo%3D' (2024-06-19) → 'github:nix-community/home-manager/6b1f90a8ff92e81638ae6eb48cd62349c3e387bb?narHash=sha256-vZAzm5KQpR6RGple1dzmSJw5kPivES2heCFM%2BZWkt0I%3D' (2024-06-23) • Updated input 'microvm': 'github:astro/microvm.nix/b11f00056e11a802809935b0675176a2429593d9?narHash=sha256-VvD7zmbEn9Ua8w2wAMcIBXD09QqG1Ra5bNjhd1eqhOo%3D' (2024-06-15) → 'github:astro/microvm.nix/146fec824fe8e06454e211a14ce29b5f692ad078?narHash=sha256-xsdESZDwOs0o96VlZNxThfLG8HW%2BqT2c7dYypGGUYXg%3D' (2024-06-23) • Updated input 'nix-ld-rs': 'github:nix-community/nix-ld-rs/753a1539846e6f75c88583777a3f6e40f4064302?narHash=sha256-P2PsdY2kLin3S0AW7dYWWI%2B1/a/%2Bonp3KaAz8O32EnY%3D' (2024-06-13) → 'github:nix-community/nix-ld-rs/311caa66689611bde0c90fe92ddfc9b0d85253fa?narHash=sha256-%2BG3xCI3eiZiT7Uj5Rwl8vBTOGUi3TjaclUbfW%2B3nt7E%3D' (2024-06-23) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/083823b7904e43a4fc1c7229781417e875359a42?narHash=sha256-hxQBUtDbFOCCW1CsFZTS9Q5Ov1ZKdJgbBZHSez1M6iA%3D' (2024-06-20) → 'github:NixOS/nixos-hardware/c3e48cbd88414f583ff08804eb57b0da4c194f9e?narHash=sha256-%2B0bBlerLxsHUJcKPDWZM1wL3V9bzCFjz%2BVyRTG8fnUA%3D' (2024-06-23) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/c00d587b1a1afbf200b1d8f0b0e4ba9deb1c7f0e?narHash=sha256-FUZpz9rg3gL8NVPKbqU8ei1VkPLsTIfAJ2fdAf5qjak%3D' (2024-06-18) → 'github:nixos/nixpkgs/a71e967ef3694799d0c418c98332f7ff4cc5f6af?narHash=sha256-CyyxvOwFf12I91PBWz43iGT1kjsf5oi6ax7CrvaMyAo%3D' (2024-06-22) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/c9a793a5278f711a59fe77b9bf54b215667022c6?narHash=sha256-jslEDCVFoRcNilJT0xYGSxqMjOe%2BUSnLknpHIAZJ02A%3D' (2024-06-21) → 'github:oxalica/rust-overlay/577ee84c69ba89894ac622d71a678a14d746b2f7?narHash=sha256-bFXHMjpYlEERexzXa1gLGJO/1l8dxaAtSNE56YALuTg%3D' (2024-06-24) • Updated input 'sops': 'github:Mic92/sops-nix/797ce4c1f45a85df6dd3d9abdc53f2691bea9251?narHash=sha256-Pm9I/BMQHbsucdWf6y9G3xBZh3TMlThGo4KBbeoeczg%3D' (2024-06-16) → 'github:Mic92/sops-nix/5e2e9421e9ed2b918be0a441c4535cfa45e04811?narHash=sha256-kr2QzRrplzlCP87ddayCZQS%2BdhGW98kw2zy7%2BjUXtF4%3D' (2024-06-23) • Updated input 'sops/nixpkgs-stable': 'github:NixOS/nixpkgs/c884223af91820615a6146af1ae1fea25c107005?narHash=sha256-v43N1gZLcGkhg3PdcrKUNIZ1L0FBzB2JqhIYEyKAHEs%3D' (2024-06-15) → 'github:NixOS/nixpkgs/5e8e3b89adbd0be63192f6e645e0a54080004924?narHash=sha256-YzJECAxFt%2BU5LPYf/pCwW/e1iUd2PF21WITHY9B/BAs%3D' (2024-06-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 | ||
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 |