No description
Erwin Boskma
acdb3bc5e8
Flake lock file updates: • Updated input 'attic': 'github:zhaofengli/attic/717cc95983cdc357bc347d70be20ced21f935843?narHash=sha256-kH04ReTjxOpQumgWnqy40vvQLSnLGxWP6RF3nq5Esrk%3D' (2024-06-01) → 'github:zhaofengli/attic/6139576a3ce6bb992e0f6c3022528ec233e45f00?narHash=sha256-aKjJ/4l2I9%2BwNGTaOGRsuS3M1%2BIoTibqgEMPDikXm04%3D' (2024-07-09) • Updated input 'atuin': 'github:atuinsh/atuin/6d254c694677af6189159fad1c7737f2e06e4a78?narHash=sha256-sZVo8ngBpot1XrSqAEj7jou8DOuh1yH9mGveR8SA0vs%3D' (2024-07-08) → 'github:atuinsh/atuin/7eb985b616c12aed261fbef74a47c5a928c03e61?narHash=sha256-T%2BkLHwraj0u238/MoqYKrtz4rKZT4a4UAzEs%2BZGqLsQ%3D' (2024-07-15) • Updated input 'disko': 'github:nix-community/disko/f1a00e7f55dc266ef286cc6fc8458fa2b5ca2414?narHash=sha256-zJv6euDOrJWMHBhxfp/ay%2BDvjwpe8YtMuEI5b09bxmo%3D' (2024-07-08) → 'github:nix-community/disko/bad376945de7033c7adc424c02054ea3736cf7c4?narHash=sha256-Gof4Lj1rgTrX59bNu5b/uS/3X/marUGM7LYw31NoXEA%3D' (2024-07-15) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/743e01cc6f5be48230b99178e3f14b34da84022e?narHash=sha256-DFDThlsRInZPkbReZgXOhDv3CqsOkf8KEs1RkGTb4R4%3D' (2024-07-08) → 'github:nix-community/emacs-overlay/7c521a93160b3f3deb2325ba5485eabaecc76100?narHash=sha256-di%2BYqstcANGipdJP%2BlQ/vPOlB%2BUIFNSZjg6rlpMOyFs%3D' (2024-07-15) • Updated input 'emacs-overlay/nixpkgs-stable': 'github:NixOS/nixpkgs/49ee0e94463abada1de470c9c07bfc12b36dcf40?narHash=sha256-WrDV0FPMVd2Sq9hkR5LNHudS3OSMmUrs90JUTN%2BMXpA%3D' (2024-07-06) → 'github:NixOS/nixpkgs/53e81e790209e41f0c1efa9ff26ff2fd7ab35e27?narHash=sha256-1mEKHp4m9brvfQ0rjCca8P1WHpymK3TOr3v34ydv9bs%3D' (2024-07-14) • Updated input 'home-manager': 'github:nix-community/home-manager/6b7ce96f34b324e4e104abc30d06955d216bac71?narHash=sha256-kAsg3Lg4YKKpGw%2Bf1W2s5hzjP8B0y/juowvjK8utIag%3D' (2024-07-07) → 'github:nix-community/home-manager/90ae324e2c56af10f20549ab72014804a3064c7f?narHash=sha256-neWQ8eNtLTd%2BYMesb7WjKl1SVCbDyCm46LUgP/g/hdo%3D' (2024-07-11) • Updated input 'nix-ld-rs': 'github:nix-community/nix-ld-rs/45eec25fe63b5c421c9439a743a2416a6cdea00b?narHash=sha256-QyuNREH5M0FZG0iVeOB3pUABIz9kqN%2Ba1MYLzl3978Q%3D' (2024-07-07) → 'github:nix-community/nix-ld-rs/befdf953399eeff2c4e7c5a2b63af964ad209269?narHash=sha256-CaL618a842JxU69/c9U7TysASx51LeFR4TwAai3YBfI%3D' (2024-07-15) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/72d3c007024ce47d838bb38693c8773812f54bf2?narHash=sha256-d6JI5IgJ1xdrk7DvYVx7y8ijcYz5I1nhCwOiDP6cq00%3D' (2024-07-08) → 'github:NixOS/nixos-hardware/c5013aa7ce2c7ec90acee5d965d950c8348db751?narHash=sha256-G/OtEAts7ZUvW5lrGMXSb8HqRp2Jr9I7reBuvCOL54w%3D' (2024-07-11) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/9f4128e00b0ae8ec65918efeba59db998750ead6?narHash=sha256-rwz8NJZV%2B387rnWpTYcXaRNvzUSnnF9aHONoJIYmiUQ%3D' (2024-07-03) → 'github:nixos/nixpkgs/693bc46d169f5af9c992095736e82c3488bf7dbb?narHash=sha256-oedh2RwpjEa%2BTNxhg5Je9Ch6d3W1NKi7DbRO1ziHemA%3D' (2024-07-14) • Updated input 'pre-commit-hooks': 'github:cachix/git-hooks.nix/2b6bd3c87d3a66fb0b8f2f06c985995e04b4fb96?narHash=sha256-1in42htN3g3MnE3/AO5Qgs6pMWUzmtPQ7s675brO8uw%3D' (2024-07-08) → 'github:cachix/git-hooks.nix/f451c19376071a90d8c58ab1a953c6e9840527fd?narHash=sha256-6FPUl7HVtvRHCCBQne7Ylp4p%2BdpP3P/OYuzjztZ4s70%3D' (2024-07-15) • Updated input 'pre-commit-hooks/nixpkgs-stable': 'github:NixOS/nixpkgs/03d771e513ce90147b65fe922d87d3a0356fc125?narHash=sha256-0Y8IrGhRmBmT7HHXlxxepg2t8j1X90%2B%2BqRN3lukGaIk%3D' (2024-06-19) → 'github:NixOS/nixpkgs/194846768975b7ad2c4988bdb82572c00222c0d7?narHash=sha256-NGKVY4PjzwAa4upkGtAMz1npHGoRzWotlSnVlqI40mo%3D' (2024-07-07) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/f0ca58b37ff4179ce4587589c32205764d9b4a4f?narHash=sha256-7D57KwmTIbsopE/1g8hFeIbVoeJGgU3wfuGYvTlNQG4%3D' (2024-07-08) → 'github:oxalica/rust-overlay/3ef018b6d0f62eb59580a8e9fe141e37bf1d972d?narHash=sha256-GuPw2xhJZ%2BeszIJFu7z7AtqUmirSWPHpxuCpG6dSOic%3D' (2024-07-15) • Updated input 'sops': 'github:Mic92/sops-nix/c184aca4db5d71c3db0c8cbfcaaec337a5d065ea?narHash=sha256-kcI8q9Nh8/CSj0ygfWq1DLckHl8IHhFarL8ie6g7OEk%3D' (2024-07-07) → 'github:Mic92/sops-nix/0703ba03fd9c1665f8ab68cc3487302475164617?narHash=sha256-eTpnrT6yu1vp8C0B5fxHXhgKxHoYMoYTEikQx///jxY%3D' (2024-07-14) • Updated input 'sops/nixpkgs-stable': 'github:NixOS/nixpkgs/550ac3e955c30fe96dd8b2223e37e0f5d225c927?narHash=sha256-dudRkHPRivMNOhd04YI%2Bv4sWvn2SnN5ODSPIu5IVbco%3D' (2024-07-06) → 'github:NixOS/nixpkgs/74348da2f3a312ee25cea09b98cdba4cb9fa5d5d?narHash=sha256-6vuViC56%2BKSr%2B945bCV8akHK%2B7J5k6n/epYg/W3I5eQ%3D' (2024-07-14) • Updated input 'treefmt-nix': 'github:numtide/treefmt-nix/6fc8bded78715cdd43a3278a14ded226eb3a239e?narHash=sha256-/cKXod0oGLl%2BvH4bKBZnTV3qxrw4jgOLnyQ8KXey5J8%3D' (2024-07-08) → 'github:numtide/treefmt-nix/0fb28f237f83295b4dd05e342f333b447c097398?narHash=sha256-gCICMMX7VMSKKt99giDDtRLkHJ0cwSgBtDijJAqTlto%3D' (2024-07-15) |
||
---|---|---|
.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 |