No description
Find a file
Erwin Boskma da1069c7b7
flake.lock: Update
Flake lock file updates:

• Updated input 'attic':
    'github:zhaofengli/attic/6eabc3f02fae3683bffab483e614bebfcd476b21?narHash=sha256-wSZjK%2BrOXn%2BUQiP1NbdNn5/UW6UcBxjvlqr2wh%2B%2BMbM%3D' (2024-02-14)
  → 'github:zhaofengli/attic/4dbdbee45728d8ce5788db6461aaaa89d98081f0?narHash=sha256-0O4v6e4a1toxXZ2gf5INhg4WPE5C5T%2BSVvsBt%2B45Mcc%3D' (2024-03-29)
• Updated input 'attic/nixpkgs':
    'github:NixOS/nixpkgs/aa9d4729cbc99dabacb50e3994dcefb3ea0f7447?narHash=sha256-KnIRG5NMdLIpEkZTnN5zovNYc0hhXjAgv6pfd5Z4c7U%3D' (2023-12-14)
  → 'github:NixOS/nixpkgs/07262b18b97000d16a4bdb003418bd2fb067a932?narHash=sha256-QoQqXoj8ClGo0sqD/qWKFWezgEwUL0SUh37/vY2jNhc%3D' (2024-03-25)
• Updated input 'attic/nixpkgs-stable':
    'github:NixOS/nixpkgs/1e2e384c5b7c50dbf8e9c441a9e58d85f408b01f?narHash=sha256-blbrBBXjjZt6OKTcYX1jpe9SRof2P9ZYWPzq22tzXAA%3D' (2023-12-17)
  → 'github:NixOS/nixpkgs/44733514b72e732bd49f5511bd0203dea9b9a434?narHash=sha256-akSgjDZL6pVHEfSE6sz1DNSXuYX6hq%2BP/1Z5IoYWs7E%3D' (2024-03-26)
• Updated input 'disko':
    'github:nix-community/disko/502241afa3de2a24865ddcbe4c122f4546e32092?narHash=sha256-vBB5HoQVnA6c/UrDOhLXKAahEwSRccw2YXYHxD7qoi4%3D' (2024-03-28)
  → 'github:nix-community/disko/611c9ea53250f7bb22286b3d26872280a0e608f9?narHash=sha256-sBDe%2BQmX/QohlnKeSEzrftcXyZL5FY09OMjZ59Rpyy4%3D' (2024-04-01)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/0ecb38ec45621eaacffb62fcbf9595d7bc200c7f?narHash=sha256-sgOjTsGAityIoUxXPYyRrzZzH4O2yg%2BNvM1X2fah0C4%3D' (2024-03-28)
  → 'github:nix-community/emacs-overlay/5dee04f5269dffad92faf3a8210c03e639d86db2?narHash=sha256-Yr%2BcDDESdm2E9C/nj1nlhrMpyYt1/Va9yXvlRYD9SyA%3D' (2024-04-02)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/44733514b72e732bd49f5511bd0203dea9b9a434?narHash=sha256-akSgjDZL6pVHEfSE6sz1DNSXuYX6hq%2BP/1Z5IoYWs7E%3D' (2024-03-26)
  → 'github:NixOS/nixpkgs/219951b495fc2eac67b1456824cc1ec1fd2ee659?narHash=sha256-u1dfs0ASQIEr1icTVrsKwg2xToIpn7ZXxW3RHfHxshg%3D' (2024-03-28)
• Updated input 'eww':
    'github:elkowar/eww/f1ec00a1c9a24c0738fb5d5ac309d6af16e67415?narHash=sha256-O4zGpwaXhnD%2B01zTn6cQZDgU3HagGt4DBPpQyDbD6fk%3D' (2024-03-20)
  → 'github:elkowar/eww/149727ce1f7dd4f461ab1d61d560546f3d1f32a1?narHash=sha256-DkJBMFUG8GLCoZ5yEXRDb4iWQjH%2BV6hrB4QQuRrn2F8%3D' (2024-03-31)
• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/f7b3c975cf067e56e7cda6cb098ebe3fb4d74ca2?narHash=sha256-Dt/wOWeW6Sqm11Yh%2B2%2Bt0dfEWxoMxGBvv3JpIocFl9E%3D' (2024-03-01)
  → 'github:hercules-ci/flake-parts/9126214d0a59633752a136528f5f3b9aa8565b7d?narHash=sha256-sB4SWl2lX95bExY2gMFG5HIzvva5AVMJd4Igm%2BGpZNw%3D' (2024-04-01)
• Updated input 'flake-parts/nixpkgs-lib':
    'github:NixOS/nixpkgs/1536926ef5621b09bba54035ae2bb6d806d72ac8?dir=lib&narHash=sha256-cy6ArO4k5qTx%2Bl5o%2B0mL9f5fa86tYUX3ozE1S%2BTxlds%3D' (2024-02-29)
  → 'github:NixOS/nixpkgs/d8fe5e6c92d0d190646fb9f1056741a229980089?dir=lib&narHash=sha256-iMUFArF0WCatKK6RzfUJknjem0H9m4KgorO/p3Dopkk%3D' (2024-03-29)
• Updated input 'git-fs-monitor':
    'git+ssh://git@git.datarift.nl/erwin/git-fs-monitor.git?ref=main&rev=6dcf1480d660f1888a4f4e35179cc6646e8679fe' (2024-03-28)
  → 'git+ssh://git@git.datarift.nl/erwin/git-fs-monitor.git?ref=main&rev=5807cf59b93d937b3804e7b73e30221337c598ad' (2024-03-29)
