No description
Erwin Boskma
09159d7b26
Flake lock file updates: • Updated input 'disko': 'github:nix-community/disko/21d89b333ca300bef82c928c856d48b94a9f997c?narHash=sha256-sV0Q5ndvfjK9JfCg/QM/HX/fcittohvtq8dD62isxdM%3D' (2024-03-14) → 'github:nix-community/disko/c09c3a9639690f94ddff44c3dd25c85602e5aeb2?narHash=sha256-aXlifKr6Brg0SBUBgRNEBaZf3JLUeGhM9BX2gam%2Bvvo%3D' (2024-03-18) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/895a56e7294c2e5be4f84aa8e1cbc9e53e91307e?narHash=sha256-7to4df2dUDd2LhPSp/XeH9rpONb2MtYDn1uFeVMolVc%3D' (2024-03-16) → 'github:nix-community/emacs-overlay/ddc0d1e406566b0389f4e7f25d4b6aa59f98114e?narHash=sha256-G4sFKirxi49JaYi90Aq5Lo0jVSCJfYwYVTPhIt8zBT8%3D' (2024-03-18) • Updated input 'emacs-overlay/nixpkgs-stable': 'github:NixOS/nixpkgs/878ef7d9721bee9f81f8a80819f9211ad1f993da?narHash=sha256-MvFKESbq4rUWuaf2RKPNYENaSZEw/jaCLo2gU6oREcM%3D' (2024-03-14) → 'github:NixOS/nixpkgs/614b4613980a522ba49f0d194531beddbb7220d3?narHash=sha256-3Eh7fhEID17pv9ZxrPwCLfqXnYP006RKzSs0JptsN84%3D' (2024-03-17) • Updated input 'home-manager': 'github:nix-community/home-manager/206f457fffdb9a73596a4cb2211a471bd305243d?narHash=sha256-SUXGZNrXX05YA9G6EmgupxhOr3swI1gcxLUeDMUhrEY%3D' (2024-03-15) → 'github:nix-community/home-manager/7b3fca5adcf6c709874a8f2e0c364fe9c58db989?narHash=sha256-eZCxuF58YWgaJMMRrn8oRkwRhxooe5kBS/s2wRVr9PA%3D' (2024-03-17) • Updated input 'microvm': 'github:astro/microvm.nix/d535b9b6c9f6612e323d4504660ebbdcd1bd79bd?narHash=sha256-5S3jnObtWfXlTx00KzsPwpJtDoyfa1WpZnCrWnxovcw%3D' (2024-03-13) → 'github:astro/microvm.nix/0e2223d8fd459725850bd9aff7e9d68ec329769a?narHash=sha256-yqGeSnAB3Yeg02jtitzSGIuE21kq7%2BpWAdeGK3F9/cY%3D' (2024-03-18) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/d691274a972b3165335d261cc4671335f5c67de9?narHash=sha256-pP86Pcfu3BrAvRO7R64x7hs%2BGaQrjFes%2BmEPowCfkxY%3D' (2024-03-14) → 'github:nixos/nixpkgs/c75037bbf9093a2acb617804ee46320d6d1fea5a?narHash=sha256-rL5LSYd85kplL5othxK5lmAtjyMOBg390sGBTb3LRMM%3D' (2024-03-16) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/42baa9e2e4713572d7481f917243b07dffdf54b8?narHash=sha256-Lbdq3/TH4VrrR7A6FxIYwu5tFOcprYh8Q49Nc9s/i6c%3D' (2024-03-16) → 'github:oxalica/rust-overlay/a1b17cacfa7a6ed18f553a195a047f4e73e95da9?narHash=sha256-Ulsx%2Bt4SnRmjMJx4eF2Li%2B3rBGYhZp0XNShVjIheCfg%3D' (2024-03-18) • Updated input 'sops': 'github:Mic92/sops-nix/6c32d3b9c7593f4b466ec5404e59fc09a803a090?narHash=sha256-IXlPoWgIRovZ32mYvqqdBgOQln71LouE/HBhbKc1wcw%3D' (2024-03-14) → 'github:Mic92/sops-nix/83b68a0e8c94b72cdd0a6e547a14ca7eb1c03616?narHash=sha256-RquCuzxfy4Nr8DPbdp3D/AsbYep21JgQzG8aMH9jJ4A%3D' (2024-03-17) • Updated input 'sops/nixpkgs-stable': 'github:NixOS/nixpkgs/b17375d3bb7c79ffc52f3538028b2ec06eb79ef8?narHash=sha256-yiZiVKP5Ya813iYLho2%2BCcFuuHpaqKc/CoxOlANKcqM%3D' (2024-03-10) → 'github:NixOS/nixpkgs/6dc11d9859d6a18ab0c5e5829a5b8e4810658de3?narHash=sha256-y%2Bl3eH53UlENaYa1lmnCBHusZb1kxBEFd2/c7lDsGpw%3D' (2024-03-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 |