No description
Erwin Boskma
8cd57eef49
Flake lock file updates: • Updated input 'disko': 'github:nix-community/disko/c09c3a9639690f94ddff44c3dd25c85602e5aeb2?narHash=sha256-aXlifKr6Brg0SBUBgRNEBaZf3JLUeGhM9BX2gam%2Bvvo%3D' (2024-03-18) → 'github:nix-community/disko/e9875b969086a53dff5ec4677575ad3156fc875d?narHash=sha256-kFzpfZcInLhBFWHy452NlvFuzNr0BDEkz3w9Sgg2ypo%3D' (2024-03-20) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/ddc0d1e406566b0389f4e7f25d4b6aa59f98114e?narHash=sha256-G4sFKirxi49JaYi90Aq5Lo0jVSCJfYwYVTPhIt8zBT8%3D' (2024-03-18) → 'github:nix-community/emacs-overlay/a9216f7a1ec216e36e31c7d2ed42de4df89d918a?narHash=sha256-IbidJZykfjyGZ9totyhUIPHcDSqW1B3Pepgo3c9tDHI%3D' (2024-03-20) • Updated input 'emacs-overlay/nixpkgs-stable': 'github:NixOS/nixpkgs/614b4613980a522ba49f0d194531beddbb7220d3?narHash=sha256-3Eh7fhEID17pv9ZxrPwCLfqXnYP006RKzSs0JptsN84%3D' (2024-03-17) → 'github:NixOS/nixpkgs/fa9f817df522ac294016af3d40ccff82f5fd3a63?narHash=sha256-RLvwdQSENKOaLdKhNie8XqHmTXzNm00/M/THj6zplQo%3D' (2024-03-19) • Updated input 'eww': 'github:elkowar/eww/4ce42455a4744b0dc00dd356ba9b32c1ca558a0e?narHash=sha256-M1MCbKXTI/Z7eWRi9jweloyUTIOMpqN33h5X6hOgeKU%3D' (2024-03-16) → 'github:elkowar/eww/f1ec00a1c9a24c0738fb5d5ac309d6af16e67415?narHash=sha256-O4zGpwaXhnD%2B01zTn6cQZDgU3HagGt4DBPpQyDbD6fk%3D' (2024-03-20) • Updated input 'home-manager': 'github:nix-community/home-manager/7b3fca5adcf6c709874a8f2e0c364fe9c58db989?narHash=sha256-eZCxuF58YWgaJMMRrn8oRkwRhxooe5kBS/s2wRVr9PA%3D' (2024-03-17) → 'github:nix-community/home-manager/022464438a85450abb23d93b91aa82e0addd71fb?narHash=sha256-2bNMraoRB4pdw/HtxgYTFeMhEekBZeQ53/a8xkqpbZc%3D' (2024-03-19) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/968952f950a59dee9ed1e8799dda38c6dfa1bad3?narHash=sha256-6zR642tXcZzzk3C8BHxlCrR0yh8z8zMXLiuXpWDIpX0%3D' (2024-03-16) → 'github:NixOS/nixos-hardware/1e679b9a9970780cd5d4dfe755a74a8f96d33388?narHash=sha256-eIsfu3c9JUBgm3cURSKTXLEI9Dlk1azo%2BMWKZVqrmkc%3D' (2024-03-18) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/c75037bbf9093a2acb617804ee46320d6d1fea5a?narHash=sha256-rL5LSYd85kplL5othxK5lmAtjyMOBg390sGBTb3LRMM%3D' (2024-03-16) → 'github:nixos/nixpkgs/b06025f1533a1e07b6db3e75151caa155d1c7eb3?narHash=sha256-qrxvLS888pNJFwJdK%2Bhf1wpRCSQcqA6W5%2BOx202NDa0%3D' (2024-03-19) • Updated input 'pre-commit-hooks': 'github:cachix/pre-commit-hooks.nix/5df5a70ad7575f6601d91f0efec95dd9bc619431?narHash=sha256-M%2BNg6%2BSePmA8g06CmUZWi1AjG2tFBX9WCXElBHEKnyM%3D' (2024-02-15) → 'github:cachix/pre-commit-hooks.nix/e611897ddfdde3ed3eaac4758635d7177ff78673?narHash=sha256-6hOpUiuxuwpXXc/xfJsBUJeqqgGI%2BJMJuLo45aG3cKc%3D' (2024-03-20) • Updated input 'pre-commit-hooks/gitignore': 'github:hercules-ci/gitignore.nix/43e1aa1308018f37118e34d3a9cb4f5e75dc11d5?narHash=sha256-gGPa9qWNc6eCXT/%2BZ5/zMkyYOuRZqeFZBDbopNZQkuY%3D' (2023-12-29) → 'github:hercules-ci/gitignore.nix/637db329424fd7e46cf4185293b9cc8c88c95394?narHash=sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs%3D' (2024-02-28) • Updated input 'pre-commit-hooks/nixpkgs-stable': 'github:NixOS/nixpkgs/3dc440faeee9e889fe2d1b4d25ad0f430d449356?narHash=sha256-YWuCrtsty5vVZvu%2B7BchAxmcYzTMfolSPP5io8%2BWYCg%3D' (2024-01-10) → 'github:NixOS/nixpkgs/614b4613980a522ba49f0d194531beddbb7220d3?narHash=sha256-3Eh7fhEID17pv9ZxrPwCLfqXnYP006RKzSs0JptsN84%3D' (2024-03-17) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/a1b17cacfa7a6ed18f553a195a047f4e73e95da9?narHash=sha256-Ulsx%2Bt4SnRmjMJx4eF2Li%2B3rBGYhZp0XNShVjIheCfg%3D' (2024-03-18) → 'github:oxalica/rust-overlay/549f4db17b5c0c143b1308fcfe9620129c387472?narHash=sha256-PcHmHQvKIOdvAxlqxZ/DPmUMhUUvfp16pRtyW148u/0%3D' (2024-03-20) |
||
---|---|---|
.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 |