No description
Erwin Boskma
a97936e639
Flake lock file updates: • Updated input 'atuin': 'github:atuinsh/atuin/bb24f022640f3b23f570c5a05d2e9dd731db7c18?narHash=sha256-hzU9CXPZijcjCUn/rszEBUskbctfEGQMqGjfas6pKEA%3D' (2024-06-18) → 'github:atuinsh/atuin/b06b7b509a454656d92196c8a58071e4f0d76e09?narHash=sha256-w465ZQEqZQ/mJKxBs4y/L%2BWh5EiuTFYGEfnIgxvmFcs%3D' (2024-06-20) • Updated input 'disko': 'github:nix-community/disko/8262659fc990cecdf6a8de74c3de7b6ec58c2276?narHash=sha256-8ZbrJq1jcmyzJ4SDkvd8JOZD4/fNUHpL4cpqVe4w3CU%3D' (2024-06-17) → 'github:nix-community/disko/e1174d991944a01eaaa04bc59c6281edca4c0e6e?narHash=sha256-9dtXYtEkmXoUJV%2BPGLqscqF7qTn4AIhAKpFWRFU2NYs%3D' (2024-06-20) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/3d4fbfcca3379975205ff861c2055c014ba8b77e?narHash=sha256-yZuwr3Cd7a5AwU6kRW5wO7Y7s71wQClOdA%2Be7zsX%2BiI%3D' (2024-06-19) → 'github:nix-community/emacs-overlay/728439cd9e68339c306d6152b8950dcb87e604cf?narHash=sha256-5DzqO4O3ZKPGx1dO5QhwCGBaI4bPTg2BSWSzasTYdmM%3D' (2024-06-21) • Updated input 'emacs-overlay/nixpkgs-stable': 'github:NixOS/nixpkgs/842253bf992c3a7157b67600c2857193f126563a?narHash=sha256-JHuXsrC9pr4kA4n7LuuPfWFJUVlDBVJ1TXDVpHEuUgM%3D' (2024-06-15) → 'github:NixOS/nixpkgs/03d771e513ce90147b65fe922d87d3a0356fc125?narHash=sha256-0Y8IrGhRmBmT7HHXlxxepg2t8j1X90%2B%2BqRN3lukGaIk%3D' (2024-06-19) • Updated input 'home-manager': 'github:nix-community/home-manager/0dd1c1495af6e6424695670343236f0053bf4947?narHash=sha256-kOG10gJ3zLZNiom9NXJM4/mA4/lsmR3rp74YVw%2Biros%3D' (2024-06-18) → 'github:nix-community/home-manager/d7830d05421d0ced83a0f007900898bdcaf2a2ca?narHash=sha256-SqiOz0sljM0GjyQEVinPXQxaGcbOXw5OgpCWGPgh/vo%3D' (2024-06-19) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/cde8f7e11f036160b0fd6a9e07dc4c8e4061cf06?narHash=sha256-1obyIuQPR/Kq1j5/i/5EuAfQrDwjYnjCDG8iLtXmBhQ%3D' (2024-06-16) → 'github:NixOS/nixos-hardware/083823b7904e43a4fc1c7229781417e875359a42?narHash=sha256-hxQBUtDbFOCCW1CsFZTS9Q5Ov1ZKdJgbBZHSez1M6iA%3D' (2024-06-20) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/b60ebf54c15553b393d144357375ea956f89e9a9?narHash=sha256-pup6cYwtgvzDpvpSCFh1TEUjw2zkNpk8iolbKnyFmmU%3D' (2024-06-16) → 'github:nixos/nixpkgs/c00d587b1a1afbf200b1d8f0b0e4ba9deb1c7f0e?narHash=sha256-FUZpz9rg3gL8NVPKbqU8ei1VkPLsTIfAJ2fdAf5qjak%3D' (2024-06-18) • Updated input 'pre-commit-hooks': 'github:cachix/git-hooks.nix/cc4d466cb1254af050ff7bdf47f6d404a7c646d1?narHash=sha256-7XfBuLULizXjXfBYy/VV%2BSpYMHreNRHk9nKMsm1bgb4%3D' (2024-06-06) → 'github:cachix/git-hooks.nix/8cd35b9496d21a6c55164d8547d9d5280162b07a?narHash=sha256-RTyqP4fBX2MdhNuMP%2BfnR3lIwbdtXhyj7w7fwtvgspc%3D' (2024-06-20) • Updated input 'pre-commit-hooks/nixpkgs-stable': 'github:NixOS/nixpkgs/614b4613980a522ba49f0d194531beddbb7220d3?narHash=sha256-3Eh7fhEID17pv9ZxrPwCLfqXnYP006RKzSs0JptsN84%3D' (2024-03-17) → 'github:NixOS/nixpkgs/842253bf992c3a7157b67600c2857193f126563a?narHash=sha256-JHuXsrC9pr4kA4n7LuuPfWFJUVlDBVJ1TXDVpHEuUgM%3D' (2024-06-15) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/69fcfaebbe564d162a85cadeaadd4dec646be4a2?narHash=sha256-JHqQyO5XppLpMSKBaYlxbmPHMc4DpwuavKIch9W%2Bhv4%3D' (2024-06-19) → 'github:oxalica/rust-overlay/c9a793a5278f711a59fe77b9bf54b215667022c6?narHash=sha256-jslEDCVFoRcNilJT0xYGSxqMjOe%2BUSnLknpHIAZJ02A%3D' (2024-06-21) |
||
---|---|---|
.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 |