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

• Updated input 'home-manager':
    'github:nix-community/home-manager/f1b1786ea77739dcd181b920d430e30fb1608b8a?narHash=sha256-f9UyHMTb%2BBwF6RDZ8eO9HOkSlKeeSPBlcYhMmV1UNIk%3D' (2024-12-23)
  → 'github:nix-community/home-manager/35b98d20ca8f4ca1f6a2c30b8a2c8bb305a36d84?narHash=sha256-Gm%2B0DcbUS338vvkwyYWms5jsWlx8z8MeQBzcnIDuIkw%3D' (2024-12-24)
• Updated input 'microvm':
    'github:astro/microvm.nix/3910e65c3d92c82ea41ab295c66df4c0b4f9e7b3?narHash=sha256-51bhaMe8BZuNAStUHvo07nDO72wmw8PAqkSYH4U31Yo%3D' (2024-12-12)
  → 'github:astro/microvm.nix/2ae08de8e8068b00193b9cfbc0acc9dfdda03181?narHash=sha256-CeYsC8J2dNiV2FCQOxK1oZ/jNpOF2io7aCEFHmfi95U%3D' (2024-12-24)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/fb5fdba697ee9a2391ca9ceea3b853b4e3ce37a5?narHash=sha256-NdhUgB9BkLGW9I%2BQ1GyUUCc3CbDgsg7HLWjG7WZBR5Q%3D' (2024-12-24)
  → 'github:oxalica/rust-overlay/550e1f10be4a504747a7894c35e887e61235763b?narHash=sha256-ceUDFBsLf5Cz3GlhQAdaJsEfi5s1MDjDsO9VvPFoKAE%3D' (2024-12-26)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/e41e948cf097cbf96ba4dff47a30ea6891af9f33?narHash=sha256-N7M37KP7cHWoXicuE536GrVvU8nMDT/gpI1kja2hkdg%3D' (2024-12-23)
  → 'github:numtide/treefmt-nix/9e09d30a644c57257715902efbb3adc56c79cf28?narHash=sha256-8T3K5amndEavxnludPyfj3Z1IkcFdRpR23q%2BT0BVeZE%3D' (2024-12-25)
2024-12-26 19:28:04 +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: Enable playerctld 2024-12-19 09:07:37 +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-26 19:28:04 +01:00
flake.nix Update: flake.lock flake.nix 2024-12-23 16:44:15 +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