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

• Updated input 'disko':
    'github:nix-community/disko/611c9ea53250f7bb22286b3d26872280a0e608f9?narHash=sha256-sBDe%2BQmX/QohlnKeSEzrftcXyZL5FY09OMjZ59Rpyy4%3D' (2024-04-01)
  → 'github:nix-community/disko/0a17298c0d96190ef3be729d594ba202b9c53beb?narHash=sha256-kTcEtrQIRnexu5lAbLsmUcfR2CrmsACF1s3ZFw1NEVA%3D' (2024-04-05)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/5d0a10938c32f3cb95d1f1f18127948d239c6720?narHash=sha256-QzrcwGuuAP1octIcUw/d%2BYi5BEXYt1NOwNLpeUrqKTk%3D' (2024-04-03)
  → 'github:nix-community/emacs-overlay/3ef9acae671e1eab0a71ee982ef9097a9707b665?narHash=sha256-IHc8IfVjWnlET894jWyDVqwFnT95p7vBgiK5GRzJ5P4%3D' (2024-04-08)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/219951b495fc2eac67b1456824cc1ec1fd2ee659?narHash=sha256-u1dfs0ASQIEr1icTVrsKwg2xToIpn7ZXxW3RHfHxshg%3D' (2024-03-28)
  → 'github:NixOS/nixpkgs/e38d7cb66ea4f7a0eb6681920615dfcc30fc2920?narHash=sha256-g0whLLwRvgO2FsyhY8fNk%2BTWenS3jg5UdlWL4uqgFeo%3D' (2024-04-06)
• Updated input 'eww':
    'github:elkowar/eww/149727ce1f7dd4f461ab1d61d560546f3d1f32a1?narHash=sha256-DkJBMFUG8GLCoZ5yEXRDb4iWQjH%2BV6hrB4QQuRrn2F8%3D' (2024-03-31)
  → 'github:elkowar/eww/ebe5f349d184e79edc33199d064d9ec5f1e4dd9b?narHash=sha256-WcAWIvIdGE0tcS7WJ6JlbRlUnKvpvut500NozUmJ6jY%3D' (2024-04-06)
• Updated input 'home-manager':
    'github:nix-community/home-manager/80546b220e95a575c66c213af1b09fe255299438?narHash=sha256-94I0sXz6fiVBvUAk2tg6t3UpM5rOImj4JTSTNFbg64s%3D' (2024-04-02)
  → 'github:nix-community/home-manager/a561ad6ab38578c812cc9af3b04f2cc60ebf48c9?narHash=sha256-WA3bbBWhd3o1wAgyHZNypjb/LG4oq%2BIWxFq8ey8yNPU%3D' (2024-04-07)
• Updated input 'microvm':
    'github:astro/microvm.nix/1b7c70b198554d0f0306ec153c94906623437aed?narHash=sha256-lLlXQBebD6wd2m7vjXg2zQ8tfJF2a70RL%2BzXdbaQqn0%3D' (2024-03-29)
  → 'github:astro/microvm.nix/1e746a8987eb893adc8dd317b84e73d72803b650?narHash=sha256-7W3D1Gk6mGlwtV07n6YB/7s3tThcBYknlvDPcoJJSe4%3D' (2024-04-06)
• Updated input 'nix-ld-rs':
    'github:nix-community/nix-ld-rs/76999cac5abefc7862b19daeef0ef91d4270fb17?narHash=sha256-j0yUDFX7cyoM5r9afQ45tfu8wqUk0dRicOb79%2BK81JI%3D' (2024-03-25)
  → 'github:nix-community/nix-ld-rs/2c1c306f4e2c24eae438248b538a6d62c99984f8?narHash=sha256-j%2Bq01YdTR42eqAI95%2B6DPyWDsBzYKxkRU4bJvXiLx24%3D' (2024-04-07)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/9a763a7acc4cfbb8603bb0231fec3eda864f81c0?narHash=sha256-luvqik%2Bi3HTvCbXQZgB6uggvEcxI9uae0nmrgtXJ17U%3D' (2024-03-25)
  → 'github:NixOS/nixos-hardware/1e3b3a35b7083f4152f5a516798cf9b21e686465?narHash=sha256-c9nT2ZODGqobISP41kUwCQ84Srwg7a/1TmPFQuol2/8%3D' (2024-04-08)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/d8fe5e6c92d0d190646fb9f1056741a229980089?narHash=sha256-iMUFArF0WCatKK6RzfUJknjem0H9m4KgorO/p3Dopkk%3D' (2024-03-29)
  → 'github:nixos/nixpkgs/ff0dbd94265ac470dda06a657d5fe49de93b4599?narHash=sha256-aSpiNepFOMk9932HOax0XwNxbA38GOUVOiXfUVPOrck%3D' (2024-04-06)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/74deb67494783168f5b6d2071d73177e6bccab65?narHash=sha256-8LU2IM4ctHz043hlzoFUwQS1QIdhiMGEH/oIfPCxoWU%3D' (2024-04-03)
  → 'github:oxalica/rust-overlay/ece8bdb3c3b58def25f204b9a1261dee55d7c9c0?narHash=sha256-UZebDBECRSrJqw4K%2BLxZ6qFdYnScu6q1XCwqtsu1cas%3D' (2024-04-08)
• Updated input 'sops':
    'github:Mic92/sops-nix/99b1e37f9fc0960d064a7862eb7adfb92e64fa10?narHash=sha256-HxegAPnQJSC4cbEbF4Iq3YTlFHZKLiNTk8147EbLdGg%3D' (2024-03-31)
  → 'github:Mic92/sops-nix/39191e8e6265b106c9a2ba0cfd3a4dafe98a31c6?narHash=sha256-DMgBS%2BjNHDg8z3g9GkwqL8xTKXCRQ/0FGsAyrniVonc%3D' (2024-04-07)
• Updated input 'sops/nixpkgs-stable':
    'github:NixOS/nixpkgs/2b4e3ca0091049c6fbb4908c66b05b77eaef9f0c?narHash=sha256-tNeB6emxj74Y6ctwmsjtMlzUMn458sBmwnD35U5KIM4%3D' (2024-03-30)
  → 'github:NixOS/nixpkgs/e38d7cb66ea4f7a0eb6681920615dfcc30fc2920?narHash=sha256-g0whLLwRvgO2FsyhY8fNk%2BTWenS3jg5UdlWL4uqgFeo%3D' (2024-04-06)
2024-04-08 11:20:15 +02:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules git: Authenticate to repohost with OAuth 2024-04-05 13:15:10 +02:00
lib firefox: Enable extra stuff 2024-02-28 23:54:56 +01:00
machines mimir: Switch to swayfx 2024-04-05 13:15:40 +02:00
modules mimir: Switch to swayfx 2024-04-05 13:15:40 +02:00
overlays git-repo-go: Add to overlay 2024-03-28 14:15:12 +01:00
pkgs git-repo-go: init at 0.7.8 2024-03-28 14:14:45 +01:00
users mimir: Switch to swayfx 2024-04-05 13:15:40 +02:00
wallpapers Add Space Shuttle Endeavour wallpaper 2023-10-05 15:02:14 +02:00
.dir-locals.el Add .dir-locals.el 2024-02-29 14:25:26 +01: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 Clean up sops file 2024-02-29 14:25:29 +01:00
flake.lock flake.lock: Update 2024-04-08 11:20:15 +02:00
flake.nix flake: Update input URLs to https 2024-04-05 13:13:54 +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