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

• Updated input 'atuin':
    'github:atuinsh/atuin/36ddd98b6ef86af9b00d93d28476900b07be34ac?narHash=sha256-o3MQNItFgGrpAoBpDwJIeHkIxTPQT9QR6AcGTeeIkK4%3D' (2024-04-26)
  → 'github:atuinsh/atuin/cea48a1545250429b78235b2ad00b8243923e2b2?narHash=sha256-x3t7p0zXyd6NNKHi3XckhdoMuRUe%2BMxG97JhuS5RLVE%3D' (2024-04-29)
• Updated input 'disko':
    'github:nix-community/disko/285e26465a0bae510897ca04da26ce6307c652b4?narHash=sha256-kcBiIrmqzt3bNTr2GMBfAyA%2Bon8BEKO1iKzzDFQZkjI%3D' (2024-04-26)
  → 'github:nix-community/disko/5eaf747af38dd272e1ab28a8ec4bd972424b07cf?narHash=sha256-h3pOvHCXkSdp1KOZqtkQmHgkR7VaOJXDhqhumk7sZLY%3D' (2024-04-29)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/175801574b4bafe2ce03d6d0ae0e69b47e3ac805?narHash=sha256-XV%2Bai9ezP2d%2BUa3p%2BNF5ulYBZuv3i9KZCHr9Y2mh1lc%3D' (2024-04-29)
  → 'github:nix-community/emacs-overlay/2bdab12a3077f6f25be03d93569a06a177425c47?narHash=sha256-g4rDy84zObNUXmDyhXn66ro9fhpVnHg4lVQl0eZUKyY%3D' (2024-04-30)
• Updated input 'home-manager':
    'github:nix-community/home-manager/9fe79591c1005ce6f93084ae7f7dab0a2891440d?narHash=sha256-OzD1P0o46uD3Ix4ZI/g9z3YAeg%2B4g%2BW3qctB6bNOReo%3D' (2024-04-28)
  → 'github:nix-community/home-manager/f8e6694edabe4aaa7a85aac47b43ea5d978b116d?narHash=sha256-SSJQ/KOy8uISnoZgqDoRha7g7PFLSFP/BtMWm0wUz8Q%3D' (2024-04-29)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/d9b44509b4064f0a3fc9c7c92a603861f52fbedc?narHash=sha256-W6Mss7AG6bnFT1BqRApHXvLXBrFOu7V0%2BEUe9iML30s%3D' (2024-04-29)
  → 'github:oxalica/rust-overlay/ce35c36f58f82cee6ec959e0d44c587d64281b6f?narHash=sha256-lKTA3XqRo4aVgkyTSCtpcALpGXdmkilHTtN00eRg0QU%3D' (2024-04-30)
2024-04-30 09:23:12 +02:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules fish: Fix typo in KINK script 2024-04-25 13:01:28 +02:00
lib Remove unused input 2024-04-24 14:46:49 +02:00
machines odin: Set Loki configuration for Incus 2024-04-26 13:29:05 +02:00
modules podman: They moved the nvidia option again... 2024-04-26 15:40:12 +02:00
overlays git-repo-go: Add to overlay 2024-03-28 14:15:12 +01:00
pkgs incus-ui: Update to 0.8 2024-04-26 12:19:50 +02:00
users Simplified cursor config, set size to 48 for work profile 2024-04-25 20:44:40 +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 Add neo, a Matrix server 2024-04-24 14:46:45 +02:00
flake.lock flake.lock: Update 2024-04-30 09:23:12 +02:00
flake.nix devshell: Add yj 2024-04-26 11:28:23 +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