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

• Updated input 'disko':
    'github:nix-community/disko/3a4de9fa3a78ba7b7170dda6bd8b4cdab87c0b21?narHash=sha256-Tc35Y8H%2BkrA6rZeOIczsaGAtobSSBPqR32AfNTeHDRc%3D' (2024-12-24)
  → 'github:nix-community/disko/84a5b93637cc16cbfcc61b6e1684d626df61eb21?narHash=sha256-2dt1nOe9zf9pDkf5Kn7FUFyPRo581s0n90jxYXJ94l0%3D' (2024-12-29)
• Updated input 'ghostty':
    'github:ghostty-org/ghostty/6cbd69da7839260508466f9dfb2bc0c0fbb43991?narHash=sha256-kD49xAUMCWU60IRKoJiyJTaEUum7rk45OYjZfwWr3Ck%3D' (2024-12-28)
  → 'github:ghostty-org/ghostty/64c393716aec90d19a619b8c2e30b2e118c6f07a?narHash=sha256-Wbwmx1LJ36/60T3%2BlpM5Qb3g%2BkNqQYhR8S/ESGTZgmk%3D' (2024-12-29)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/a16b9a7cac7f4d39a84234d62e91890370c57d76?narHash=sha256-3zXufMRWUdwmp8/BTmxVW/k4MyqsPjLnnt/IlQyZvhc%3D' (2024-12-28)
  → 'github:oxalica/rust-overlay/915d7c42a706f9191696d1b779cf1ea1769d34a8?narHash=sha256-IysonaW/cItfmMuvg43flOqMgS4N0C6yKJobCa09XOQ%3D' (2024-12-29)
• Updated input 'sops':
    'github:Mic92/sops-nix/ed091321f4dd88afc28b5b4456e0a15bd8374b4d?narHash=sha256-6OvJbqQ6qPpNw3CA%2BW8Myo5aaLhIJY/nNFDk3zMXLfM%3D' (2024-12-18)
  → 'github:Mic92/sops-nix/bcb8b65aa596866eb7e5c3e1a6cccbf5d1560b27?narHash=sha256-ZjUjbvS06jf4fElOF4ve8EHjbpbRVHHypStoY8HGzk8%3D' (2024-12-29)
2024-12-29 17:39:49 +01:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules waybar: Add MPRIS module 2024-12-18 19:29:19 +01:00
incus-conf Add incus container template 2024-11-16 17:37:07 +01:00
lib Set up Bluesky PDS 2024-12-03 23:41:09 +01:00
machines odin: Remove obsolete Incus UI definition 2024-12-23 17:11:09 +01:00
modules pipewire: Use libcamera instead of v4l2 2024-12-19 09:06:43 +01:00
overlays Initial ghostty module 2024-12-15 14:58:13 +01:00
pkgs pds/pdsadmin: 0.4.67 -> 0.4.74 2024-12-20 11:19:26 +01:00
users home: Remove some unused packages 2024-12-29 17:31:44 +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 2024-12-29 17:39:49 +01:00
flake.nix ghostty: Use GitHub URL 2024-12-29 17:30:45 +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