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

• Updated input 'atuin':
    'github:atuinsh/atuin/3f80a9fca43de7e1905db378398ad7ef2c1ff916?narHash=sha256-0McFNyQx2epRmDuQdXFLUuy6xlEczuS0R6Kd0RhK/X0%3D' (2024-04-08)
  → 'github:atuinsh/atuin/0ab9f4d9ff545d83dc664b494ecf450750c0f184?narHash=sha256-tcGPDWrfUuo3d5OpXyg9veJeYIatzFLRjcZSp%2B0SFxI%3D' (2024-04-09)
• Updated input 'disko':
    'github:nix-community/disko/0a17298c0d96190ef3be729d594ba202b9c53beb?narHash=sha256-kTcEtrQIRnexu5lAbLsmUcfR2CrmsACF1s3ZFw1NEVA%3D' (2024-04-05)
  → 'github:nix-community/disko/79eab0e82cb126bf4ac170f44af82479f0895ab5?narHash=sha256-Tv4C8OSPVmm4LbpJGLFSODyvJy6DqrisEGPCQdNVOeY%3D' (2024-04-08)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/3ef9acae671e1eab0a71ee982ef9097a9707b665?narHash=sha256-IHc8IfVjWnlET894jWyDVqwFnT95p7vBgiK5GRzJ5P4%3D' (2024-04-08)
  → 'github:nix-community/emacs-overlay/d08457d425b0a1f15f44f6d9faa17240f2bd29a6?narHash=sha256-y703Dcj6RS51iO5xFDorkyIGZD8/hQDkwaHJsB6uI80%3D' (2024-04-10)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/e38d7cb66ea4f7a0eb6681920615dfcc30fc2920?narHash=sha256-g0whLLwRvgO2FsyhY8fNk%2BTWenS3jg5UdlWL4uqgFeo%3D' (2024-04-06)
  → 'github:NixOS/nixpkgs/d272ca50d1f7424fbfcd1e6f1c9e01d92f6da167?narHash=sha256-y31s5idk3jMJMAVE4Ud9AdI7HT3CgTAeMTJ0StqKN7Y%3D' (2024-04-08)
• Updated input 'home-manager':
    'github:nix-community/home-manager/a561ad6ab38578c812cc9af3b04f2cc60ebf48c9?narHash=sha256-WA3bbBWhd3o1wAgyHZNypjb/LG4oq%2BIWxFq8ey8yNPU%3D' (2024-04-07)
  → 'github:nix-community/home-manager/b00d0e4fe9cba0047f54e77418ddda5f17e6ef2c?narHash=sha256-NrVLXkpT9ZigiI8md6NIzHS%2B3lE4QTj30IgXG57O9iM%3D' (2024-04-09)
• Updated input 'microvm':
    'github:astro/microvm.nix/1e746a8987eb893adc8dd317b84e73d72803b650?narHash=sha256-7W3D1Gk6mGlwtV07n6YB/7s3tThcBYknlvDPcoJJSe4%3D' (2024-04-06)
  → 'github:astro/microvm.nix/ee0068ca87bdabbde3cc39b7af807c0302d0304c?narHash=sha256-CNdpLnGOUZfIhBanAFVF7t1xstaQGL4w6sQPrVeLlus%3D' (2024-04-09)
• Updated input 'nix-ld-rs':
    'github:nix-community/nix-ld-rs/2c1c306f4e2c24eae438248b538a6d62c99984f8?narHash=sha256-j%2Bq01YdTR42eqAI95%2B6DPyWDsBzYKxkRU4bJvXiLx24%3D' (2024-04-07)
  → 'github:nix-community/nix-ld-rs/f1c82bda746815f2162a9cc959296bfa0fc50499?narHash=sha256-99MkjQdZlEJ4292bUtHx7C07pDSbU9syEb3lc%2BFrPkw%3D' (2024-04-09)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/1e3b3a35b7083f4152f5a516798cf9b21e686465?narHash=sha256-c9nT2ZODGqobISP41kUwCQ84Srwg7a/1TmPFQuol2/8%3D' (2024-04-08)
  → 'github:NixOS/nixos-hardware/05aa46a1f3b5ac92bfe84807868ba9670d48b031?narHash=sha256-rXb3onsPMiv00FrGSpIJyYa8x53W0dlbJ5Ka3xvje/c%3D' (2024-04-09)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/ff0dbd94265ac470dda06a657d5fe49de93b4599?narHash=sha256-aSpiNepFOMk9932HOax0XwNxbA38GOUVOiXfUVPOrck%3D' (2024-04-06)
  → 'github:nixos/nixpkgs/4cba8b53da471aea2ab2b0c1f30a81e7c451f4b6?narHash=sha256-vMZ5603yU0wxgyQeHJryOI%2BO61yrX2AHwY6LOFyV1gM%3D' (2024-04-08)
• Updated input 'pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/e35aed5fda3cc79f88ed7f1795021e559582093a?narHash=sha256-4XLvuSIDZJGS17xEwSrNuJLL7UjDYKGJSbK1WWX2AK8%3D' (2024-04-02)
  → 'github:cachix/pre-commit-hooks.nix/70f504012f0a132ac33e56988e1028d88a48855c?narHash=sha256-igpsH%2Bpa6yFwYOdah3cFciCk8gw%2BytniG9quf5f/q84%3D' (2024-04-08)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/ece8bdb3c3b58def25f204b9a1261dee55d7c9c0?narHash=sha256-UZebDBECRSrJqw4K%2BLxZ6qFdYnScu6q1XCwqtsu1cas%3D' (2024-04-08)
  → 'github:oxalica/rust-overlay/9ef1eca23bee5fb8080863909af3802130b2ee57?narHash=sha256-uOx7GaLV%2B5hekAYtm/CBr627Pi7%2Bd1Yh70hwKmVjYYo%3D' (2024-04-10)
• Updated input 'sops':
    'github:Mic92/sops-nix/39191e8e6265b106c9a2ba0cfd3a4dafe98a31c6?narHash=sha256-DMgBS%2BjNHDg8z3g9GkwqL8xTKXCRQ/0FGsAyrniVonc%3D' (2024-04-07)
  → 'github:Mic92/sops-nix/538c114cfdf1f0458f507087b1dcf018ce1c0c4c?narHash=sha256-a4hbls4vlLRMciv62YrYT/Xs/3Cubce8WFHPUDWwzf8%3D' (2024-04-08)
2024-04-10 08:15:41 +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-10 08:15:41 +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