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

• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/3ff861b0b86704afa226b70312b584bfcdb46bd7?narHash=sha256-U1bIksHGGN/bObrRoiJxov51rVM3A5gNqw5oamo7yEI%3D' (2024-10-17)
  → 'github:nix-community/emacs-overlay/264b4e4a44a67a42bfc161ee48d9139f3abd8ab0?narHash=sha256-/2wBluheB7gOBsZRjJ0mHGb4JHNtdoyFF3OR2xSQ%2Bdc%3D' (2024-10-18)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/c0b1da36f7c34a7146501f684e9ebdf15d2bebf8?narHash=sha256-WLxED18lodtQiayIPDE5zwAfkPJSjHJ35UhZ8h3cJUg%3D' (2024-10-14)
  → 'github:NixOS/nixpkgs/dc2e0028d274394f73653c7c90cc63edbb696be1?narHash=sha256-GKJjtPY%2BSXfLF/yTN7M2cAnQB6RERFKnQhD8UvPSf3M%3D' (2024-10-16)
• Updated input 'home-manager':
    'github:nix-community/home-manager/2a4fd1cfd8ed5648583dadef86966a8231024221?narHash=sha256-IqWD7bA9iJVifvJlB4vs2KUXVhN%2Bd9lECWdNB4jJ0tE%3D' (2024-10-15)
  → 'github:nix-community/home-manager/e78cbb20276f09c1802e62d2f77fc93ec32da268?narHash=sha256-QxCAdgQdeIOaCiE0Sr23s9lD0%2BT1b/wuz5pSiGwNrCQ%3D' (2024-10-17)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/32d889f9b9fc65cb65aa2d5db282d60ed06f348e?narHash=sha256-Mhl4T7gDGknG4nPbHNSGWynfSjZeoWBdsaIzhUYuIlU%3D' (2024-10-17)
  → 'github:oxalica/rust-overlay/9051466c82b9b3a6ba9e06be99621ad25423ec94?narHash=sha256-KDmYxpkFWa0Go0WnOpkgQOypVaQxbwgpEutET5ey1VQ%3D' (2024-10-18)
2024-10-18 10:45:57 +02:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules tmux: Fix next/previous window commands 2024-10-15 11:28:16 +02:00
lib Rearrange overlays 2024-08-19 22:30:30 +02:00
machines nix-ld-rs was merged into nix-ld 2024-10-17 12:19:44 +02:00
modules barman: set HOME to barman home dir 2024-10-17 08:34:50 +02:00
overlays peakperf: Add to overlay, add CUDA deps 2024-10-02 09:15:49 +02:00
pkgs peakperf: Add to overlay, add CUDA deps 2024-10-02 09:15:49 +02:00
users Add trippy 2024-10-16 16:59:47 +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 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 read: init container 2024-07-15 23:41:19 +02:00
flake.lock flake.lock: Update 2024-10-18 10:45:57 +02:00
flake.nix nix-ld-rs was merged into nix-ld 2024-10-17 12:19:44 +02:00
Justfile Add task to Justfile to build package 2024-03-28 16:10:02 +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