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

• Updated input 'atuin':
    'github:atuinsh/atuin/64b7581644e2dbc4d1f31f220158c0cc321f2139?narHash=sha256-QiukFbOYCdlpmbG7MTTSq4CCU9blp4rSA21veX9vyKY%3D' (2024-05-17)
  → 'github:atuinsh/atuin/95c91689441c66228cd8eb2e94e9b43a848d75f4?narHash=sha256-jIGTdIcHtRpY3fcfNUbcTv2IOVGW9srUzLrcYgK07Ik%3D' (2024-05-18)
• Updated input 'disko':
    'github:nix-community/disko/5f6dbcce99d60dd77f96dfc66d06bbea149a40e1?narHash=sha256-mkZ3hrPG7d%2BqL7B6pQcrNfPh2mnQEJR3FHK93qCp6Uk%3D' (2024-05-16)
  → 'github:nix-community/disko/6f01b9710bc4d3bf006eb8df928b4b15e0430901?narHash=sha256-82oT27w9smpItZ%2BPyN2C0PjIwZYbIocwXSM4u1igXuc%3D' (2024-05-20)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/f01ccf8bce08f1f65c1d22cc46c34154fbf9b951?narHash=sha256-5h%2B%2BJw29kLFzF9VsARxuxtZrFQ1HNIofmVjMPGvIY6Q%3D' (2024-05-17)
  → 'github:nix-community/emacs-overlay/96e0ae1f75b858ce26b84fb2b4bb2a0249dab918?narHash=sha256-WLxzdjUlIuf56IYdILyrDUtyUhRlWsiCF7xuhunErMA%3D' (2024-05-20)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/9ddcaffecdf098822d944d4147dd8da30b4e6843?narHash=sha256-xp62OkRkbUDNUc6VSqH02jB0FbOS%2BMsfMb7wL1RJOfA%3D' (2024-05-14)
  → 'github:NixOS/nixpkgs/e7cc61784ddf51c81487637b3031a6dd2d6673a2?narHash=sha256-H0eCta7ahEgloGIwE/ihkyGstOGu%2BkQwAiHvwVoXaA0%3D' (2024-05-18)
• Updated input 'nix-ld-rs':
    'github:nix-community/nix-ld-rs/57342044b03b7faa4c949d492c80527ad693194c?narHash=sha256-8gG1yIsha3bOUNs2cyOrC1I2E30G3R7bGoHsGO5bhkY%3D' (2024-05-06)
  → 'github:nix-community/nix-ld-rs/bca096389e440f0f20a6a795546f65e2f2f7410d?narHash=sha256-CwOldvBBXr1K2Zr6z5chHtieBBIQqk%2Bk5RKt3hkF1OU%3D' (2024-05-19)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/ff1be1e3cdf884df0935ab28745ab13c3c26d828?narHash=sha256-e4LJk5uV1wvrRkffGFZekPWvFUx29NnnOahBlLaq8Ek%3D' (2024-05-16)
  → 'github:NixOS/nixos-hardware/d9e0b26202fd500cf3e79f73653cce7f7d541191?narHash=sha256-FC21Bn4m6ctajMjiUof30awPBH/7WjD0M5yqrWepZbY%3D' (2024-05-20)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/33d1e753c82ffc557b4a585c77de43d4c922ebb5?narHash=sha256-cYApT0NXJfqBkKcci7D9Kr4CBYZKOQKDYA23q8XNuWg%3D' (2024-05-15)
  → 'github:nixos/nixpkgs/6c0b7a92c30122196a761b440ac0d46d3d9954f1?narHash=sha256-sowPU%2BtLQv8GlqtVtsXioTKeaQvlMz/pefcdwg8MvfM%3D' (2024-05-19)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/d3a96b08a7280a5753246129b462eed3662815d5?narHash=sha256-UXHk4dKvvm5mSuDDON3lXU5CHKiTRnIjA5mUtDOtKEU%3D' (2024-05-17)
  → 'github:oxalica/rust-overlay/04d61d14803854fd8453ec43c5c53a471e5407a8?narHash=sha256-lc7wOh5BjYUoxdhcPkeUY8BmuL2qtRaHlW1403RW48E%3D' (2024-05-20)
• Updated input 'sops':
    'github:Mic92/sops-nix/b6cb5de2ce57acb10ecdaaf9bbd62a5ff24fa02e?narHash=sha256-y1uMzXNlrVOWYj1YNcsGYLm4TOC2aJrwoUY1NjQs9fM%3D' (2024-05-12)
  → 'github:Mic92/sops-nix/0bf1808e70ce80046b0cff821c019df2b19aabf5?narHash=sha256-zuSAGlx8Qk0OILGCC2GUyZ58/SJ5R3GZdeUNQ6IS0fQ%3D' (2024-05-19)
• Updated input 'sops/nixpkgs-stable':
    'github:NixOS/nixpkgs/8e47858badee5594292921c2668c11004c3b0142?narHash=sha256-q0OFeZqKQaik2U8wwGDsELEkgoZMK7gvfF6tTXkpsqE%3D' (2024-05-11)
  → 'github:NixOS/nixpkgs/e7cc61784ddf51c81487637b3031a6dd2d6673a2?narHash=sha256-H0eCta7ahEgloGIwE/ihkyGstOGu%2BkQwAiHvwVoXaA0%3D' (2024-05-18)
2024-05-20 13:32:15 +02:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules foot: Use default colours 2024-05-17 22:27:04 +02:00
lib Remove unused input 2024-04-24 14:46:49 +02:00
machines mimir: NVIDIA tweaks 2024-05-17 22:27:46 +02:00
modules desktop: Remove AMD GPU only env variable 2024-05-17 22:27:57 +02:00
overlays git-repo-go: Add to overlay 2024-03-28 14:15:12 +01:00
pkgs incus-ui: Update to 0.8 2024-04-26 12:19:50 +02:00
users home: Fix GTK theme name 2024-05-07 17:15:30 +02: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 Load .env file 2023-04-24 08:25:18 +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 neo, a Matrix server 2024-04-24 14:46:45 +02:00
flake.lock flake.lock: Update 2024-05-20 13:32:15 +02:00
flake.nix flake: add libxkbcommon to devshell 2024-05-08 15:53:38 +02:00
Justfile Add task to Justfile to build package 2024-03-28 16:10:02 +01:00
krops.nix Run nixfmt 2024-02-05 11:46:52 +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