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

• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/c1d57dfc41323f39f16ec7fe1c9d85402e6ec12d?narHash=sha256-MUg5/YtBUTKbN6aWFvHA3n7yWK/LTRAP2VkCLr%2BT/0o%3D' (2024-08-02)
  → 'github:nix-community/emacs-overlay/c4f6796e5c499cf6370a45fff08a03e848b9abad?narHash=sha256-7n9UqBkTAF/RikFzCyHKz50kzBDF5GYgVb3J5wCh4EY%3D' (2024-08-04)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/cf05eeada35e122770c5c14add958790fcfcbef5?narHash=sha256-B2xRiC3NEJy/82ugtareBkRqEkPGpMyjaLxaR8LBxNs%3D' (2024-07-30)
  → 'github:NixOS/nixpkgs/a633d89c6dc9a2a8aae11813a62d7c58b2c0cc51?narHash=sha256-IRiJA0NVAoyaZeKZluwfb2DoTpBAj%2BFLI0KfybBeDU0%3D' (2024-08-03)
• Updated input 'home-manager':
    'github:nix-community/home-manager/6e090576c4824b16e8759ebca3958c5b09659ee8?narHash=sha256-ss0G8t8RJVDewA3MyqgAlV951cWRK6EtVhVKEZ7J5LU%3D' (2024-07-31)
  → 'github:nix-community/home-manager/afc892db74d65042031a093adb6010c4c3378422?narHash=sha256-QfM/9BMRkCmgWzrPDK%2BKbgJOUlSJnfX4OvsUupEUZvA%3D' (2024-08-02)
• Updated input 'microvm':
    'github:astro/microvm.nix/2f56d58cae49d6b66adc42aa3c52051a83f6a176?narHash=sha256-%2BcKh/zzyzOfOC7GryAVMESpvTckOVJ%2BcQC01JJi1z8k%3D' (2024-07-24)
  → 'github:astro/microvm.nix/dc326ff7fa41aa5cc210b99617743bbc51275924?narHash=sha256-8bz0%2BXpjGgio5Bjte0PWsYRArVR2godIBoArly0D%2BHU%3D' (2024-08-03)
• Updated input 'microvm/fenix':
    'github:nix-community/fenix/abc0549e3560189462a7d394cc9d50af4608d103?narHash=sha256-OIuDb6pHDyGpo7YMFyuRzMLcHm7mRvlYOz0Ht7ps2sU%3D' (2024-07-08)
  → 'github:nix-community/fenix/286f371b3cfeaa5c856c8e6dfb893018e86cc947?narHash=sha256-VaNcSh7n8OaFW/DJsR6Fm23V%2BEGpSei0DyF71RKB%2B90%3D' (2024-08-02)
• Updated input 'microvm/fenix/rust-analyzer-src':
    'github:rust-lang/rust-analyzer/a5b21ea0aa644dffd7cf958b43f11f221d53404e?narHash=sha256-STmaV9Zu74QtkGGrbr9uMhskwagfCjJqOAYapXabiuk%3D' (2024-07-07)
  → 'github:rust-lang/rust-analyzer/f149dc5029d8406fae8b2c541603bcac06e30deb?narHash=sha256-FvJ4FaMy1kJbZ3Iw1RyvuiUAsbHJXoU2HwylzaFzj1o%3D' (2024-08-01)
• Updated input 'nix-ld-rs':
    'github:nix-community/nix-ld-rs/178b100f4dda6b1280e9619270009fc8c0938e73?narHash=sha256-SUHIztj/CoqqtwEjSA9cnJb%2BIIFIr2ntrzn0Ly1DCB8%3D' (2024-07-29)
  → 'github:nix-community/nix-ld-rs/76a95ee37d62495743d6e36cdf7f6076ed6adc64?narHash=sha256-bubBZ5JBs0unQp7aaepbXUsKC9USzpBdUJtFFuXTuvE%3D' (2024-08-04)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/9f918d616c5321ad374ae6cb5ea89c9e04bf3e58?narHash=sha256-/DJBI6trCeVnasdjUo9pbnodCLZcFqnVZiLUfqLH4jA%3D' (2024-07-31)
  → 'github:nixos/nixpkgs/d04953086551086b44b6f3c6b7eeb26294f207da?narHash=sha256-hMyG9/WlUi0Ho9VkRrrez7SeNlDzLxalm9FwY7n/Noo%3D' (2024-08-02)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/a9cd2009fb2eeacfea785b45bdbbc33612bba1f1?narHash=sha256-2eek4vZKsYg8jip2WQWvAOGMMboQ40DIrllpsI6AlU4%3D' (2024-08-02)
  → 'github:oxalica/rust-overlay/27ec296d93cb4b2d03e8cbd019b1b4cde8c34280?narHash=sha256-cWD5pCs9AYb%2B512/yCx9D0Pl5KcmyuXHeJpsDw/D1vs%3D' (2024-08-04)
2024-08-04 23:08:33 +02:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules wayvnc: Split from sway module 2024-07-28 20:49:49 +02:00
lib Remove unused input 2024-04-24 14:46:49 +02:00
machines odin: Disable apparmor for now 2024-07-30 12:31:59 +02:00
modules keycloak: Update plugins 2024-07-25 10:39:02 +02:00
overlays overlay: Add temporary hack until Python on nixos-unstable is unfucked 2024-07-15 20:20:15 +02:00
pkgs Change all sha256 attributes to SRI-hashes 2024-07-09 21:33:26 +02:00
users wayvnc: Split from sway module 2024-07-28 20:49:49 +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 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 read: init container 2024-07-15 23:41:19 +02:00
flake.lock flake.lock: Update 2024-08-04 23:08:33 +02:00
flake.nix Remove obsolete and unused packages 2024-07-09 21:33:25 +02:00
Justfile Add task to Justfile to build package 2024-03-28 16:10:02 +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