• Updated input 'home-manager':
    'github:nix-community/home-manager/c0ef0dab55611c676ad7539bf4e41b3ec6fa87d2?narHash=sha256-W%2B9dfqA9bqUIBV5u7jaIARAzMe3kTq/Hp2SpSVXKRQw%3D' (2024-03-28)
  → 'github:nix-community/home-manager/4be0464472675212654dedf3e021bd5f1d58b92f?narHash=sha256-O2nO7pD%2Bkrq%2B4HgkLB4VThRtAucIPfXDs/jJqCGlK1w%3D' (2024-04-02)
• Updated input 'microvm':
    'github:astro/microvm.nix/d31f7c7d3194c51372134832a3a2a256773c161a?narHash=sha256-nwl2Cygq7NrV9QcebJE/T/vXv7w%2BzLERD7ygHz0F5g8%3D' (2024-03-23)
  → 'github:astro/microvm.nix/1b7c70b198554d0f0306ec153c94906623437aed?narHash=sha256-lLlXQBebD6wd2m7vjXg2zQ8tfJF2a70RL%2BzXdbaQqn0%3D' (2024-03-29)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/2726f127c15a4cc9810843b96cad73c7eb39e443?narHash=sha256-UKcYiHWHQynzj6CN/vTcix4yd1eCu1uFdsuarupdCQQ%3D' (2024-03-27)
  → 'github:nixos/nixpkgs/d8fe5e6c92d0d190646fb9f1056741a229980089?narHash=sha256-iMUFArF0WCatKK6RzfUJknjem0H9m4KgorO/p3Dopkk%3D' (2024-03-29)
• Updated input 'pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/7d47a32e5cd1ea481fab33c516356ce27c8cef4a?narHash=sha256-Q7YmSCUJmDl71fJv/zD9lrOCJ1/SE/okZ2DsrmRjzhY%3D' (2024-03-27)
  → 'github:cachix/pre-commit-hooks.nix/642dce09c85b1478b509416f83e72bd59b6b3ac2?narHash=sha256-werD6WtgYo%2BZGopbLENP0phwoWyd73CWz01VgrFOSL0%3D' (2024-04-02)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/aa858717377db2ed8ffd2d44147d907baee656e5?narHash=sha256-oD4OJ3TRmVrbAuKZWxElRCyCagNCDuhfw2exBmNOy48%3D' (2024-03-28)
  → 'github:oxalica/rust-overlay/d45d957dc3c48792af7ce58eec5d84407655e8fa?narHash=sha256-52cf%2BmHZJbSaDFdsBj6vN1hH52AXsMgEpS/ajzc9yQE%3D' (2024-04-02)
• Updated input 'sops':
    'github:Mic92/sops-nix/405987a66cce9a4a82f321f11b205982a7127c88?narHash=sha256-N%2BPp3/8H%2Brd7cO71VNV/ovV/Kwt%2BXNeUHNhsmyTabdM%3D' (2024-03-24)
  → 'github:Mic92/sops-nix/99b1e37f9fc0960d064a7862eb7adfb92e64fa10?narHash=sha256-HxegAPnQJSC4cbEbF4Iq3YTlFHZKLiNTk8147EbLdGg%3D' (2024-03-31)
• Updated input 'sops/nixpkgs-stable':
    'github:NixOS/nixpkgs/ac6bdf6181666ebb4f90dd20f31e2fa66ede6b68?narHash=sha256-eEu5y4J145BYDw9o/YEmeJyqh8blgnZwuz9k234zuWc%3D' (2024-03-23)
  → 'github:NixOS/nixpkgs/2b4e3ca0091049c6fbb4908c66b05b77eaef9f0c?narHash=sha256-tNeB6emxj74Y6ctwmsjtMlzUMn458sBmwnD35U5KIM4%3D' (2024-03-30)
2024-04-02 09:07:28 +02:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules git: Add git-fs-monitor 2024-03-28 23:06:12 +01:00
lib firefox: Enable extra stuff 2024-02-28 23:54:56 +01:00
machines gitea: Remove ssh_info from caddy 2024-03-29 08:28:56 +01:00
modules sway: Make package configurable 2024-03-26 16:50:56 +01:00
overlays git-repo-go: Add to overlay 2024-03-28 14:15:12 +01:00
pkgs git-repo-go: init at 0.7.8 2024-03-28 14:14:45 +01:00
users sway: Make package configurable 2024-03-26 16:50:56 +01:00
wallpapers Add Space Shuttle Endeavour wallpaper 2023-10-05 15:02:14 +02:00
.dir-locals.el Add .dir-locals.el 2024-02-29 14:25:26 +01:00
.envrc Load .env file 2023-04-24 08:25:18 +02:00
.gitattributes Mark flake.lock as binary for merge conflicts 2024-01-23 13:40:29 +01:00
.gitignore Remove terraform stuff 2024-01-09 22:25:14 +01:00
.projectile Update flake.lock, update kernel version 2022-03-23 15:42:32 +01:00
.sops.yaml Clean up sops file 2024-02-29 14:25:29 +01:00
flake.lock flake.lock: Update 2024-04-02 09:07:28 +02:00
flake.nix git: Add git-fs-monitor 2024-03-28 23:06:12 +01:00
Justfile Add task to Justfile to build package 2024-03-28 16:10:02 +01:00
krops.nix Run nixfmt 2024-02-05 11:46:52 +01:00
README.org Replace exa with eza, because the former is unmaintained 2023-09-11 20:11:08 +02:00
statix.toml Add pre-commit hooks and fix style issues 2022-11-19 20:00:54 +01:00

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