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

• Updated input 'home-manager':
    'github:nix-community/home-manager/daf04c5950b676f47a794300657f1d3d14c1a120?narHash=sha256-5HGG09bh/Yx0JA8wtBMAzt0HMCL1bYZ93x4IqzVExio%3D' (2025-01-24)
  → 'github:nix-community/home-manager/e1ae908bcc30af792b0bb0a52e53b03d2577255e?narHash=sha256-xiPARGKwocaMtv%2BU/rgi%2Bh2g56CZZEmrcl7ldRaslq8%3D' (2025-01-27)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/825479c345a7f806485b7f00dbe3abb50641b083?narHash=sha256-nU6AezEX4EuahTO1YopzueAXfjFfmCHylYEFCagduHU%3D' (2025-01-24)
  → 'github:nixos/nixpkgs/852ff1d9e153d8875a83602e03fdef8a63f0ecf8?narHash=sha256-Zf0hSrtzaM1DEz8//%2BXs51k/wdSajticVrATqDrfQjg%3D' (2025-01-26)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/dd236609a6c272d00ceaa042b1a81a31968e7f4d?narHash=sha256-rohhmT/b8QNaIL3nY01jFtCyZu2dGTufef5YieECWZM%3D' (2025-01-26)
  → 'github:oxalica/rust-overlay/27bb917a41480b6ceee8e42d32dfcc9ecc6fa6c6?narHash=sha256-ZSXR/po/slqpsk3JLVjXbE04Vqrb4k7yCGHjyMj3tOk%3D' (2025-01-27)
2025-01-27 10:28:30 +01:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules swaylock: Remove unused module parameter 2025-01-09 14:59:30 +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 The Big Network Update 2025-01-27 10:25:29 +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:28:30 +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