No description
Erwin Boskma
ee5c3adc0f
Flake lock file updates: • Updated input 'atuin': 'github:atuinsh/atuin/0da8d34425ef83395759db79377025c062a69911?narHash=sha256-VHP7ESpUHb5STZfbZyMDGz9g%2BxsgGdJGa8iX4rkFYz8%3D' (2024-04-10) → 'github:atuinsh/atuin/50a73f055288d72eeeb128233e2a04bc88a5d5e8?narHash=sha256-lPAdHkIQBydROJ2e6t0nFP9X220GQ4sEwb5lFQBGYb0%3D' (2024-04-15) • Updated input 'disko': 'github:nix-community/disko/a297cb1cb0337ee10a7a0f9517954501d8f6f74d?narHash=sha256-aAksVB7zMfBQTz0q2Lw3o78HM3Bg2FRziX2D6qnh%2Bsk%3D' (2024-04-11) → 'github:nix-community/disko/bb5ba68ebb73b5ca7996b64e1457fe885891e78e?narHash=sha256-k1aV06cotPwWO3FW%2Bho%2BdEoGjxNM303%2BUmhiG2o6XPs%3D' (2024-04-15) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/9b79fd139ff55062e46191bd5dd42fcb79696328?narHash=sha256-mEL4y1N/aQrI%2BOeYHm6Sol8lpDVsceCc2TJF8%2BuMv6Y%3D' (2024-04-11) → 'github:nix-community/emacs-overlay/1b01966ee01008bcec18702ea5e543b93236ecef?narHash=sha256-7tpbjpUI7YDpxP0ciM9bWBxzAT3jsZP9l8EGWFQVBmU%3D' (2024-04-15) • Updated input 'emacs-overlay/nixpkgs-stable': 'github:NixOS/nixpkgs/d272ca50d1f7424fbfcd1e6f1c9e01d92f6da167?narHash=sha256-y31s5idk3jMJMAVE4Ud9AdI7HT3CgTAeMTJ0StqKN7Y%3D' (2024-04-08) → 'github:NixOS/nixpkgs/90055d5e616bd943795d38808c94dbf0dd35abe8?narHash=sha256-ZEfGB3YCBVggvk0BQIqVY7J8XF/9jxQ68fCca6nib%2B8%3D' (2024-04-13) • Updated input 'eww': 'github:elkowar/eww/ebe5f349d184e79edc33199d064d9ec5f1e4dd9b?narHash=sha256-WcAWIvIdGE0tcS7WJ6JlbRlUnKvpvut500NozUmJ6jY%3D' (2024-04-06) → 'github:elkowar/eww/1e37f53e99016aa2cd725d7050788bb5d4fcc76a?narHash=sha256-dm4bufwlVDUE4ndsR6cAPur75hvlVRzIxbMKJCizutg%3D' (2024-04-14) • Updated input 'home-manager': 'github:nix-community/home-manager/31357486b0ef6f4e161e002b6893eeb4fafc3ca9?narHash=sha256-2APpO3ZW4idlgtlb8hB04u/rmIcKA8O7pYqxF66xbNY%3D' (2024-04-10) → 'github:nix-community/home-manager/1c43dcfac48a2d622797f7ab741670fdbcf8f609?narHash=sha256-t0P/rKlsE5l1O3O2LYtAelLzp7PeoPCSzsIietQ1hSM%3D' (2024-04-15) • Updated input 'nix-ld-rs': 'github:nix-community/nix-ld-rs/f1c82bda746815f2162a9cc959296bfa0fc50499?narHash=sha256-99MkjQdZlEJ4292bUtHx7C07pDSbU9syEb3lc%2BFrPkw%3D' (2024-04-09) → 'github:nix-community/nix-ld-rs/6b76b4aa158819d6bce637485c4cdd710517c6ce?narHash=sha256-345jReT2AFR6VK0KYAEmIjsMvlCCFsoT0Xaku6Nw1fQ%3D' (2024-04-13) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/e1c4bac14beb8c409d0534382cf967171706b9d9?narHash=sha256-4zhaEW1nB%2BnGbCNMjOggWeY5nXs/H0Y71q0%2Bh%2BjdxoU%3D' (2024-04-10) → 'github:NixOS/nixos-hardware/f58b25254be441cd2a9b4b444ed83f1e51244f1f?narHash=sha256-7/5ubuwdEbQ7Z%2BVqd4u0mM5L2VMNDsBh54visp27CtQ%3D' (2024-04-12) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/4cba8b53da471aea2ab2b0c1f30a81e7c451f4b6?narHash=sha256-vMZ5603yU0wxgyQeHJryOI%2BO61yrX2AHwY6LOFyV1gM%3D' (2024-04-08) → 'github:nixos/nixpkgs/cfd6b5fc90b15709b780a5a1619695a88505a176?narHash=sha256-WKm9CvgCldeIVvRz87iOMi8CFVB1apJlkUT4GGvA0iM%3D' (2024-04-12) • Updated input 'pre-commit-hooks': 'github:cachix/pre-commit-hooks.nix/70f504012f0a132ac33e56988e1028d88a48855c?narHash=sha256-igpsH%2Bpa6yFwYOdah3cFciCk8gw%2BytniG9quf5f/q84%3D' (2024-04-08) → 'github:cachix/pre-commit-hooks.nix/40e6053ecb65fcbf12863338a6dcefb3f55f1bf8?narHash=sha256-nMirxrGteNAl9sWiOhoN5tIHyjBbVi5e2tgZUgZlK3Y%3D' (2024-04-12) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/35ebec41fcdeeae8e012e7d62ba153a13645227f?narHash=sha256-KZJnVw3TdfDyUhvClzgy3IEoC9tRhvG0yM%2BlHfqAm34%3D' (2024-04-11) → 'github:oxalica/rust-overlay/b186d85e747e2b7bee220ec95839fb66c868dc47?narHash=sha256-Ic7zCPfiSYc9nFFp%2BE44WFk3TBJ99J/uPZ4QXX%2BuPPw%3D' (2024-04-15) • Updated input 'sops': 'github:Mic92/sops-nix/538c114cfdf1f0458f507087b1dcf018ce1c0c4c?narHash=sha256-a4hbls4vlLRMciv62YrYT/Xs/3Cubce8WFHPUDWwzf8%3D' (2024-04-08) → 'github:Mic92/sops-nix/226062b47fe0e2130ba3ee9f4f1c880dc815cf87?narHash=sha256-ZaefFyvt5369XdjzSw43NhfbPM9MN5b9YXhzx4lFIRc%3D' (2024-04-14) • Updated input 'sops/nixpkgs-stable': 'github:NixOS/nixpkgs/e38d7cb66ea4f7a0eb6681920615dfcc30fc2920?narHash=sha256-g0whLLwRvgO2FsyhY8fNk%2BTWenS3jg5UdlWL4uqgFeo%3D' (2024-04-06) → 'github:NixOS/nixpkgs/c27f3b6d8e29346af16eecc0e9d54b1071eae27e?narHash=sha256-RifMwYuKu5v6x6O65msKDTqKkQ9crGwOB7yr20qMEuE%3D' (2024-04-13) |
||
---|---|---|
.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 |