No description
Erwin Boskma
0d8c0352f6
Flake lock file updates: • Updated input 'colmena': 'github:zhaofengli/colmena/c84ccd0a7a712475e861c2b111574472b1a8d0cd?narHash=sha256-QQKQ6r3CID8aXn2ZXZ79ZJxdCOeVP%2BJTnOctDALErOw%3D' (2024-01-29) → 'github:zhaofengli/colmena/cd65ef7a25cdc75052fbd04b120aeb066c3881db?narHash=sha256-gWEpb8Hybnoqb4O4tmpohGZk6%2BaerAbJpywKcFIiMlg%3D' (2024-03-25) • Updated input 'disko': 'github:nix-community/disko/a8c966ee117c278a5aabc6f00b00ef62eb7e28f6?narHash=sha256-pvjqjx4L2Hx/NP3RWcwLjk%2BABtMODAJ9%2BrgreU6fP6I%3D' (2024-03-21) → 'github:nix-community/disko/a6717b1afee7ae955c61eefdf0ce8f864ef78115?narHash=sha256-3wKGpHy9Kyh98DrziqC/s//60Q0pE17NgbY93L0uWng%3D' (2024-03-26) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/cad98a253dc7b22fb12db42ccac3d04402e63dd0?narHash=sha256-9SmpbzwNL5m3pIqWrT%2B7PnQDfYBQAp8EoKcJCFyRITI%3D' (2024-03-22) → 'github:nix-community/emacs-overlay/81d4eb044fac45daf51281a046d413a40f05d103?narHash=sha256-jPEUYELo7ACEiFU7jKDdQ%2ByC5OkqG2UcHk1/N%2BN7f3E%3D' (2024-03-26) • Updated input 'emacs-overlay/nixpkgs-stable': 'github:NixOS/nixpkgs/f091af045dff8347d66d186a62d42aceff159456?narHash=sha256-FOOBJ3DQenLpTNdxMHR2CpGZmYuctb92gF0lpiirZ30%3D' (2024-03-20) → 'github:NixOS/nixpkgs/56528ee42526794d413d6f244648aaee4a7b56c0?narHash=sha256-l0zlN/3CiodvWDtfBOVxeTwYSRz93muVbXWSpaMjXxM%3D' (2024-03-22) • Updated input 'home-manager': 'github:nix-community/home-manager/1c2acec99933f9835cc7ad47e35303de92d923a4?narHash=sha256-jZpdsypecYTOO9l12Vy77otGmh9uz8tGzcguifA30Vs%3D' (2024-03-20) → 'github:nix-community/home-manager/1c2c5e4cabba4c43504ef0f8cc3f3dfa284e2dbb?narHash=sha256-WJOahf%2B6115%2BGMl3wUfURu8fszuNeJLv9qAWFQl3Vmo%3D' (2024-03-22) • Updated input 'microvm': 'github:astro/microvm.nix/d5283b0c83df3475ca967aa1ca9496d3e387084a?narHash=sha256-4Uya0uqALYubEvHcqYY/3x%2BMaM%2Bop0x0djGhj%2BTh6Mk%3D' (2024-03-21) → 'github:astro/microvm.nix/d31f7c7d3194c51372134832a3a2a256773c161a?narHash=sha256-nwl2Cygq7NrV9QcebJE/T/vXv7w%2BzLERD7ygHz0F5g8%3D' (2024-03-23) • Updated input 'nix-ld-rs': 'github:nix-community/nix-ld-rs/5806f307048a9ae9e3e88cc48006d4d0b2df4410?narHash=sha256-l8OMloSbDyjIb9yVeD10M7aK7qDCVMt3huBztihrbwM%3D' (2023-11-12) → 'github:nix-community/nix-ld-rs/76999cac5abefc7862b19daeef0ef91d4270fb17?narHash=sha256-j0yUDFX7cyoM5r9afQ45tfu8wqUk0dRicOb79%2BK81JI%3D' (2024-03-25) • Updated input 'nix-ld-rs/flake-utils': 'github:numtide/flake-utils/ff7b65b44d01cf9ba6a71320833626af21126384?narHash=sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt%2BxmY%3D' (2023-09-12) → 'github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a?narHash=sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ%3D' (2024-03-11) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/1e679b9a9970780cd5d4dfe755a74a8f96d33388?narHash=sha256-eIsfu3c9JUBgm3cURSKTXLEI9Dlk1azo%2BMWKZVqrmkc%3D' (2024-03-18) → 'github:NixOS/nixos-hardware/9a763a7acc4cfbb8603bb0231fec3eda864f81c0?narHash=sha256-luvqik%2Bi3HTvCbXQZgB6uggvEcxI9uae0nmrgtXJ17U%3D' (2024-03-25) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/b06025f1533a1e07b6db3e75151caa155d1c7eb3?narHash=sha256-qrxvLS888pNJFwJdK%2Bhf1wpRCSQcqA6W5%2BOx202NDa0%3D' (2024-03-19) → 'github:nixos/nixpkgs/44d0940ea560dee511026a53f0e2e2cde489b4d4?narHash=sha256-YN/Ciidm%2BA0fmJPWlHBGvVkcarYWSC%2Bs3NTPk/P%2Bq3c%3D' (2024-03-23) • Updated input 'pre-commit-hooks': 'github:cachix/pre-commit-hooks.nix/e611897ddfdde3ed3eaac4758635d7177ff78673?narHash=sha256-6hOpUiuxuwpXXc/xfJsBUJeqqgGI%2BJMJuLo45aG3cKc%3D' (2024-03-20) → 'github:cachix/pre-commit-hooks.nix/db656fc3e34907000df26e8bc5cc3c94fb27f353?narHash=sha256-%2BrTCra8TY4vuSNTtQ0tcex1syCRPoKyb8vyHmoxkga4%3D' (2024-03-25) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/eec55ba9fcde6be4c63942827247e42afef7fafe?narHash=sha256-PpNb4xq7U5Q/DdX40qe7CijUsqhVVM3VZrhN0%2Bc6Lcw%3D' (2024-03-22) → 'github:oxalica/rust-overlay/4c11d2f698ff1149f76b69e72852d5d75f492d0c?narHash=sha256-%2B5M/czgYGqs/jKmi8bvYC%2BJUYboUKNTfkRiesXopeXQ%3D' (2024-03-26) • Updated input 'sops': 'github:Mic92/sops-nix/83b68a0e8c94b72cdd0a6e547a14ca7eb1c03616?narHash=sha256-RquCuzxfy4Nr8DPbdp3D/AsbYep21JgQzG8aMH9jJ4A%3D' (2024-03-17) → 'github:Mic92/sops-nix/405987a66cce9a4a82f321f11b205982a7127c88?narHash=sha256-N%2BPp3/8H%2Brd7cO71VNV/ovV/Kwt%2BXNeUHNhsmyTabdM%3D' (2024-03-24) • Updated input 'sops/nixpkgs-stable': 'github:NixOS/nixpkgs/6dc11d9859d6a18ab0c5e5829a5b8e4810658de3?narHash=sha256-y%2Bl3eH53UlENaYa1lmnCBHusZb1kxBEFd2/c7lDsGpw%3D' (2024-03-16) → 'github:NixOS/nixpkgs/ac6bdf6181666ebb4f90dd20f31e2fa66ede6b68?narHash=sha256-eEu5y4J145BYDw9o/YEmeJyqh8blgnZwuz9k234zuWc%3D' (2024-03-23) |
||
---|---|---|
.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 |