No description
Erwin Boskma
b9a432bb17
Flake lock file updates: • Updated input 'caddy-with-plugins': 'github:eboskma/caddy-with-plugins/f94748a89ca1a1da1ec66306f15e5a208dff92a8' (2023-08-09) → 'github:eboskma/caddy-with-plugins/c2c66faccc086e077cef927bdf001e7233689228' (2024-01-14) • Updated input 'disko': 'github:nix-community/disko/f0a3425a7b173701922e7959d8bfb136ef53aa54' (2024-01-08) → 'github:nix-community/disko/036d480ae895afff54da5034331950827a7f317a' (2024-01-14) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/e5d3e66bb146b77a9c978533dfb6028b9248f2fa' (2024-01-10) → 'github:nix-community/emacs-overlay/9fa1fdb259360c2d7b45bb3f4003a83b5f9f809e' (2024-01-14) • Updated input 'emacs-overlay/nixpkgs-stable': 'github:NixOS/nixpkgs/6723fa4e4f1a30d42a633bef5eb01caeb281adc3' (2024-01-08) → 'github:NixOS/nixpkgs/428544ae95eec077c7f823b422afae5f174dee4b' (2024-01-13) • Updated input 'flake-parts': 'github:hercules-ci/flake-parts/88a2cd8166694ba0b6cb374700799cec53aef527' (2024-01-01) → 'github:hercules-ci/flake-parts/07f6395285469419cf9d078f59b5b49993198c00' (2024-01-11) • Updated input 'home-manager': 'github:nix-community/home-manager/e13aa9e287b3365473e5897e3667ea80a899cdfb' (2024-01-09) → 'github:nix-community/home-manager/f2942f3385f1b35cc8a1abb03a45e29c9cb4d3c8' (2024-01-13) • Updated input 'microvm': 'github:astro/microvm.nix/d5553b1388f2947915c4cec6249b89474046573a' (2024-01-01) → 'github:astro/microvm.nix/8a8b8c68d15029752b0669a57281e7d2aaf23dd5' (2024-01-12) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/b34a6075e9e298c4124e35c3ccaf2210c1f3a43b' (2024-01-09) → 'github:NixOS/nixos-hardware/ef811636cc847355688804593282078bac7758d4' (2024-01-13) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/317484b1ead87b9c1b8ac5261a8d2dd748a0492d' (2024-01-08) → 'github:nixos/nixpkgs/9b19f5e77dd906cb52dade0b7bd280339d2a1f3d' (2024-01-13) • Updated input 'pre-commit-hooks': 'github:cachix/pre-commit-hooks.nix/b0265634df1dc584585c159b775120e637afdb41' (2024-01-10) → 'github:cachix/pre-commit-hooks.nix/ffa9a5b90b0acfaa03b1533b83eaf5dead819a05' (2024-01-14) • Updated input 'pre-commit-hooks/flake-compat': 'github:edolstra/flake-compat/35bb57c0c8d8b62bbfd284272c928ceb64ddbde9' (2023-01-17) → 'github:edolstra/flake-compat/0f9255e01c2351cc7d116c072cb317785dd33b33' (2023-10-04) • Updated input 'pre-commit-hooks/gitignore': 'github:hercules-ci/gitignore.nix/a20de23b925fd8264fd7fad6454652e142fd7f73' (2022-08-14) → 'github:hercules-ci/gitignore.nix/43e1aa1308018f37118e34d3a9cb4f5e75dc11d5' (2023-12-29) • Updated input 'pre-commit-hooks/nixpkgs-stable': 'github:NixOS/nixpkgs/c37ca420157f4abc31e26f436c1145f8951ff373' (2023-06-03) → 'github:NixOS/nixpkgs/3dc440faeee9e889fe2d1b4d25ad0f430d449356' (2024-01-10) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/6dea03e0c8a81cf28340564259d4762b6d6f01de' (2024-01-10) → 'github:oxalica/rust-overlay/71d1d01578272b2294f6993b1860dfb22e4baac3' (2024-01-14) • Updated input 'sops': 'github:Mic92/sops-nix/c0b3a5af90fae3ba95645bbf85d2b64880addd76' (2024-01-10) → 'github:Mic92/sops-nix/70dd0d521f7849338e487a219c1a07c429a66d77' (2024-01-14) • Updated input 'sops/nixpkgs-stable': 'github:NixOS/nixpkgs/70bdadeb94ffc8806c0570eb5c2695ad29f0e421' (2024-01-03) → 'github:NixOS/nixpkgs/a1982c92d8980a0114372973cbdfe0a307f1bdea' (2024-01-12) |
||
---|---|---|
home-manager/modules | ||
lib | ||
machines | ||
modules | ||
overlays | ||
pkgs | ||
users | ||
wallpapers | ||
.envrc | ||
.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 |