No description
Find a file
Erwin Boskma 8d7016fd3d
flake.lock: Update
Flake lock file updates:

• Updated input 'anyrun':
    'github:Kirottu/anyrun/76af3eb198f376303194c31a83f2399a043acf1b' (2023-08-19)
  → 'github:Kirottu/anyrun/f9073a6184f61a07bb584ecc47fbb8eb997e9216' (2023-10-10)
• Updated input 'anyrun/flake-parts':
    'github:hercules-ci/flake-parts/71fb97f0d875fd4de4994dfb849f2c75e17eb6c3' (2023-06-01)
  → 'github:hercules-ci/flake-parts/c9afaba3dfa4085dbd2ccb38dfade5141e33d9d4' (2023-10-03)
• Updated input 'disko':
    'github:nix-community/disko/cde886a1c97ef2399b4f91409db045785020291f' (2023-10-05)
  → 'github:nix-community/disko/32ce057c183506cecb0b84950e4eaf39f37e8c75' (2023-10-09)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/c7ac54dd8409046d50d17c11d4fa29a782b37804' (2023-10-08)
  → 'github:nix-community/emacs-overlay/8330eb06dc9f115afa70cf9c514505571f100120' (2023-10-11)
• Updated input 'home-manager':
    'github:nix-community/home-manager/3c1d8758ac3f55ab96dcaf4d271c39da4b6e836d' (2023-10-08)
  → 'github:nix-community/home-manager/6bba64781e4b7c1f91a733583defbd3e46b49408' (2023-10-10)
• Updated input 'microvm':
    'github:astro/microvm.nix/1119c4d7b1ed1e776f30fb13003b9f18b88a54f4' (2023-10-08)
  → 'github:astro/microvm.nix/2c28afc481d47c551ab71d96130d938cdde59933' (2023-10-10)
• Updated input 'nil':
    'github:oxalica/nil/510bc6e9b41d39c81b9c815065cb5b7e23a2428c' (2023-09-23)
  → 'github:oxalica/nil/ee215a18abf1798dac632f76cad3dea6a8d4418f' (2023-10-09)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/bb2db418b616fea536b1be7f6ee72fb45c11afe0' (2023-10-06)
  → 'github:NixOS/nixos-hardware/c2bbfcfc3d12351919f8df7c7d6528f41751d0a3' (2023-10-10)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/87828a0e03d1418e848d3dd3f3014a632e4a4f64' (2023-10-06)
  → 'github:nixos/nixpkgs/f99e5f03cc0aa231ab5950a15ed02afec45ed51a' (2023-10-09)
• Updated input 'pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/66c352d33e0907239e4a69416334f64af2c685cc' (2023-10-05)
  → 'github:cachix/pre-commit-hooks.nix/42e1b6095ef80a51f79595d9951eb38e91c4e6ca' (2023-10-09)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/6528a18a62d817200099c520b6eea7833ade9a9a' (2023-10-08)
  → 'github:oxalica/rust-overlay/c6d2f0bbd56fc833a7c1973f422ca92a507d0320' (2023-10-11)
• Updated input 'sops':
    'github:Mic92/sops-nix/d7380c38d407eaf06d111832f4368ba3486b800e' (2023-10-08)
  → 'github:Mic92/sops-nix/6b32358c22d2718a5407d39a8236c7bd9608f447' (2023-10-09)
2023-10-11 08:14:09 +02:00
home-manager/modules sway: Add extraKeybinds option 2023-10-10 09:55:04 +02:00
machines mimir: Bind guacd on localhost (the default) 2023-10-09 16:27:50 +02:00
modules greetd: Only open firewall for wayvnc when tailscale is not enabled 2023-10-10 09:56:06 +02:00
overlays Remove commitgpt 2023-05-22 10:27:21 +02:00
pkgs Initial transfer to sway on work PC (#2) 2023-09-29 11:52:45 +02:00
users sway: Add extraKeybinds option 2023-10-10 09:55:04 +02:00
wallpapers Add Space Shuttle Endeavour wallpaper 2023-10-05 15:02:14 +02:00
.envrc Load .env file 2023-04-24 08:25:18 +02:00
.gitignore Add emacs desktop file to .gitignore 2023-09-11 20:19:13 +02:00
.projectile Update flake.lock, update kernel version 2022-03-23 15:42:32 +01:00
.sops.yaml Use caddy as proxy in place of nginx-proxy-manager 2023-08-10 16:43:46 +02:00
flake.lock flake.lock: Update 2023-10-11 08:14:09 +02:00
flake.nix Switch from terraform to opentofu 2023-10-09 14:35:09 +02:00
Justfile Justfile: add update task 2023-10-09 14:35:02 +02:00
krops.nix Add pre-commit hooks and fix style issues 2022-11-19 20:00:54 +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