No description
Erwin Boskma
f87d747ae1
Flake lock file updates: • Updated input 'attic': 'github:zhaofengli/attic/c2354f658582f7c870316dfce612cf7454720abe?narHash=sha256-1W9Cw4xw8jb5zAF4YXN1PoAmClR9zS0k%2BYyt6E8gfmE%3D' (2024-08-24) → 'github:zhaofengli/attic/bea72d75b6165dfb529ba0c39cc6c7e9c7f0d234?narHash=sha256-IdM%2BpZ6BnmD3o1fTJZ2BD43k7dwi1BbVfLDLpM1nE5s%3D' (2024-09-02) • Added input 'attic/flake-parts': 'github:hercules-ci/flake-parts/8471fe90ad337a8074e957b69ca4d0089218391d?narHash=sha256-XOQkdLafnb/p9ij77byFQjDf5m5QYl9b2REiVClC%2Bx4%3D' (2024-08-01) • Added input 'attic/flake-parts/nixpkgs-lib': follows 'attic/nixpkgs' • Updated input 'attic/nixpkgs': 'github:NixOS/nixpkgs/d4a7a4d0e066278bfb0d77bd2a7adde1c0ec9e3d?narHash=sha256-EU%2BW5F6y2CVNxGrGIMpY7nSVYq72WRChYxF4zpjx0y4%3D' (2024-08-16) → 'github:NixOS/nixpkgs/b96f849e725333eb2b1c7f1cb84ff102062468ba?narHash=sha256-LB3jqSGW5u1ZcUcX6vO/qBOq5oXHlmOCxsTXGMEitp4%3D' (2024-08-30) • Updated input 'attic/nixpkgs-stable': 'github:NixOS/nixpkgs/205fd4226592cc83fd4c0885a3e4c9c400efabb5?narHash=sha256-zwVvxrdIzralnSbcpghA92tWu2DV2lwv89xZc8MTrbg%3D' (2024-07-09) → 'github:NixOS/nixpkgs/797f7dc49e0bc7fab4b57c021cdf68f595e47841?narHash=sha256-Qb9MhKBUTCfWg/wqqaxt89Xfi6qTD3XpTzQ9eXi3JmE%3D' (2024-08-22) • Updated input 'disko': 'github:nix-community/disko/511388d837178979de66d14ca4a2ebd5f7991cd3?narHash=sha256-GSqAwa00%2BvRuHbq9O/yRv7Ov7W/pcMLis3HmeHv8a%2BQ%3D' (2024-08-29) → 'github:nix-community/disko/96073e6423623d4a8027e9739d2af86d6422ea7a?narHash=sha256-a2iTMBngegEZvaNAzzxq5Gc5Vp3UWoGUqWtK11Txbic%3D' (2024-09-02) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/49261a899cc9c11a465c243d9dcebc54d3b91fdb?narHash=sha256-ezhDP4Q14peqH9FFdUTS4THS6%2B7kcLZuAlYrVc8fODE%3D' (2024-08-30) → 'github:nix-community/emacs-overlay/2ab55649b8375215b978db50efc61064bd4efab8?narHash=sha256-oM5QnX7a37qruUw%2BhNVkRU03TF33LcOWm%2BO5epNOkso%3D' (2024-09-03) • Updated input 'emacs-overlay/nixpkgs-stable': 'github:NixOS/nixpkgs/ae2fc9e0e42caaf3f068c1bfdc11c71734125e06?narHash=sha256-WXHSyOF4nBX0cvHN3DfmEMcLOVdKH6tnMk9FQ8wTNRc%3D' (2024-08-28) → 'github:NixOS/nixpkgs/6e99f2a27d600612004fbd2c3282d614bfee6421?narHash=sha256-eV%2B63gK0Mp7ygCR0Oy4yIYSNcum2VQwnZamHxYTNi%2BM%3D' (2024-08-30) • Updated input 'eww': 'github:elkowar/eww/52d3669881f962755033a2a8caa04a23456bda57?narHash=sha256-lyBsSAfjWxVoEHFHeKI0DXqiz0i3sOocodwXpQ1QhS0%3D' (2024-08-30) → 'github:elkowar/eww/8661abf2bf07f5a809fc995233d93810cc1ac871?narHash=sha256-q82u3/pcP5T%2B%2BTMdDmaeDKYuCyky1Bo5BjHY1/NVHbY%3D' (2024-09-03) • Updated input 'flake-parts': 'github:hercules-ci/flake-parts/4f37dc19b47b50512008f38858734f8fa8a4e0cc?narHash=sha256-1WXS/BBKZUcWlfeZL7U8ujuCdlLktImbpmJgN9zsZXM%3D' (2024-08-30) → 'github:hercules-ci/flake-parts/567b938d64d4b4112ee253b9274472dc3a346eb6?narHash=sha256-%2Bebgonl3NbiKD2UD0x4BszCZQ6sTfL4xioaM49o5B3Y%3D' (2024-09-01) • Updated input 'flake-parts/nixpkgs-lib': ' |
||
---|---|---|
.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 |