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

• Updated input 'comin':
    'github:nlewo/comin/9afca855518f79b5bff3d2a9663b2e6f81dd361a?narHash=sha256-n8yVzBixxaj0Qn6SV655t6QUtKSOJ%2BsR4AEoq0Vqb/0%3D' (2024-11-13)
  → 'github:nlewo/comin/773f6141a95f0538f3f8e687da037659bf38bd40?narHash=sha256-Jo0fBfyJ/JLDcWQaLlZjra5VZDUB6m1Wes/dFFGbMBY%3D' (2025-01-22)
• Updated input 'ghostty':
    'github:ghostty-org/ghostty/ddf7173ae92b4992c4506b6df4681c0687cc29c3?narHash=sha256-A5w6%2B0Zc7b93nbCF6ayHbXIEO0%2Bh%2B8BR4byYGgTy%2BtY%3D' (2025-01-22)
  → 'github:ghostty-org/ghostty/fd8cacaa674c93fb86751e8030af2b202133939e?narHash=sha256-Rs8KNdInnmqs0YNWvvauYlf2XcnA4EIdmRggvQGjmUQ%3D' (2025-01-24)
• Updated input 'home-manager':
    'github:nix-community/home-manager/cefb1889b96ddd1dac3dd4734e894f4cadab7802?narHash=sha256-qa/D3NC1JoApnUuLrq1gseBmIxeg6icm/ojPgggMDVQ%3D' (2025-01-22)
  → 'github:nix-community/home-manager/7b9ece1bf3c8780cde9b975b28c2d9ccd7e9cdb9?narHash=sha256-v9WQ3c4ctwPMfdBZMZxpdM9xXev4uChce4BxOpvsu0E%3D' (2025-01-23)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/61c79181e77ef774ab0468b28a24bc2647d498d6?narHash=sha256-utplyRM6pqnN940gfaLFBb9oUCSzkan86IvmkhsVlN8%3D' (2025-01-20)
  → 'github:NixOS/nixos-hardware/9368027715d8dde4b84c79c374948b5306fdd2db?narHash=sha256-qM/y6Dtpu9Wmf5HqeZajQdn%2BcS0aljdYQQQnrvx%2BLJE%3D' (2025-01-23)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/06b8ed0eee289fe94c66f1202ced9a6a2c59a14c?narHash=sha256-dgF6htdmfNnZzVInifks6npnCAyVsIHWSpWNs10RSW0%3D' (2025-01-22)
  → 'github:oxalica/rust-overlay/eb64cbcc8eee0fa87ebded92805280d2ec97415a?narHash=sha256-p%2BNVABRpGi%2BpT%2Bxxf9HcLcFVxG6L%2BvEEy%2BNwzB9T0f8%3D' (2025-01-24)
2025-01-27 10:48:34 +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: Disable horus1 VPN connection until re-established 2025-01-27 10:29:20 +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-27 10:48:34 +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