No description
Find a file
Erwin Boskma 3e2d1f8c12
Updates: flake.lock
Flake lock file updates:

• Updated input 'ghostty':
    'github:ghostty-org/ghostty/ddf7173ae92b4992c4506b6df4681c0687cc29c3?narHash=sha256-A5w6%2B0Zc7b93nbCF6ayHbXIEO0%2Bh%2B8BR4byYGgTy%2BtY%3D' (2025-01-22)
  → 'github:ghostty-org/ghostty/603639ad44e82afbcd8cdb01d7050abf7c538e9b?narHash=sha256-EHGwh2do2JEcYHxaXBq1H7z/S2FkbHEpnNWhvgAmpJ8%3D' (2025-01-28)
• Updated input 'home-manager':
    'github:nix-community/home-manager/cefb1889b96ddd1dac3dd4734e894f4cadab7802?narHash=sha256-qa/D3NC1JoApnUuLrq1gseBmIxeg6icm/ojPgggMDVQ%3D' (2025-01-22)
  → 'github:nix-community/home-manager/e1ae908bcc30af792b0bb0a52e53b03d2577255e?narHash=sha256-xiPARGKwocaMtv%2BU/rgi%2Bh2g56CZZEmrcl7ldRaslq8%3D' (2025-01-27)
• Updated input 'microvm':
    'github:astro/microvm.nix/a18d7ba1bb7fd4841191044ca7a7f895ef2adf3b?narHash=sha256-eW6SfZRaOnOybBzhvEzu3iRL8IhwE0ETxUpnkErlqkE%3D' (2025-01-15)
  → 'github:astro/microvm.nix/3768f4937f38334898c67e03f40e244a57a74caa?narHash=sha256-7AGmPPBgLHHWgzzFYDJcyhv/NiuCrpgzg8IyA7Q/H9o%3D' (2025-01-27)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/61c79181e77ef774ab0468b28a24bc2647d498d6?narHash=sha256-utplyRM6pqnN940gfaLFBb9oUCSzkan86IvmkhsVlN8%3D' (2025-01-20)
  → 'github:NixOS/nixos-hardware/dfad538f751a5aa5d4436d9781ab27a6128ec9d4?narHash=sha256-ZEbOJ9iT72iwqXsiEMbEa8wWjyFvRA9Ugx8utmYbpz4%3D' (2025-01-24)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/06b8ed0eee289fe94c66f1202ced9a6a2c59a14c?narHash=sha256-dgF6htdmfNnZzVInifks6npnCAyVsIHWSpWNs10RSW0%3D' (2025-01-22)
  → 'github:oxalica/rust-overlay/6a3dc6ce4132bd57359214d986db376f2333c14d?narHash=sha256-GFviGfaezjGLFUlxdv3zyC7rSZvTXqwcG/YsF6MDkOw%3D' (2025-01-29)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/f2cc121df15418d028a59c9737d38e3a90fbaf8f?narHash=sha256-5An1wq5U8sNycOBBg3nsDDgpwBmR9liOpDGlhliA6Xo%3D' (2025-01-21)
  → 'github:numtide/treefmt-nix/bebf27d00f7d10ba75332a0541ac43676985dea3?narHash=sha256-j6jC12vCFsTGDmY2u1H12lMr62fnclNjuCtAdF1a4Nk%3D' (2025-01-28)
2025-01-29 10:06:52 +01:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules Update some work hostnames 2025-01-27 10:31:32 +01:00
incus-conf Add incus container template 2024-11-16 17:37:07 +01:00
lib loki: Add nixos-facter 2025-01-15 08:51:00 +01:00
machines mimir: Set up podman insecure registries, use full hostname for NAS mount 2025-01-27 10:54:27 +01:00
modules loki: Add samba, spice-gtk 2025-01-15 08:50:42 +01:00
overlays The Big Network Update 2025-01-27 10:25:29 +01:00
pkgs pds: Update 2025-01-23 14:01:52 +01:00
users work: Update ghostty config 2025-01-21 14:55:15 +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 Add searchnx container 2024-12-23 17:10:40 +01:00
flake.lock Updates: flake.lock 2025-01-29 10:06:52 +01:00
flake.nix The Big Network Update 2025-01-27 10:25:29 +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