No description
Erwin Boskma
268e406443
Flake lock file updates:
• Updated input 'atuin':
'github:atuinsh/atuin/831dd783ed41b3922ac3be8e4a849ce99c5ca272?narHash=sha256-MmMpEKClQog7YlWh0XUvodNdfmzxV4lZy%2BawBC0yo%2BE%3D' (2024-05-01)
→ 'github:atuinsh/atuin/eebfd048797d2faffd0a9c6633580c5e3077d688?narHash=sha256-%2B1/Hyq4PHEM8CX7TsSaUiODsv82IYjfu0wFZ%2BJ9H0hU%3D' (2024-05-06)
• Updated input 'disko':
'github:nix-community/disko/d57058eb09dd5ec00c746df34fe0a603ea744370?narHash=sha256-W7%2BrtMzRmdovzndN2NYUv5xzkbMudtQ3jbyFuGk0O1E%3D' (2024-05-02)
→ 'github:nix-community/disko/e1b3ae2b4ebc3c7b83154b9361e3d154e64e362d?narHash=sha256-oYmauPDpSgWjY9hvzwd815igGfP8Ds5Bk6bTo5JrBRk%3D' (2024-05-06)
• Updated input 'emacs-overlay':
'github:nix-community/emacs-overlay/cccda8508481ea8c8ff4e50a297900ed54b26dc3?narHash=sha256-vykQwGwiu178RHmmRRTzId3qpc9YQtY29Jie7E2GFMg%3D' (2024-05-02)
→ 'github:nix-community/emacs-overlay/03e77b28d0e617a9961762986a9645e8fd21a8d2?narHash=sha256-BlGVcAhjkPqTAbUlGjs0PVYYY54AGEq2kwiL97VwOZ8%3D' (2024-05-06)
• Updated input 'emacs-overlay/nixpkgs-stable':
'github:NixOS/nixpkgs/0638fe2715d998fa81d173aad264eb671ce2ebc1?narHash=sha256-ILsf3bdY/hNNI/Hu5bSt2/KbmHaAVhBbNUOdGztTHEg%3D' (2024-05-01)
→ 'github:NixOS/nixpkgs/651b4702e27a388f0f18e1b970534162dec09aff?narHash=sha256-tbg0MEuKaPcUrnmGCu4xiY5F%2B7LW2%2BECPKVAJd2HLwM%3D' (2024-05-04)
• Updated input 'eww':
'github:elkowar/eww/2c8811512460ce6cc75e021d8d081813647699dc?narHash=sha256-eDOg5Ink3iWT/B1WpD9po5/UxS4DEaVO4NPIRyjSheM%3D' (2024-04-26)
→ 'github:elkowar/eww/a4da192d629cc43ef3da984b6f9197579a22afe1?narHash=sha256-12ywI/J3YCvZz6BlcW7OEMVwFT5qwLW5VLYPzKyA7s0%3D' (2024-05-05)
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/4d34ce6412bc450b1d4208c953dc97c7fc764f1a?narHash=sha256-bMkNmAXLj8iyTvxaaD/StcLSadbj1chPcJOjtuVnLmA%3D' (2024-05-01)
→ 'github:hercules-ci/flake-parts/e5d10a24b66c3ea8f150e47dfdb0416ab7c3390e?narHash=sha256-yzcRNDoyVP7%2BSCNX0wmuDju1NUCt8Dz9%2BlyUXEI0dbI%3D' (2024-05-02)
• Updated input 'flake-parts/nixpkgs-lib':
'github:NixOS/nixpkgs/58a1abdbae3217ca6b702f03d3b35125d88a2994?dir=lib&narHash=sha256-mdTQw2XlariysyScCv2tTE45QSU9v/ezLcHJ22f0Nxc%3D' (2024-04-27)
→ '
|
||
---|---|---|
.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 |