No description
Erwin Boskma
b8e47a6303
Flake lock file updates: • Updated input 'anyrun': 'github:Kirottu/anyrun/c6101a31a80b51e32e96f6a77616b609770172e0?narHash=sha256-ZhSA0e45UxiOAjEVqkym/aULh0Dt%2BKHJLNda7bjx9UI%3D' (2024-07-16) → 'github:Kirottu/anyrun/6e0385f6945d701545edc5bccfc5f544e1e12663?narHash=sha256-PhJdr8b4nZVHts5KMEsf7vCDXVpFIFCa7VlCt%2BoYpL4%3D' (2024-10-13) • Updated input 'anyrun/flake-parts': 'github:hercules-ci/flake-parts/2a55567fcf15b1b1c7ed712a2c6fadaec7412ea8?narHash=sha256-iKzJcpdXih14qYVcZ9QC9XuZYnPc6T8YImb6dX166kw%3D' (2024-06-01) → 'github:hercules-ci/flake-parts/3d04084d54bedc3d6b8b736c70ef449225c361b1?narHash=sha256-K5ZLCyfO/Zj9mPFldf3iwS6oZStJcU4tSpiXTMYaaL0%3D' (2024-10-01) • Updated input 'attic': 'github:zhaofengli/attic/1b29816235b7573fca7f964709fd201e1a187024?narHash=sha256-icNt2T1obK3hFNgBOgiiyOoiScUfz9blmRbNp3aOUBE%3D' (2024-10-06) → 'github:zhaofengli/attic/e5c8d2d50981a34602358d917e7be011b2c397a8?narHash=sha256-f3bKclEV5t1eP1OH7kTGv/tLzlToSRIe0ktkdl1jihw%3D' (2024-10-10) • Updated input 'disko': 'github:nix-community/disko/d39ee334984fcdae6244f5a8e6ab857479cbaefe?narHash=sha256-CTKEKPzD/j8FK6H4DO3EjyixZd3HHvgAgfnCwpGFP5c%3D' (2024-10-07) → 'github:nix-community/disko/b6215392ec3bd05e9ebfbb2f7945c414096fce8f?narHash=sha256-KOp33tls7jRAhcmu77aVxKpSMou8QgK0BC%2BY3sYLuGo%3D' (2024-10-12) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/141d26694d12456d2012cbec704a979902ab6ccd?narHash=sha256-g3kUnceXuCz%2BX3LNIJqECdmBWLKmhc3bWUpDLXC%2BjtQ%3D' (2024-10-10) → 'github:nix-community/emacs-overlay/87e8ffccb53aa67dfaab7bd4fd9f27b543e73cec?narHash=sha256-pPzaB8a70Lc4utiOBJkoTg2Hw9R5KrQYbnxDXZLXEd4%3D' (2024-10-14) • Updated input 'emacs-overlay/nixpkgs-stable': 'github:NixOS/nixpkgs/1bfbbbe5bbf888d675397c66bfdb275d0b99361c?narHash=sha256-a0a0M1TmXMK34y3M0cugsmpJ4FJPT/xsblhpiiX1CXo%3D' (2024-10-07) → 'github:NixOS/nixpkgs/a3f9ad65a0bf298ed5847629a57808b97e6e8077?narHash=sha256-u%2BrxA79a0lyhG%2Bu%2BoPBRtTDtzz8kvkc9a6SWSt9ekVc%3D' (2024-10-12) • Updated input 'eww': 'github:elkowar/eww/e242d40e3522b27bf087addba23fc7588099b7a6?narHash=sha256-3AU48S429GzXxhFTWDbIaC0Cr7HMAGiF8NuuznbOufI%3D' (2024-09-26) → 'github:elkowar/eww/50ec181fc7ff2a68d6330e8897de2c5179575935?narHash=sha256-GxbKoS2TQNMeD4dbZn1IU%2B/BOiYGeVALHVAbZnFc3UU%3D' (2024-10-12) • Updated input 'eww/flake-compat': 'github:edolstra/flake-compat/0f9255e01c2351cc7d116c072cb317785dd33b33?narHash=sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U%3D' (2023-10-04) → 'github:edolstra/flake-compat/baa7aa7bd0a570b3b9edd0b8da859fee3ffaa4d4?narHash=sha256-xr54XK0SjczlUxRo5YwodibUSlpivS9bqHt8BNyWVQA%3D' (2024-03-09) • Updated input 'home-manager': 'github:nix-community/home-manager/038630363e7de57c36c417fd2f5d7c14773403e4?narHash=sha256-VdRTjJFyq4Q9U7Z/UoC2Q5jK8vSo6E86lHc2OanXtvc%3D' (2024-10-07) → 'github:nix-community/home-manager/64c6325b28ebd708653dd41d88f306023f296184?narHash=sha256-nr5QiXwQcZmf6/auC1UpX8iAtINMtdi2mH%2BOkqJQVmU%3D' (2024-10-13) • Updated input 'microvm': 'github:astro/microvm.nix/470537e671d743f40812b9c071a4130eabdb3deb?narHash=sha256-VRQm46/W29z87IeITfvxIrS6LUEItgDtEDzqVX59q0E%3D' (2024-10-08) → 'github:astro/microvm.nix/4d81c4115ef832880561f243efec21f06d2a8b7c?narHash=sha256-RFKyZygnUbJlWq1uBn4JvEEcQKZW3AFBL3bQoywECPI%3D' (2024-10-13) • Updated input 'nixos-facter-modules': 'github:numtide/nixos-facter-modules/ec6ef7d5495bb5db1b6991791625eb22d108e954?narHash=sha256-erluG4Za9uJ6q83Vp%2BzRchFxW1Z2YpIPC1nNeKKqR7g%3D' (2024-09-30) → 'github:numtide/nixos-facter-modules/9f2a45b372830d28412160413d1d83f5ee11cc2f?narHash=sha256-io1UeGaV2HcmK1zCZPnawJu3CxKHhiZ83NBJ%2BqshWIo%3D' (2024-10-12) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/ecfcd787f373f43307d764762e139a7cdeb9c22b?narHash=sha256-oKxDImsOvgUZMY4NwXVyUc/c1HiU2qInX%2Bb5BU0yXls%3D' (2024-10-07) → 'github:NixOS/nixos-hardware/a8dd1b21995964b115b1e3ec639dd6ce24ab9806?narHash=sha256-oazkQ/z7r43YkDLLQdMg8oIB3CwWNb%2B2ZrYOxtLEWTQ%3D' (2024-10-12) • Updated input 'pre-commit-hooks': 'github:cachix/git-hooks.nix/1211305a5b237771e13fcca0c51e60ad47326a9a?narHash=sha256-eMeCTJZ5xBeQ0f9Os7K8DThNVSo9gy4umZLDfF5q6OM%3D' (2024-10-05) → 'github:cachix/git-hooks.nix/ff68f91754be6f3427e4986d7949e6273659be1d?narHash=sha256-WybK5E3hpGxtCYtBwpRj1E9JoiVxe%2B8kX83snTNaFHE%3D' (2024-10-13) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/94749eee5a2b351b6893d5bddb0a18f7f01251ac?narHash=sha256-GY755PX8CbGH3O9iKqauhkFTdP9WSKcOfOkZBe3SOqw%3D' (2024-10-10) → 'github:oxalica/rust-overlay/bdbe1611c2029de90bca372ce0b1e3b4fa65f55a?narHash=sha256-e4jz7yFADiZjMhv%2BiQwYtAN8AOUlOpbNQYnbwUFLjeM%3D' (2024-10-14) |
||
---|---|---|
.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 |