No description
Erwin Boskma
7dc7c3c3f9
Flake lock file updates: • Updated input 'atuin': 'github:atuinsh/atuin/38ea7706a0ed2929838804db69bda2a53763c97c?narHash=sha256-ifsz3a0wBsxuhYZBSbpplLrCfKAIo625v3hWf4Ks61s%3D' (2024-04-24) → 'github:atuinsh/atuin/fc5522f45ef0735fb3b492329f95770203d21a7f?narHash=sha256-QfWxEMZwwzXtOic6eiUQI4fuUiuXP9dsSWrCf8r0/x8%3D' (2024-04-25) • Updated input 'disko': 'github:nix-community/disko/db1150487c7cde696cf5c4bbb599b37b885ca592?narHash=sha256-zpJNUuOcVL3Yi60VPvpNhs77uIK1D0Ri2eeHcfdz8yg%3D' (2024-04-25) → 'github:nix-community/disko/285e26465a0bae510897ca04da26ce6307c652b4?narHash=sha256-kcBiIrmqzt3bNTr2GMBfAyA%2Bon8BEKO1iKzzDFQZkjI%3D' (2024-04-26) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/bf2ab188e525dd20cdd9448e270fd442cea56949?narHash=sha256-UCst%2BRoX67NhDgfCcJwOk94ZEjDg09wh1i0gs83Nrvc%3D' (2024-04-25) → 'github:nix-community/emacs-overlay/40463aaa81fc44a2908716ca79d29c16c5fef81b?narHash=sha256-mXwE5H5JJxi1c2c8nwjiyMRGy9UYgNPSJ2caJDxbGgk%3D' (2024-04-26) • Updated input 'emacs-overlay/nixpkgs-stable': 'github:NixOS/nixpkgs/b500489fd3cf653eafc075f9362423ad5cdd8676?narHash=sha256-KtvQeE12MSkCOhvVmnmcZCjnx7t31zWin2XVSDOwBDE%3D' (2024-04-22) → 'github:NixOS/nixpkgs/dd37924974b9202f8226ed5d74a252a9785aedf8?narHash=sha256-fFE3M0vCoiSwCX02z8VF58jXFRj9enYUSTqjyHAjrds%3D' (2024-04-24) • Updated input 'eww': 'github:elkowar/eww/acf57a8396d19cd160786223b04b950509e46a4b?narHash=sha256-LHwfc%2BMexlqewfjm2onPz74ZMRf/n%2Be7aAuYz08qPUE%3D' (2024-04-21) → 'github:elkowar/eww/2c8811512460ce6cc75e021d8d081813647699dc?narHash=sha256-eDOg5Ink3iWT/B1WpD9po5/UxS4DEaVO4NPIRyjSheM%3D' (2024-04-26) • Updated input 'home-manager': 'github:nix-community/home-manager/2f072c127c041eec36621b8e38a531fe0fe07961?narHash=sha256-bW7K4WPo6jhYMo4ZUGoJfog6xJV0XZh8adXqZKunRoc%3D' (2024-04-24) → 'github:nix-community/home-manager/0c5704eceefcb7bb238a958f532a86e3b59d76db?narHash=sha256-4AItZA3EQIiSNAxliuYEJumw/LaVfrMv84gYyrs0r3U%3D' (2024-04-25) • Updated input 'microvm': 'github:astro/microvm.nix/6a4f822a817180be03fcdceb654088d002c9ec5e?narHash=sha256-IPdnR0Rs7XoffnCn6rExYDlft/GHD/UFgQ11lTVEK48%3D' (2024-04-18) → 'github:astro/microvm.nix/ac28e21ac336dbe01b1f1bcab01fd31db3855e40?narHash=sha256-MOxTGzM8lgq8uo6zAy6e4ZUdzUpF/eSQPBXeH5G5BtE%3D' (2024-04-25) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/572af610f6151fd41c212f897c71f7056e3fb518?narHash=sha256-cfh1hi%2B6muQMbi9acOlju3V1gl8BEaZBXBR9jQfQi4U%3D' (2024-04-23) → 'github:nixos/nixpkgs/7bb2ccd8cdc44c91edba16c48d2c8f331fb3d856?narHash=sha256-Drmja/f5MRHZCskS6mvzFqxEaZMeciScCTFxWVLqWEY%3D' (2024-04-25) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/9a2a11479b94afaf1ecc46384b27abda0d3d5f9d?narHash=sha256-vKk9IOxZJ52Ao3uIRIjHRYYe%2BIpVOY6NzwToSxaO1J0%3D' (2024-04-25) → 'github:oxalica/rust-overlay/2a42c742ab04b61d9b2f1edf392842cf9f27ebfd?narHash=sha256-044xbpBszupqN3nl/CGOCJtTQ4O6Aca81mJpX45i8/I%3D' (2024-04-26) • Updated input 'treefmt-nix': 'github:numtide/treefmt-nix/49dc4a92b02b8e68798abd99184f228243b6e3ac?narHash=sha256-N3QDhoaX%2BpaWXHbEXZapqd1r95mdshxToGowtjtYkGI%3D' (2024-04-01) → 'github:numtide/treefmt-nix/c6aaf729f34a36c445618580a9f95a48f5e4e03f?narHash=sha256-Qv4RBm4LKuO4fNOfx9wl40W2rBbv5u5m%2BwhxRYUMiaA%3D' (2024-04-25) |
||
---|---|---|
.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 |