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

• Updated input 'atuin':
    'github:atuinsh/atuin/eebfd048797d2faffd0a9c6633580c5e3077d688?narHash=sha256-%2B1/Hyq4PHEM8CX7TsSaUiODsv82IYjfu0wFZ%2BJ9H0hU%3D' (2024-05-06)
  → 'github:atuinsh/atuin/ce67e527722cadd4ed7341a3e5d433beb62887f6?narHash=sha256-D6/orzTugeq4wxOye0uBDipif9iM4MZY9e6geFHU91M%3D' (2024-05-13)
• Updated input 'disko':
    'github:nix-community/disko/e1b3ae2b4ebc3c7b83154b9361e3d154e64e362d?narHash=sha256-oYmauPDpSgWjY9hvzwd815igGfP8Ds5Bk6bTo5JrBRk%3D' (2024-05-06)
  → 'github:nix-community/disko/e972a78f4a49cd92075d64b6feeef64d26bf2996?narHash=sha256-DDXZOKK0C5YeZ/GTUj7HiT%2BoqYIt8%2BqTsldaDvhWHFc%3D' (2024-05-13)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/03e77b28d0e617a9961762986a9645e8fd21a8d2?narHash=sha256-BlGVcAhjkPqTAbUlGjs0PVYYY54AGEq2kwiL97VwOZ8%3D' (2024-05-06)
  → 'github:nix-community/emacs-overlay/6ca9fed2e0e1584d6394456aed3a9b2ed3571ac6?narHash=sha256-va6ZPJhZ3Sltk8tpa7sDZu4mijwBmwrnHn6AWeOjdno%3D' (2024-05-13)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/651b4702e27a388f0f18e1b970534162dec09aff?narHash=sha256-tbg0MEuKaPcUrnmGCu4xiY5F%2B7LW2%2BECPKVAJd2HLwM%3D' (2024-05-04)
  → 'github:NixOS/nixpkgs/71bae31b7dbc335528ca7e96f479ec93462323ff?narHash=sha256-DreMqi6%2Bqa21ffLQqhMQL2XRUkAGt3N7iVB5FhJKie4%3D' (2024-05-11)
• Updated input 'eww':
    'github:elkowar/eww/a4da192d629cc43ef3da984b6f9197579a22afe1?narHash=sha256-12ywI/J3YCvZz6BlcW7OEMVwFT5qwLW5VLYPzKyA7s0%3D' (2024-05-05)
  → 'github:elkowar/eww/d1fde927d2799211f791e7ea01cffb667c4f2b60?narHash=sha256-deabn4fdNmJsDxkT6bgCbwB354sUHvkuq%2BDcdWBU6B8%3D' (2024-05-06)
• Updated input 'home-manager':
    'github:nix-community/home-manager/2b87a11125f988a9f67ee63eeaa3682bc841d9b5?narHash=sha256-IbYND3kbkN/GmV8pK8mglViHbdUgIJ1H48HiRPq2w3E%3D' (2024-05-06)
  → 'github:nix-community/home-manager/44677a1c96810a8e8c4ffaeaad10c842402647c1?narHash=sha256-4pRuzsHZOW5W4CsXI9uhKtiJeQSUoe1d2M9mWU98HC4%3D' (2024-05-12)
• Updated input 'nix-ld-rs':
    'github:nix-community/nix-ld-rs/0b9c80d1f1a210eaf7ad5b066172801f3d0eda24?narHash=sha256-nAxkLyytuPCqAuQfgxygtyECuKv%2BYUSlpfstawwF7vk%3D' (2024-05-05)
  → 'github:nix-community/nix-ld-rs/57342044b03b7faa4c949d492c80527ad693194c?narHash=sha256-8gG1yIsha3bOUNs2cyOrC1I2E30G3R7bGoHsGO5bhkY%3D' (2024-05-06)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/8a4adfe48b68b50ef62e9a299898093436269b6d?narHash=sha256-OfShHRR4QmVwEof1EWuZUygw/SFnmxfHogtCKc4vNRM%3D' (2024-05-06)
  → 'github:NixOS/nixos-hardware/a4e2b7909fc1bdf30c30ef21d388fde0b5cdde4a?narHash=sha256-lRxjTxY3103LGMjWdVqntKZHhlmMX12QUjeFrQMmGaE%3D' (2024-05-08)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/25865a40d14b3f9cf19f19b924e2ab4069b09588?narHash=sha256-UlRZtrCnhPFSJlDQE7M0eyhgvuuHBTe1eJ9N9AQlJQ0%3D' (2024-05-05)
  → 'github:nixos/nixpkgs/062ca2a9370a27a35c524dc82d540e6e9824b652?narHash=sha256-VsVAUQOj/cS1LCOmMjAGeRksXIAdPnFIjCQ0XLkCsT0%3D' (2024-05-11)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/f3b20ea4131408ea585bddb1f41f91c4de9499cf?narHash=sha256-LiIxWRKbm1DZ%2B7l1a6FMmIO8leQx5yrRLIApCMai1DY%3D' (2024-05-06)
  → 'github:oxalica/rust-overlay/6c465248316cd31502c82f81f1a3acf2d621b01c?narHash=sha256-OpI0TnN%2BuE0vvxjPStlTzf5RTohIXVSMwrP9NEgMtaY%3D' (2024-05-13)
• Updated input 'sops':
    'github:Mic92/sops-nix/10dc39496d5b027912038bde8d68c836576ad0bc?narHash=sha256-YJ1k/jyd6vKqmVgGkkAb4n%2BZfPPAt8%2BL5a73eAThqFU%3D' (2024-05-05)
  → 'github:Mic92/sops-nix/b6cb5de2ce57acb10ecdaaf9bbd62a5ff24fa02e?narHash=sha256-y1uMzXNlrVOWYj1YNcsGYLm4TOC2aJrwoUY1NjQs9fM%3D' (2024-05-12)
• Updated input 'sops/nixpkgs-stable':
    'github:NixOS/nixpkgs/b980b91038fc4b09067ef97bbe5ad07eecca1e76?narHash=sha256-tCxeDP4C1pWe2rYY3IIhdA40Ujz32Ufd4tcrHPSKx2M%3D' (2024-05-04)
  → 'github:NixOS/nixpkgs/8e47858badee5594292921c2668c11004c3b0142?narHash=sha256-q0OFeZqKQaik2U8wwGDsELEkgoZMK7gvfF6tTXkpsqE%3D' (2024-05-11)
2024-05-13 09:21:16 +02:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules river: Better handling of keyboard layout (as in: this works) 2024-05-08 15:53:21 +02:00
lib Remove unused input 2024-04-24 14:46:49 +02:00
machines coredns: DynamicUser services apparently don't have access to the tailscale socket 2024-05-08 18:36:37 +02:00
modules caddy-proxy: Set cloudflare as resolver for TLS 2024-05-07 18:08:27 +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-13 09:21:16 +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