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

• Updated input 'anyrun':
    'github:Kirottu/anyrun/f9d30e34fa4ccb2797c6becec37e8bcff6585d39?narHash=sha256-WTO84hUL8IlNuHDK2yOCeJ38EewFzGt5E0kzBjNWxa8%3D' (2024-04-16)
  → 'github:Kirottu/anyrun/8c1f7907a4ee51226b1fd20674086fe292e4136e?narHash=sha256-W22hMKD1Qa1ARgLS3zB4EIfOTmPvrAEfd%2BqZ71QgJyg%3D' (2024-06-05)
• Updated input 'anyrun/flake-parts':
    'github:hercules-ci/flake-parts/c9afaba3dfa4085dbd2ccb38dfade5141e33d9d4?narHash=sha256-B2xAZKLkkeRFG5XcHHSXXcP7To9Xzr59KXeZiRf4vdQ%3D' (2023-10-03)
  → 'github:hercules-ci/flake-parts/2a55567fcf15b1b1c7ed712a2c6fadaec7412ea8?narHash=sha256-iKzJcpdXih14qYVcZ9QC9XuZYnPc6T8YImb6dX166kw%3D' (2024-06-01)
• Added input 'anyrun/systems':
    'github:nix-systems/default-linux/31732fcf5e8fea42e59c2488ad31a0e651500f68?narHash=sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80%3D' (2023-07-14)
• Updated input 'atuin':
    'github:atuinsh/atuin/83637d96b04bed26fb222771baad51b081de1703?narHash=sha256-33wQ%2BdmdgOTXAlfdw6EkqU79r%2BmdmqCbEvVQnMHyeBs%3D' (2024-05-31)
  → 'github:atuinsh/atuin/9943c53a7012e1a571ed6a66c127884fa3249767?narHash=sha256-XzvSLzyVmaHjgjLastmsh7HD7QrQD8xOvV8yCTYyivw%3D' (2024-06-04)
• Updated input 'disko':
    'github:nix-community/disko/39cd5a1fcd6d7a476eac2894b09122ead99f6efc?narHash=sha256-gwx3rVXnt2jNxl8L2DybYv41fA8QhWVGebe932pa2nw%3D' (2024-06-03)
  → 'github:nix-community/disko/a838e83e21502a211b83373109a260e5ef5fbcf1?narHash=sha256-CivVhYExnMJ2afm%2Bo1ogB231pKW/azhUghMI53MHmOM%3D' (2024-06-04)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/76082b226e29dd266a67b6f4df4fcaa771152f9c?narHash=sha256-EzL1xZoyj946hb7DtcPxXFkzuiGcQMSlSRr1%2BMzRfCA%3D' (2024-06-03)
  → 'github:nix-community/emacs-overlay/d619b5b5ba751d6e3c16da1ca8178a31ef130047?narHash=sha256-SI42G6mLxgn6vvSNxSuydQl0M41UZFh%2BBx%2BePjXbuyI%3D' (2024-06-05)
• Updated input 'home-manager':
    'github:nix-community/home-manager/9b53a10f4c91892f5af87cf55d08fba59ca086af?narHash=sha256-Xi0EpZcu39N0eW7apLjFfUOR9y80toyjYizez7J1wMI%3D' (2024-06-02)
  → 'github:nix-community/home-manager/a7117efb3725e6197dd95424136f79147aa35e5b?narHash=sha256-5z2422pzWnPXHgq2ms8lcCfttM0dz%2Bhg%2Bx1pCcNkAws%3D' (2024-06-04)
• Updated input 'microvm':
    'github:astro/microvm.nix/16ec47e1fae62bcc2a76e164b7101152ad98849c?narHash=sha256-NBwB16qOv8TKaPg62UXfy%2BRojsDC%2BDLZPtohUqUyIM4%3D' (2024-06-01)
  → 'github:astro/microvm.nix/e3a4dd5b381fb580804105594cc9c71dc45abdb5?narHash=sha256-juxjgmLnFbl%2B/hhIO2cVtIa6caCO4pLKlZWUMwAOznM%3D' (2024-06-03)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/7b49d3967613d9aacac5b340ef158d493906ba79?narHash=sha256-e8X2eWjAHJQT82AAN%2BmCI0B68cIDBJpqJ156%2BVRrFO0%3D' (2024-06-01)
  → 'github:NixOS/nixos-hardware/82b2e20fbffe6a5f0555701af136ad3e734a5faa?narHash=sha256-3d/rDckP583688YqVPc6SyXTy2gHpma0HzCv3idi1OE%3D' (2024-06-04)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/07098b424d114cd2dddec40be8d5586da339fddc?narHash=sha256-TcM4%2BoHTSLw8neTxk/Q0beODr8YiL%2BoI2j0ENYnNfk4%3D' (2024-06-03)
  → 'github:oxalica/rust-overlay/8795c817dfab19243a33387a16c98d2df4075bb3?narHash=sha256-%2Bt3XaYEvlMo5BUJ/6C6RZcEfBTWFVUdMHpNoqUU%2BpSE%3D' (2024-06-05)
• Updated input 'sops':
    'github:Mic92/sops-nix/ab2a43b0d21d1d37d4d5726a892f714eaeb4b075?narHash=sha256-cZC2f68w5UrJ1f%2B2NWGV9Gx0dEYmxwomWN2B0lx0QRA%3D' (2024-06-02)
  → 'github:Mic92/sops-nix/d4555e80d80d2fa77f0a44201ca299f9602492a0?narHash=sha256-8Q6mKSsto8gaGczXd4G0lvawdAYLa5Dlh3/g4hl5CaM%3D' (2024-06-03)
2024-06-05 09:24:16 +02:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules river: Revert custom named keyboard layout (use variant instead) 2024-06-04 09:41:10 +02:00
lib Remove unused input 2024-04-24 14:46:49 +02:00
machines Also use old TailScale IPv6 range 2024-06-04 11:01:45 +02:00
modules Also use old TailScale IPv6 range 2024-06-04 11:01:45 +02:00
overlays Let's roll our own coredns package 2024-05-29 19:50:20 +02:00
pkgs coredns: 1.11.1 -> 1.11.3 2024-06-03 11:11:18 +02:00
users Update dbeaver -> dbeaver-bin 2024-05-22 16:45:06 +02: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 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 meili: init 2024-06-04 10:34:30 +02:00
flake.lock flake.lock: Update 2024-06-05 09:24:16 +02:00
flake.nix Let's roll our own coredns package 2024-05-29 19:50:20 +02: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