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

• Updated input 'anyrun':
    'github:Kirottu/anyrun/8c1f7907a4ee51226b1fd20674086fe292e4136e?narHash=sha256-W22hMKD1Qa1ARgLS3zB4EIfOTmPvrAEfd%2BqZ71QgJyg%3D' (2024-06-05)
  → 'github:Kirottu/anyrun/7aabad8d5bb7d1bffae903ce86427b888ab824b4?narHash=sha256-LU6d1xX7jN1zt10YU7Oym07MtzVfziSmUEznGFdbuaw%3D' (2024-06-05)
• Updated input 'atuin':
    'github:atuinsh/atuin/9943c53a7012e1a571ed6a66c127884fa3249767?narHash=sha256-XzvSLzyVmaHjgjLastmsh7HD7QrQD8xOvV8yCTYyivw%3D' (2024-06-04)
  → 'github:atuinsh/atuin/85aa88abab676d32ff6b3996e1ecc37f97b75347?narHash=sha256-KQHpmwM56kUWr4jnRwzYjz5xEb%2B/Ngdi6EOfzv4Wwh0%3D' (2024-06-07)
• Updated input 'disko':
    'github:nix-community/disko/a838e83e21502a211b83373109a260e5ef5fbcf1?narHash=sha256-CivVhYExnMJ2afm%2Bo1ogB231pKW/azhUghMI53MHmOM%3D' (2024-06-04)
  → 'github:nix-community/disko/398acc470f7c2d68621db01900f053e6000129c4?narHash=sha256-eq9gP060TqWqRf2k4WO5FrG49rVq5Jy3Ptusg0CFdds%3D' (2024-06-07)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/d619b5b5ba751d6e3c16da1ca8178a31ef130047?narHash=sha256-SI42G6mLxgn6vvSNxSuydQl0M41UZFh%2BBx%2BePjXbuyI%3D' (2024-06-05)
  → 'github:nix-community/emacs-overlay/007b1e192409decce73d39948ae862d1b38c6f20?narHash=sha256-/8IH9iKG5lLlpgqMJD9yy3rcv5YgWvfkGleDOE41RlA%3D' (2024-06-08)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/a62e6edd6d5e1fa0329b8653c801147986f8d446?narHash=sha256-oamiKNfr2MS6yH64rUn99mIZjc45nGJlj9eGth/3Xuw%3D' (2024-05-31)
  → 'github:NixOS/nixpkgs/a2e1d0414259a144ebdc048408a807e69e0565af?narHash=sha256-b4Dn%2BPnrZoVZ/BoR9JN2fTxXxplJrAsdSUIePf4Cacs%3D' (2024-06-04)
• Updated input 'nix-ld-rs':
    'github:nix-community/nix-ld-rs/62d5a9eb8ba0feb1d62292ca29de98785bcef04a?narHash=sha256-mQEWQOak0r8YEXK5IzvSfScmndpdODBKNvN0T8QydEg%3D' (2024-06-01)
  → 'github:nix-community/nix-ld-rs/3397956280fe8f555ffe11fe3a8115341a0ef460?narHash=sha256-F/ZA/yhBg1XJYudA6b4ORt5CnEwOu4gR/UbMVq1UYMY%3D' (2024-06-07)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/82b2e20fbffe6a5f0555701af136ad3e734a5faa?narHash=sha256-3d/rDckP583688YqVPc6SyXTy2gHpma0HzCv3idi1OE%3D' (2024-06-04)
  → 'github:NixOS/nixos-hardware/057a7996d012f342a38a26261ee529cebb1755ef?narHash=sha256-YvstO0lobf3JWQuAfZCLYRTROC2ZDEgtWeQtWbO49p4%3D' (2024-06-08)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/57610d2f8f0937f39dbd72251e9614b1561942d8?narHash=sha256-yZKhxVIKd2lsbOqYd5iDoUIwsRZFqE87smE2Vzf6Ck0%3D' (2024-05-31)
  → 'github:nixos/nixpkgs/e8057b67ebf307f01bdcc8fba94d94f75039d1f6?narHash=sha256-pL9jeus5QpX5R%2B9rsp3hhZ%2BuplVHscNJh8n8VpqscM0%3D' (2024-06-05)
• Updated input 'pre-commit-hooks':
    'github:cachix/git-hooks.nix/0e8fcc54b842ad8428c9e705cb5994eaf05c26a0?narHash=sha256-xrsYFST8ij4QWaV6HEokCUNIZLjjLP1bYC60K8XiBVA%3D' (2024-05-20)
  → 'github:cachix/git-hooks.nix/cc4d466cb1254af050ff7bdf47f6d404a7c646d1?narHash=sha256-7XfBuLULizXjXfBYy/VV%2BSpYMHreNRHk9nKMsm1bgb4%3D' (2024-06-06)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/8795c817dfab19243a33387a16c98d2df4075bb3?narHash=sha256-%2Bt3XaYEvlMo5BUJ/6C6RZcEfBTWFVUdMHpNoqUU%2BpSE%3D' (2024-06-05)
  → 'github:oxalica/rust-overlay/6dc3e45fe4aee36efeed24d64fc68b1f989d5465?narHash=sha256-wqbRwq3i7g5EHIui0bIi84mdqZ/It1AXBSLJ5tafD28%3D' (2024-06-08)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/3eb96ca1ae9edf792a8e0963cc92fddfa5a87706?narHash=sha256-u10aDdYrpiGOLoxzY/mJ9llST9yO8Q7K/UlROoNxzDw%3D' (2024-06-01)
  → 'github:numtide/treefmt-nix/4fc1c45a5f50169f9f29f6a98a438fb910b834ed?narHash=sha256-npYqVg%2BWk4oxnWrnVG7416fpfrlRhp/lQ6wQ4DHI8YE%3D' (2024-06-08)
2024-06-08 16:10:28 +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 mimir: Switch to regreet 2024-06-08 16:03:24 +02:00
modules gtk/regreet: switch to Orchis theme 2024-06-08 16:02:42 +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 work: Add easyeffects 2024-06-08 16:03:52 +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-08 16:10:28 +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