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

• Updated input 'anyrun':
    'github:Kirottu/anyrun/be6728884d543665e7bd137bbef62dc1d04a210b?narHash=sha256-LpjQJYC24S5P5XhJsZX6HqsQT1pohcFzM6N42I6qo/U%3D' (2024-04-03)
  → 'github:Kirottu/anyrun/f9d30e34fa4ccb2797c6becec37e8bcff6585d39?narHash=sha256-WTO84hUL8IlNuHDK2yOCeJ38EewFzGt5E0kzBjNWxa8%3D' (2024-04-16)
• Updated input 'atuin':
    'github:atuinsh/atuin/a0231a70950fbec9dcc3403e37066d891d1fc833?narHash=sha256-TTQ2XLqng7TMLnRsLDb/50yyHYuMSPZJ4H%2B7CEFWQQ0%3D' (2024-04-15)
  → 'github:atuinsh/atuin/19f70cdc918769e0485b0e4aba4069327e96dc3b?narHash=sha256-thdSd8oeztVJ3Ly2SvPCfoP%2BFCoDQCVHSizO0vMGHsI%3D' (2024-04-16)
• Updated input 'caddy-with-plugins':
    'github:eboskma/caddy-with-plugins/c2c66faccc086e077cef927bdf001e7233689228?narHash=sha256-arNUMJvbGtWo%2BIzgB4J0D9%2BsxgpTDBesiQFSXwlSzWE%3D' (2024-01-14)
  → 'github:eboskma/caddy-with-plugins/bb26c2e7fa43be39d4d184c0d443d649cda91897?narHash=sha256-bTVj6mAr%2BNAqwzVhHBBhOszRpWiNYglp93aNIzukiYE%3D' (2024-04-16)
• Added input 'caddy-with-plugins/treefmt-nix':
    'github:numtide/treefmt-nix/49dc4a92b02b8e68798abd99184f228243b6e3ac?narHash=sha256-N3QDhoaX%2BpaWXHbEXZapqd1r95mdshxToGowtjtYkGI%3D' (2024-04-01)
• Added input 'caddy-with-plugins/treefmt-nix/nixpkgs':
    follows 'caddy-with-plugins/nixpkgs'
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/cf218237d0d80f1ec8109677ebc82ded2ca84c43?narHash=sha256-6qPfZsYW3BvyJq%2BBahgygLdFd5bdqrFue8QGat4lSQo%3D' (2024-04-15)
  → 'github:nix-community/emacs-overlay/502906af674eae890790ec48cad959d42dc2f040?narHash=sha256-LpbYsViVHQ19Qyjw4FxlTWcZNSbiagMfPMrUBuDVTBk%3D' (2024-04-16)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/90055d5e616bd943795d38808c94dbf0dd35abe8?narHash=sha256-ZEfGB3YCBVggvk0BQIqVY7J8XF/9jxQ68fCca6nib%2B8%3D' (2024-04-13)
  → 'github:NixOS/nixpkgs/53a2c32bc66f5ae41a28d7a9a49d321172af621e?narHash=sha256-m7%2BIWM6mkWOg22EC5kRUFCycXsXLSU7hWmHdmBfmC3s%3D' (2024-04-15)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/b186d85e747e2b7bee220ec95839fb66c868dc47?narHash=sha256-Ic7zCPfiSYc9nFFp%2BE44WFk3TBJ99J/uPZ4QXX%2BuPPw%3D' (2024-04-15)
  → 'github:oxalica/rust-overlay/847bc25ebab8dc72a86d2b1f0c088740eebbb1b8?narHash=sha256-dPGrCy5ttx6E3bUOmDynY/cAotRqvoIAimZlbv%2BZr1w%3D' (2024-04-16)
2024-04-16 19:46:43 +02:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules fish: Add tree alias 2024-04-16 19:32:50 +02:00
lib fixup! Get atuin from bleeding edge 2024-04-10 22:19:20 +02:00
machines k3s-test: Re-enabled container tag 2024-04-15 17:29:43 +02:00
modules Add treefmt, run formatter 2024-04-16 19:32:32 +02:00
overlays git-repo-go: Add to overlay 2024-03-28 14:15:12 +01:00
pkgs Add treefmt, run formatter 2024-04-16 19:32:32 +02:00
users home: Add sshfs, remove unused packages 2024-04-15 16:30:27 +02: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-16 19:46:43 +02:00
flake.nix shfmt: Use tabs to indent, to match pre-commit hook 2024-04-16 19:41:25 +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