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

• Updated input 'disko':
    'github:nix-community/disko/d7d57edb72e54891fa67a6f058a46b2bb405663b?narHash=sha256-VftVIg7UXTy1bq%2Btzi1aVYOWl7PQ35IpjW88yMYjjpc%3D' (2024-10-16)
  → 'github:nix-community/disko/a6a3179ddf396dfc28a078e2f169354d0c137125?narHash=sha256-MuojlSnwAJAwfhgmW8ZtZrwm2Sko4fqubCvReqbUzYw%3D' (2024-10-18)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/264b4e4a44a67a42bfc161ee48d9139f3abd8ab0?narHash=sha256-/2wBluheB7gOBsZRjJ0mHGb4JHNtdoyFF3OR2xSQ%2Bdc%3D' (2024-10-18)
  → 'github:nix-community/emacs-overlay/3adba4b7d1db1d4eba3f682a956fcbb5de1bd7a1?narHash=sha256-Jt86dscJ4nsoHFnGRAm4iSgbpD/pifd7Cs4m52CEzwY%3D' (2024-10-19)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/dc2e0028d274394f73653c7c90cc63edbb696be1?narHash=sha256-GKJjtPY%2BSXfLF/yTN7M2cAnQB6RERFKnQhD8UvPSf3M%3D' (2024-10-16)
  → 'github:NixOS/nixpkgs/4eb33fe664af7b41a4c446f87d20c9a0a6321fa3?narHash=sha256-LDiPhQ3l%2BfBjRATNtnuDZsBS7hqoBtPkKBkhpoBHv3I%3D' (2024-10-17)
• Updated input 'home-manager':
    'github:nix-community/home-manager/e78cbb20276f09c1802e62d2f77fc93ec32da268?narHash=sha256-QxCAdgQdeIOaCiE0Sr23s9lD0%2BT1b/wuz5pSiGwNrCQ%3D' (2024-10-17)
  → 'github:nix-community/home-manager/122f70545b29ccb922e655b08acfe05bfb44ec68?narHash=sha256-KVyQq%2Bez/oB30/WbdNgVD8g/bda34z8NiU187QKQb74%3D' (2024-10-19)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/a8dd1b21995964b115b1e3ec639dd6ce24ab9806?narHash=sha256-oazkQ/z7r43YkDLLQdMg8oIB3CwWNb%2B2ZrYOxtLEWTQ%3D' (2024-10-12)
  → 'github:NixOS/nixos-hardware/38279034170b1e2929b2be33bdaedbf14a57bfeb?narHash=sha256-NU%2BtYe3QWzDNpB8RagpqR3hNQXn4BNuBd7ZGosMHLL8%3D' (2024-10-19)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/a3c0b3b21515f74fd2665903d4ce6bc4dc81c77c?narHash=sha256-nsNdSldaAyu6PE3YUA%2BYQLqUDJh%2BgRbBooMMekZJwvI%3D' (2024-10-14)
  → 'github:nixos/nixpkgs/4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0?narHash=sha256-/uilDXvCIEs3C9l73JTACm4quuHUsIHcns1c%2BcHUJwA%3D' (2024-10-18)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/9051466c82b9b3a6ba9e06be99621ad25423ec94?narHash=sha256-KDmYxpkFWa0Go0WnOpkgQOypVaQxbwgpEutET5ey1VQ%3D' (2024-10-18)
  → 'github:oxalica/rust-overlay/b259ef799b5ac014604da71ecd92d4a52603ed2d?narHash=sha256-H7KGGJUU9BcDNnfXiATBGgs6FJKWQdfftNJS%2B/v2aMU%3D' (2024-10-19)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/5307ba60125bb024d7e52d71d582eafd511f3fee?narHash=sha256-zayHqZO9gA1U85c4CPvVSnLV8/cBgc2yVrSKWaKeBUs%3D' (2024-10-16)
  → 'github:numtide/treefmt-nix/d986489c1c757f6921a48c1439f19bfb9b8ecab5?narHash=sha256-6jWSWxv2crIXmYSEb3LEVsFkCkyVHNllk61X4uhqfCs%3D' (2024-10-18)
2024-10-19 20:23:41 +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 mimir: Remove microvm 2024-10-18 19:41:34 +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-19 20:23:41 +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