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

• Updated input 'atuin':
    'github:atuinsh/atuin/8956142cc5b4f5636ae1943f81bf2c22864b8dba?narHash=sha256-s7dGKRFHjizKv%2BmqaAd/7BmwPphNM6XMGqtC40sqzWM%3D' (2024-06-24)
  → 'github:atuinsh/atuin/9e36f63c6edbd7d675202e873716de9748928b59?narHash=sha256-NBPZdXaXPPbD/w2EM2cC3dK1ZFSAemV5sIQHGLeoAEY%3D' (2024-06-24)
• Updated input 'disko':
    'github:nix-community/disko/50d4d13fbac5db81f8c1e79d95ad87a2970b9201?narHash=sha256-ByDySG4oQN6KzLCuJjTax6%2BcMVtOixuYuu2GnnoPpoI%3D' (2024-06-24)
  → 'github:nix-community/disko/dd4d1663ccf7fbdb32361b9afe9e71206584cd4c?narHash=sha256-VZAfBk2Lo8hQy/NQ4XVSpTICT0ownXBUi1QvGfdlxaM%3D' (2024-06-24)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/e3e9ef4c9904fddbd8c00f3288e6a3be26a6bf0b?narHash=sha256-4jggHHDsLt%2Bi4/6lMNlZkHd3bzgV50feNpZGe4X3eMQ%3D' (2024-06-24)
  → 'github:nix-community/emacs-overlay/b6082d10feac69203dac419818daa47c5fe36464?narHash=sha256-BiDNkoh9a2dx2OTUFpzWhkGq5WfatG7sUX4Kw0Fdo7g%3D' (2024-06-24)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/03d771e513ce90147b65fe922d87d3a0356fc125?narHash=sha256-0Y8IrGhRmBmT7HHXlxxepg2t8j1X90%2B%2BqRN3lukGaIk%3D' (2024-06-19)
  → 'github:NixOS/nixpkgs/906320ae02f769d13a646eb3605a9821df0d6ea2?narHash=sha256-aEMsNUtqSPwn6l%2BLIZ/rX%2B%2BnCgun3E9M3uSZs6Rwb7w%3D' (2024-06-23)
• Updated input 'pre-commit-hooks':
    'github:cachix/git-hooks.nix/8cd35b9496d21a6c55164d8547d9d5280162b07a?narHash=sha256-RTyqP4fBX2MdhNuMP%2BfnR3lIwbdtXhyj7w7fwtvgspc%3D' (2024-06-20)
  → 'github:cachix/git-hooks.nix/0ff4381bbb8f7a52ca4a851660fc7a437a4c6e07?narHash=sha256-F1h%2BXIsGKT9TkGO3omxDLEb/9jOOsI6NnzsXFsZhry4%3D' (2024-06-24)
• Updated input 'pre-commit-hooks/nixpkgs-stable':
    'github:NixOS/nixpkgs/842253bf992c3a7157b67600c2857193f126563a?narHash=sha256-JHuXsrC9pr4kA4n7LuuPfWFJUVlDBVJ1TXDVpHEuUgM%3D' (2024-06-15)
  → 'github:NixOS/nixpkgs/03d771e513ce90147b65fe922d87d3a0356fc125?narHash=sha256-0Y8IrGhRmBmT7HHXlxxepg2t8j1X90%2B%2BqRN3lukGaIk%3D' (2024-06-19)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/577ee84c69ba89894ac622d71a678a14d746b2f7?narHash=sha256-bFXHMjpYlEERexzXa1gLGJO/1l8dxaAtSNE56YALuTg%3D' (2024-06-24)
  → 'github:oxalica/rust-overlay/b6032d3a404d8a52ecfc8571ff0c26dfbe221d07?narHash=sha256-LIBMfhM9pMOlEvBI757GOK5l0R58SRi6YpwfYMbf4yc%3D' (2024-06-25)
• Updated input 'sops':
    'github:Mic92/sops-nix/5e2e9421e9ed2b918be0a441c4535cfa45e04811?narHash=sha256-kr2QzRrplzlCP87ddayCZQS%2BdhGW98kw2zy7%2BjUXtF4%3D' (2024-06-23)
  → 'github:Mic92/sops-nix/c2ea1186c0cbfa4d06d406ae50f3e4b085ddc9b3?narHash=sha256-pcUk2Fg5vPXLUEnFI97qaB8hto/IToRfqskFqsjvjb8%3D' (2024-06-24)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/68eb1dc333ce82d0ab0c0357363ea17c31ea1f81?narHash=sha256-ULzoKzEaBOiLRtjeY3YoGFJMwWSKRYOic6VNw2UyTls%3D' (2024-06-16)
  → 'github:numtide/treefmt-nix/065a23edceff48f948816b795ea8cc6c0dee7cdf?narHash=sha256-9T9mSY35EZSM1KAwb7K9zwQ78qTlLjosZgtUGnw4rn4%3D' (2024-06-24)
2024-06-25 09:44:03 +02:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules Add svelte-mode 2024-06-24 14:26:34 +02:00
lib Remove unused input 2024-04-24 14:46:49 +02:00
machines hardware.opengl was renamed to hardware.graphics 2024-06-24 14:26:50 +02:00
modules hardware.opengl was renamed to hardware.graphics 2024-06-24 14:26:50 +02:00
overlays Let's roll our own coredns package 2024-05-29 19:50:20 +02:00
pkgs coredns: 1.11.1 -> 1.11.3 2024-06-03 11:11:18 +02:00
users Make theme have a bit more contrast 2024-06-24 15:40:53 +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 meili: init 2024-06-04 10:34:30 +02:00
flake.lock flake.lock: Update 2024-06-25 09:44:03 +02:00
flake.nix nix-top was removed from nixpkgs 2024-06-24 14:26:23 +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