No description
Erwin Boskma
7c4517e5db
Flake lock file updates: • Updated input 'attic': 'github:zhaofengli/attic/416687e59c4f0b32742423458cab2c5ff8fe748a?narHash=sha256-dAUWlC8uMJX9iovycfvJcg5nm3PzqJIRAOwN4z322zM%3D' (2024-09-11) → 'github:zhaofengli/attic/1b29816235b7573fca7f964709fd201e1a187024?narHash=sha256-icNt2T1obK3hFNgBOgiiyOoiScUfz9blmRbNp3aOUBE%3D' (2024-10-06) • Updated input 'colmena': 'github:zhaofengli/colmena/cd65ef7a25cdc75052fbd04b120aeb066c3881db?narHash=sha256-gWEpb8Hybnoqb4O4tmpohGZk6%2BaerAbJpywKcFIiMlg%3D' (2024-03-25) → 'github:zhaofengli/colmena/b0a62f234fae02a006123e661ff70e62af16106b?narHash=sha256-gyUVsPAWY9AgVKjrNPoowrIr5BvK4gI0UkDXvv8iSxA%3D' (2024-10-07) • Updated input 'colmena/stable': 'github:NixOS/nixpkgs/32dcb45f66c0487e92db8303a798ebc548cadedc?narHash=sha256-g7nIUV4uq1TOVeVIDEZLb005suTWCUjSY0zYOlSBsyE%3D' (2023-09-30) → 'github:NixOS/nixpkgs/797f7dc49e0bc7fab4b57c021cdf68f595e47841?narHash=sha256-Qb9MhKBUTCfWg/wqqaxt89Xfi6qTD3XpTzQ9eXi3JmE%3D' (2024-08-22) • Updated input 'disko': 'github:nix-community/disko/568727a884ae7cd9f266bd19aea655def8cafd78?narHash=sha256-4Pw3fVhN6xey5%2B2gUBm9nQJAjBqivffr%2Ba5ZsXYjzJ8%3D' (2024-10-02) → 'github:nix-community/disko/d39ee334984fcdae6244f5a8e6ab857479cbaefe?narHash=sha256-CTKEKPzD/j8FK6H4DO3EjyixZd3HHvgAgfnCwpGFP5c%3D' (2024-10-07) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/a483757de48eba86f4ab373fd522341555aecfd7?narHash=sha256-9cpTSjtShCU5MJwEm3cbL2pALTMwjCDTM3zeQ1wrkRI%3D' (2024-10-02) → 'github:nix-community/emacs-overlay/00e79db0e791b9fd393eb98068135cb08d33684b?narHash=sha256-0r%2Ba%2BL/KCZjeguYyLuog7/7EKqyAbgBmHCRDmUEbom8%3D' (2024-10-09) • Updated input 'emacs-overlay/nixpkgs-stable': 'github:NixOS/nixpkgs/1719f27dd95fd4206afb9cec9f415b539978827e?narHash=sha256-9/79hjQc9%2BxyH%2BQxeMcRsA6hDyw6Z9Eo1/oxjvwirLk%3D' (2024-09-30) → 'github:NixOS/nixpkgs/1bfbbbe5bbf888d675397c66bfdb275d0b99361c?narHash=sha256-a0a0M1TmXMK34y3M0cugsmpJ4FJPT/xsblhpiiX1CXo%3D' (2024-10-07) • Updated input 'home-manager': 'github:nix-community/home-manager/437ec62009fa8ceb684eb447d455ffba25911cf9?narHash=sha256-dlyV9/eiWkm/Y/t2%2Bk4CFZ29tBvCANmJogEYaHeAOTw%3D' (2024-10-01) → 'github:nix-community/home-manager/038630363e7de57c36c417fd2f5d7c14773403e4?narHash=sha256-VdRTjJFyq4Q9U7Z/UoC2Q5jK8vSo6E86lHc2OanXtvc%3D' (2024-10-07) • Updated input 'microvm': 'github:astro/microvm.nix/e832ffc16b09b1b5c7c1224532d03ed3ce68afd0?narHash=sha256-78hOotCZ/G8l4nyWPdMWSOojdJ5NwHTR0usBVVBNTtU%3D' (2024-10-02) → 'github:astro/microvm.nix/470537e671d743f40812b9c071a4130eabdb3deb?narHash=sha256-VRQm46/W29z87IeITfvxIrS6LUEItgDtEDzqVX59q0E%3D' (2024-10-08) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/11c43c830e533dad1be527ecce379fcf994fbbb5?narHash=sha256-oKtfbQB1MBypqIyzkC8QCQcVGOa1soaXaGgcBIoh14o%3D' (2024-09-30) → 'github:NixOS/nixos-hardware/ecfcd787f373f43307d764762e139a7cdeb9c22b?narHash=sha256-oKxDImsOvgUZMY4NwXVyUc/c1HiU2qInX%2Bb5BU0yXls%3D' (2024-10-07) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/27e30d177e57d912d614c88c622dcfdb2e6e6515?narHash=sha256-HP89HZOT0ReIbI7IJZJQoJgxvB2Tn28V6XS3MNKnfLs%3D' (2024-10-01) → 'github:nixos/nixpkgs/c31898adf5a8ed202ce5bea9f347b1c6871f32d1?narHash=sha256-yumd4fBc/hi8a9QgA9IT8vlQuLZ2oqhkJXHPKxH/tRw%3D' (2024-10-06) • Updated input 'pre-commit-hooks': 'github:cachix/git-hooks.nix/5f58871c9657b5fc0a7f65670fe2ba99c26c1d79?narHash=sha256-/odH2nUMAwkMgOS2nG2z0exLQNJS4S2LfMW0teqU7co%3D' (2024-10-02) → 'github:cachix/git-hooks.nix/1211305a5b237771e13fcca0c51e60ad47326a9a?narHash=sha256-eMeCTJZ5xBeQ0f9Os7K8DThNVSo9gy4umZLDfF5q6OM%3D' (2024-10-05) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/5e3eee4bc42a2504653bedfe95bceda9a1e85ae7?narHash=sha256-pJoN5Qd83coaoEJmpkxw%2Bcuh89IJORvLm8qyw3GMLIQ%3D' (2024-10-03) → 'github:oxalica/rust-overlay/c79229c66605b70c9be9d67652d3196b638050c7?narHash=sha256-anD4%2B6yZc7TRuaqPesWJa67Mzyq3ruR6YTpRDt%2BVhHc%3D' (2024-10-09) • Updated input 'sops': 'github:Mic92/sops-nix/3198a242e547939c5e659353551b0668ec150268?narHash=sha256-i47LQwoGCVQq4upV2YHV0OudkauHNuFsv306ualB/Sw%3D' (2024-09-30) → 'github:Mic92/sops-nix/06535d0e3d0201e6a8080dd32dbfde339b94f01b?narHash=sha256-lpunY1%2Bbf90ts%2BsA2/FgxVNIegPDKCpEoWwOPu4ITTQ%3D' (2024-10-08) • Updated input 'sops/nixpkgs-stable': 'github:NixOS/nixpkgs/dc454045f5b5d814e5862a6d057e7bb5c29edc05?narHash=sha256-vNv%2BaJUW5/YurRy1ocfvs4q/48yVESwlC/yHzjkZSP8%3D' (2024-09-08) → 'github:NixOS/nixpkgs/17ae88b569bb15590549ff478bab6494dde4a907?narHash=sha256-uogSvuAp%2B1BYtdu6UWuObjHqSbBohpyARXDWqgI12Ss%3D' (2024-10-05) • Updated input 'treefmt-nix': 'github:numtide/treefmt-nix/879b29ae9a0378904fbbefe0dadaed43c8905754?narHash=sha256-uGRlRT47ecicF9iLD1G3g43jn2e%2Bb5KaMptb59LHnvM%3D' (2024-09-27) → 'github:numtide/treefmt-nix/4446c7a6fc0775df028c5a3f6727945ba8400e64?narHash=sha256-xpRqITAoD8rHlXQafYZOLvUXCF6cnZkPfoq67ThN0Hc%3D' (2024-10-03) |
||
---|---|---|
.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 |