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

• Updated input 'ghostty':
    'github:ghostty-org/ghostty/69dcea5148ecf40bec2f46174478245e73325acb?narHash=sha256-sOy%2BhFQtxAIa0VWyJoQfEC5K5T3KqZOu2PdoxBgyXqE%3D' (2025-01-24)
  → 'github:ghostty-org/ghostty/71e62f96fa4d286eda835048428d5be96e9f87c1?narHash=sha256-%2BiVqQXAUJshUYgxOHfke54Ux4f/aggl1yub86KNx2tE%3D' (2025-01-25)
• Updated input 'home-manager':
    'github:nix-community/home-manager/a0428685572b134f6594e7d7f5db5e1febbab2d7?narHash=sha256-zta8jvOQ2wRCZmiwFEnS5iCulWAh8e%2BfLUlQxrgOBjM%3D' (2025-01-24)
  → 'github:nix-community/home-manager/daf04c5950b676f47a794300657f1d3d14c1a120?narHash=sha256-5HGG09bh/Yx0JA8wtBMAzt0HMCL1bYZ93x4IqzVExio%3D' (2025-01-24)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/9368027715d8dde4b84c79c374948b5306fdd2db?narHash=sha256-qM/y6Dtpu9Wmf5HqeZajQdn%2BcS0aljdYQQQnrvx%2BLJE%3D' (2025-01-23)
  → 'github:NixOS/nixos-hardware/dfad538f751a5aa5d4436d9781ab27a6128ec9d4?narHash=sha256-ZEbOJ9iT72iwqXsiEMbEa8wWjyFvRA9Ugx8utmYbpz4%3D' (2025-01-24)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/0aa475546ed21629c4f5bbf90e38c846a99ec9e9?narHash=sha256-38J9QfeGSej341ouwzqf77WIHAScihAKCt8PQJ%2BNH28%3D' (2025-01-23)
  → 'github:nixos/nixpkgs/825479c345a7f806485b7f00dbe3abb50641b083?narHash=sha256-nU6AezEX4EuahTO1YopzueAXfjFfmCHylYEFCagduHU%3D' (2025-01-24)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/eb64cbcc8eee0fa87ebded92805280d2ec97415a?narHash=sha256-p%2BNVABRpGi%2BpT%2Bxxf9HcLcFVxG6L%2BvEEy%2BNwzB9T0f8%3D' (2025-01-24)
  → 'github:oxalica/rust-overlay/dd236609a6c272d00ceaa042b1a81a31968e7f4d?narHash=sha256-rohhmT/b8QNaIL3nY01jFtCyZu2dGTufef5YieECWZM%3D' (2025-01-26)
2025-01-26 19:36:46 +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 Migrate to caddy-nix 2025-01-23 14:01:26 +01:00
modules loki: Add samba, spice-gtk 2025-01-15 08:50:42 +01:00
overlays factorio: 2.0.28 -> 2.0.30 2025-01-22 21:11:55 +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-26 19:36:46 +01:00
flake.nix Migrate to caddy-nix 2025-01-23 14:01:26 +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