No description
Erwin Boskma
80f7a9cb58
Flake lock file updates: • Updated input 'atuin': 'github:atuinsh/atuin/9e36f63c6edbd7d675202e873716de9748928b59?narHash=sha256-NBPZdXaXPPbD/w2EM2cC3dK1ZFSAemV5sIQHGLeoAEY%3D' (2024-06-24) → 'github:atuinsh/atuin/8eab351fca92e00b46e92a5e7bc1dda1647637df?narHash=sha256-9gDzIzM5eQ35vrzekK8mebo/9LXavQ8Am5pduUvUbSE%3D' (2024-06-26) • Updated input 'disko': 'github:nix-community/disko/dd4d1663ccf7fbdb32361b9afe9e71206584cd4c?narHash=sha256-VZAfBk2Lo8hQy/NQ4XVSpTICT0ownXBUi1QvGfdlxaM%3D' (2024-06-24) → 'github:nix-community/disko/8767dbf5d723b1b6834f4d09b217da7c31580d58?narHash=sha256-h%2BbFEQHQ46pBkEsOXbxmmY6QNPPGrgpDbNlHtAKG49M%3D' (2024-06-27) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/b6082d10feac69203dac419818daa47c5fe36464?narHash=sha256-BiDNkoh9a2dx2OTUFpzWhkGq5WfatG7sUX4Kw0Fdo7g%3D' (2024-06-24) → 'github:nix-community/emacs-overlay/e3a4b715f2a60efafa9cbe6bfa6b8bb5b659a381?narHash=sha256-HZQ9UCGpcQSrAz335utn5CXkUr2OHyoqipDTQI6/3%2Bk%3D' (2024-06-28) • Updated input 'emacs-overlay/nixpkgs-stable': 'github:NixOS/nixpkgs/906320ae02f769d13a646eb3605a9821df0d6ea2?narHash=sha256-aEMsNUtqSPwn6l%2BLIZ/rX%2B%2BnCgun3E9M3uSZs6Rwb7w%3D' (2024-06-23) → 'github:NixOS/nixpkgs/90bd1b26e23760742fdcb6152369919098f05417?narHash=sha256-1AjSIedDC/aERt24KsCUftLpVppW61S7awfjGe7bMio%3D' (2024-06-24) • Updated input 'home-manager': 'github:nix-community/home-manager/6b1f90a8ff92e81638ae6eb48cd62349c3e387bb?narHash=sha256-vZAzm5KQpR6RGple1dzmSJw5kPivES2heCFM%2BZWkt0I%3D' (2024-06-23) → 'github:nix-community/home-manager/1a4f12ae0bda877ec4099b429cf439aad897d7e9?narHash=sha256-/Vmso2ZMoFE3M7d1MRsQ2K5sR8CVKnrM6t1ys9Xjpz4%3D' (2024-06-26) • Updated input 'microvm': 'github:astro/microvm.nix/146fec824fe8e06454e211a14ce29b5f692ad078?narHash=sha256-xsdESZDwOs0o96VlZNxThfLG8HW%2BqT2c7dYypGGUYXg%3D' (2024-06-23) → 'github:astro/microvm.nix/3692c11ceed00632345b106b24a8cd2c9ffe5569?narHash=sha256-nWGOQgqyhj7YynykVlM/DKxaYshhraV27R5tqQgWAEg%3D' (2024-06-27) • Updated input 'nix-ld-rs': 'github:nix-community/nix-ld-rs/311caa66689611bde0c90fe92ddfc9b0d85253fa?narHash=sha256-%2BG3xCI3eiZiT7Uj5Rwl8vBTOGUi3TjaclUbfW%2B3nt7E%3D' (2024-06-23) → 'github:nix-community/nix-ld-rs/e5d3e7ebee7fd7b3c8e3474500c9b23c3b9a8470?narHash=sha256-0AuqE8iB4/pxVH9sPl6zY62uavfsDp7Fvyy0iGcOw54%3D' (2024-06-28) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/c3e48cbd88414f583ff08804eb57b0da4c194f9e?narHash=sha256-%2B0bBlerLxsHUJcKPDWZM1wL3V9bzCFjz%2BVyRTG8fnUA%3D' (2024-06-23) → 'github:NixOS/nixos-hardware/3980e7816c99d9e4da7a7b762e5b294055b73b2f?narHash=sha256-PX3msbC5KdwCDnucGtir3qzlzv%2B1fuiU4tk17nljFIE%3D' (2024-06-28) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/a71e967ef3694799d0c418c98332f7ff4cc5f6af?narHash=sha256-CyyxvOwFf12I91PBWz43iGT1kjsf5oi6ax7CrvaMyAo%3D' (2024-06-22) → 'github:nixos/nixpkgs/2893f56de08021cffd9b6b6dfc70fd9ccd51eb60?narHash=sha256-ECni%2BIkwXjusHsm9Sexdtq8weAq/yUyt1TWIemXt3Ko%3D' (2024-06-24) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/b6032d3a404d8a52ecfc8571ff0c26dfbe221d07?narHash=sha256-LIBMfhM9pMOlEvBI757GOK5l0R58SRi6YpwfYMbf4yc%3D' (2024-06-25) → 'github:oxalica/rust-overlay/ed12832f267ab223cd085b0bd6ee3432caa69067?narHash=sha256-YdHqW6EM5pXMwXHhC%2BKniBv3aquXuJrFar2XXaV7x%2Bc%3D' (2024-06-28) |
||
---|---|---|
.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 |