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

• Updated input 'disko':
    'github:nix-community/disko/639d1520df9417ca2761536c3072688569e83c80?narHash=sha256-z76Q/OXLxO/RxMII3fIt/TG665DANiE2lVvnolK2lXk%3D' (2024-11-18)
  → 'github:nix-community/disko/a0c384e0a3b8bcaed30a6bcf3783f8a7c8b35be4?narHash=sha256-iYh6h8yueU8IyOfNclbiBG2%2BfBFcjjUfXm90ZBzk0c0%3D' (2024-11-20)
• Updated input 'eww':
    'github:elkowar/eww/50ec181fc7ff2a68d6330e8897de2c5179575935?narHash=sha256-GxbKoS2TQNMeD4dbZn1IU%2B/BOiYGeVALHVAbZnFc3UU%3D' (2024-10-12)
  → 'github:elkowar/eww/86dc4a4636dad3999db29975d8a720831a076695?narHash=sha256-1bdyeeReta5ethFghMJIE5ptQ4MBLXuBdCh6mhZ8mZo%3D' (2024-11-20)
• Updated input 'microvm':
    'github:astro/microvm.nix/b1fd9701f057f288c77de2fdd217b51112aab0a4?narHash=sha256-owQmdq2KJf/ygRrzqTDDE3iY1Uh2Y3vvbRyDcFCwekQ%3D' (2024-11-19)
  → 'github:astro/microvm.nix/19650774c23df84d0b8f315d2527274563497cad?narHash=sha256-lF54irx92m8ddNDQDtOUjKsZAnsGyPL3QTO7byjlxNg%3D' (2024-11-20)
• Updated input 'nil':
    'github:oxalica/nil/c8e8ce72442a164d89d3fdeaae0bcc405f8c015a?narHash=sha256-mIuOP4I51eFLquRaxMKx67pHmhatZrcVPjfHL98v/M8%3D' (2024-09-19)
  → 'github:oxalica/nil/2e24c9834e3bb5aa2a3701d3713b43a6fb106362?narHash=sha256-DCIVdlb81Fct2uwzbtnawLBC/U03U2hqx8trqTJB7WA%3D' (2024-11-19)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/5e4fbfb6b3de1aa2872b76d49fafc942626e2add?narHash=sha256-OZiZ3m8SCMfh3B6bfGC/Bm4x3qc1m2SVEAlkV6iY7Yg%3D' (2024-11-15)
  → 'github:nixos/nixpkgs/23e89b7da85c3640bbc2173fe04f4bd114342367?narHash=sha256-y/MEyuJ5oBWrWAic/14LaIr/u5E0wRVzyYsouYY3W6w%3D' (2024-11-19)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/71287228d96e9568e1e70c6bbfa3f992d145947b?narHash=sha256-JECaBgC0pQ91Hq3W4unH6K9to8s2Zl2sPNu7bLOv4ek%3D' (2024-11-19)
  → 'github:oxalica/rust-overlay/8509a51241c407d583b1963d5079585a992506e8?narHash=sha256-moKx8AVJrViCSdA0e0nSsG8b1dAsObI4sRAtbqbvBY8%3D' (2024-11-20)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/5f5c2787576f3e39bbc2ebdbf8521b3177c5c19c?narHash=sha256-grEEN4LjL4DTDZUyZjVcj9dXRykH/SKnpOIADN0q5w8%3D' (2024-11-19)
  → 'github:numtide/treefmt-nix/62003fdad7a5ab7b6af3ea9bd7290e4c220277d0?narHash=sha256-XWHuPWcP59QnHEewdZJXBX1TA2lAP78Vz4daG6tfIr4%3D' (2024-11-20)
2024-11-21 17:01:49 +01:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules jujutsu: Disable ediff, fix difftastic config 2024-11-14 09:40:41 +01:00
incus-conf Add incus container template 2024-11-16 17:37:07 +01:00
lib nix-cache: attic module is now in nixpkgs 2024-10-24 14:05:17 +02:00
machines valkyrie(coredns): Add records for downloads.horus.nu 2024-11-18 14:39:45 +01:00
modules heimdall: Update caddy configuration to respond with a body 2024-11-16 22:13:03 +01:00
overlays Update factorio to 2.0.20 2024-11-21 17:01:49 +01:00
pkgs mapshot: init 0.0.22 2024-10-21 23:27:17 +02:00
users Also switch signing key for git 2024-11-16 17:42:46 +01: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 Retry factorio server 2024-11-14 13:14:46 +01:00
flake.lock flake.lock: Update 2024-11-21 17:01:49 +01:00
flake.nix Temporarily revert emacs-overlay due to broken package 2024-11-16 22:12:16 +01:00
Justfile Use new colmena option so it can handle a dirty flake 2024-11-15 12:12:04 +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