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

• Updated input 'disko':
    'github:nix-community/disko/d32f2d1750d61a476a236526b725ec5a32e16342?narHash=sha256-OIitVU%2BIstPbX/NWn2jLF%2B/sT9dVKcO2FKeRAzlyX6c%3D' (2024-12-13)
  → 'github:nix-community/disko/a08bfe06b39e94eec98dd089a2c1b18af01fef19?narHash=sha256-b7G8oFp0Nj01BYUJ6ENC9Qf/HsYAIZvN9k/p0Kg/PFU%3D' (2024-12-16)
• Updated input 'home-manager':
    'github:nix-community/home-manager/66c5d8b62818ec4c1edb3e941f55ef78df8141a8?narHash=sha256-hSwgGpcZtdDsk1dnzA0xj5cNaHgN9A99hRF/mxMtwS4%3D' (2024-12-13)
  → 'github:nix-community/home-manager/83ecd50915a09dca928971139d3a102377a8d242?narHash=sha256-wNX3hsScqDdqKWOO87wETUEi7a/QlPVgpC/Lh5rFOuA%3D' (2024-12-16)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/cf737e2eba82b603f54f71b10cb8fd09d22ce3f5?narHash=sha256-%2BjjPup/ByS0LEVIrBbt7FnGugJgLeG9oc%2BivFASYn2U%3D' (2024-12-10)
  → 'github:NixOS/nixos-hardware/b12e314726a4226298fe82776b4baeaa7bcf3dcd?narHash=sha256-mfv%2BJ/vO4nqmIOlq8Y1rRW8hVsGH3M%2BI2ESMjhuebDs%3D' (2024-12-16)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/5d67ea6b4b63378b9c13be21e2ec9d1afc921713?narHash=sha256-Pj39hSoUA86ZePPF/UXiYHHM7hMIkios8TYG29kQT4g%3D' (2024-12-11)
  → 'github:nixos/nixpkgs/3566ab7246670a43abd2ffa913cc62dad9cdf7d5?narHash=sha256-AKU6qqskl0yf2%2BJdRdD0cfxX4b9x3KKV5RqA6wijmPM%3D' (2024-12-13)
• Updated input 'pre-commit-hooks':
    'github:cachix/git-hooks.nix/4c8e75efbbdcc6f9203f64b1f21f8a55d2285264?narHash=sha256-3Lzk%2B7QyX8v60%2Bkm26D3dln7NMSA13vW%2BKYTkMkds6Q%3D' (2024-12-15)
  → 'github:cachix/git-hooks.nix/0ddd26d0925f618c3a5d85a4fa5eb1e23a09491d?narHash=sha256-nzE5UbJ41aPEKf8R2ZFYtLkqPmF7EIUbNEdHMBLg0Ig%3D' (2024-12-17)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/150fbc8aa2bc501041810bbc1dbfe73694a861be?narHash=sha256-zsp0Mz8VgyIAnU8UhP/YT1g%2Bzlsl%2BNIJTBMAbY%2BRifQ%3D' (2024-12-15)
  → 'github:oxalica/rust-overlay/b2e385f8e5c1d7c0d9ce738d650955c2e94555ae?narHash=sha256-dKBBZr2pw7KDI/7GeiN5qPccqqtvnK2jqAMcMo4rVvU%3D' (2024-12-18)
2024-12-18 09:29:02 +01:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules emacs: Add plantuml wrapper so org-mode can work with plantuml-server 2024-12-17 12:55:52 +01:00
incus-conf Add incus container template 2024-11-16 17:37:07 +01:00
lib Set up Bluesky PDS 2024-12-03 23:41:09 +01:00
machines Enable plantuml-server, add plantuml-mode to emacs 2024-12-16 16:30:50 +01:00
modules Set up Bluesky PDS 2024-12-03 23:41:09 +01:00
overlays Initial ghostty module 2024-12-15 14:58:13 +01:00
pkgs Set up Bluesky PDS 2024-12-03 23:41:09 +01:00
users home: Re-enable libreoffice 2024-12-16 16:16:13 +01:00
wallpapers Add Space Shuttle Endeavour wallpaper 2023-10-05 15:02:14 +02:00
.dir-locals.el dir-locals: Revert back to nixfmt 2024-04-23 16:30:56 +02:00
.envrc envrc: add shebang 2024-07-09 21:34:30 +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 Set up Bluesky PDS 2024-12-03 23:41:09 +01:00
flake.lock Update: flake.lock 2024-12-18 09:29:02 +01:00
flake.nix Initial ghostty module 2024-12-15 14:58:13 +01:00
Justfile Use new colmena option so it can handle a dirty flake 2024-11-15 12:12:04 +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