No description
Erwin Boskma
2969c53c1d
Flake lock file updates: • Updated input 'atuin': 'github:atuinsh/atuin/6d1ef57c4d4f4a822a71a144202c4b255ab7f690?narHash=sha256-jjHZNdlk7WmOW4MoeO7qjXaiPL2dp5W2oEXAW0cTdeE%3D' (2024-07-30) → 'github:atuinsh/atuin/2ce1a06f9519c7d9ab7f17b036794eff1569925b?narHash=sha256-mlU97SAd7HiAItg%2B3R1870Igje1iJhQjba7hNQa0T78%3D' (2024-08-01) • Updated input 'atuin/fenix': 'github:nix-community/fenix/2c06f54eb102f325f88472a9713f6d779726c2f7?narHash=sha256-TW68WegsA2KLjQMHTaP2//tLgXSaFiRdZKxKUc7vEtY%3D' (2024-06-30) → 'github:nix-community/fenix/0900ff903f376cc822ca637fef58c1ca4f44fab5?narHash=sha256-%2BxR0ZqooQvAjxcpoDBCqiUCKrBK8/RGVffRzlKH7urw%3D' (2024-07-31) • Updated input 'atuin/fenix/rust-analyzer-src': 'github:rust-lang/rust-analyzer/9463d9eea4b87e651e7d8ed8425a9c92f23b1cdf?narHash=sha256-YzF4P6YVInAjcR5eJHWefkKEu5t70KYVZMvdLODv8CM%3D' (2024-06-28) → 'github:rust-lang/rust-analyzer/4feec4b0c1d5aad7aba34e0397fe7bd984c9a634?narHash=sha256-Myc%2BUnbLDQccueeO1q5CF0sNiGebQo1N%2BcdOpDMhNsg%3D' (2024-07-30) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/835be326735bff3737320bf61cb2ae1b54a26cbd?narHash=sha256-/uMz2fgoe15us1OufkY%2BcLxtPvwQ8pujIae1KpiTGCc%3D' (2024-08-01) → 'github:nix-community/emacs-overlay/c1d57dfc41323f39f16ec7fe1c9d85402e6ec12d?narHash=sha256-MUg5/YtBUTKbN6aWFvHA3n7yWK/LTRAP2VkCLr%2BT/0o%3D' (2024-08-02) • Updated input 'emacs-overlay/nixpkgs-stable': 'github:NixOS/nixpkgs/12bf09802d77264e441f48e25459c10c93eada2e?narHash=sha256-sga9SrrPb%2BpQJxG1ttJfMPheZvDOxApFfwXCFO0H9xw%3D' (2024-07-29) → 'github:NixOS/nixpkgs/cf05eeada35e122770c5c14add958790fcfcbef5?narHash=sha256-B2xRiC3NEJy/82ugtareBkRqEkPGpMyjaLxaR8LBxNs%3D' (2024-07-30) • Updated input 'flake-parts': 'github:hercules-ci/flake-parts/9227223f6d922fee3c7b190b2cc238a99527bbb7?narHash=sha256-pQMhCCHyQGRzdfAkdJ4cIWiw%2BJNuWsTX7f0ZYSyz0VY%3D' (2024-07-03) → 'github:hercules-ci/flake-parts/8471fe90ad337a8074e957b69ca4d0089218391d?narHash=sha256-XOQkdLafnb/p9ij77byFQjDf5m5QYl9b2REiVClC%2Bx4%3D' (2024-08-01) • Updated input 'flake-parts/nixpkgs-lib': ' |
||
---|---|---|
.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 |