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

• Updated input 'atuin':
    'github:atuinsh/atuin/9e36f63c6edbd7d675202e873716de9748928b59?narHash=sha256-NBPZdXaXPPbD/w2EM2cC3dK1ZFSAemV5sIQHGLeoAEY%3D' (2024-06-24)
  → 'github:atuinsh/atuin/8eab351fca92e00b46e92a5e7bc1dda1647637df?narHash=sha256-9gDzIzM5eQ35vrzekK8mebo/9LXavQ8Am5pduUvUbSE%3D' (2024-06-26)
• Updated input 'disko':
    'github:nix-community/disko/dd4d1663ccf7fbdb32361b9afe9e71206584cd4c?narHash=sha256-VZAfBk2Lo8hQy/NQ4XVSpTICT0ownXBUi1QvGfdlxaM%3D' (2024-06-24)
  → 'github:nix-community/disko/8767dbf5d723b1b6834f4d09b217da7c31580d58?narHash=sha256-h%2BbFEQHQ46pBkEsOXbxmmY6QNPPGrgpDbNlHtAKG49M%3D' (2024-06-27)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/b6082d10feac69203dac419818daa47c5fe36464?narHash=sha256-BiDNkoh9a2dx2OTUFpzWhkGq5WfatG7sUX4Kw0Fdo7g%3D' (2024-06-24)
  → 'github:nix-community/emacs-overlay/e3a4b715f2a60efafa9cbe6bfa6b8bb5b659a381?narHash=sha256-HZQ9UCGpcQSrAz335utn5CXkUr2OHyoqipDTQI6/3%2Bk%3D' (2024-06-28)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/906320ae02f769d13a646eb3605a9821df0d6ea2?narHash=sha256-aEMsNUtqSPwn6l%2BLIZ/rX%2B%2BnCgun3E9M3uSZs6Rwb7w%3D' (2024-06-23)
  → 'github:NixOS/nixpkgs/90bd1b26e23760742fdcb6152369919098f05417?narHash=sha256-1AjSIedDC/aERt24KsCUftLpVppW61S7awfjGe7bMio%3D' (2024-06-24)
• Updated input 'home-manager':
    'github:nix-community/home-manager/6b1f90a8ff92e81638ae6eb48cd62349c3e387bb?narHash=sha256-vZAzm5KQpR6RGple1dzmSJw5kPivES2heCFM%2BZWkt0I%3D' (2024-06-23)
  → 'github:nix-community/home-manager/1a4f12ae0bda877ec4099b429cf439aad897d7e9?narHash=sha256-/Vmso2ZMoFE3M7d1MRsQ2K5sR8CVKnrM6t1ys9Xjpz4%3D' (2024-06-26)
• Updated input 'microvm':
    'github:astro/microvm.nix/146fec824fe8e06454e211a14ce29b5f692ad078?narHash=sha256-xsdESZDwOs0o96VlZNxThfLG8HW%2BqT2c7dYypGGUYXg%3D' (2024-06-23)
  → 'github:astro/microvm.nix/3692c11ceed00632345b106b24a8cd2c9ffe5569?narHash=sha256-nWGOQgqyhj7YynykVlM/DKxaYshhraV27R5tqQgWAEg%3D' (2024-06-27)
• Updated input 'nix-ld-rs':
    'github:nix-community/nix-ld-rs/311caa66689611bde0c90fe92ddfc9b0d85253fa?narHash=sha256-%2BG3xCI3eiZiT7Uj5Rwl8vBTOGUi3TjaclUbfW%2B3nt7E%3D' (2024-06-23)
  → 'github:nix-community/nix-ld-rs/e5d3e7ebee7fd7b3c8e3474500c9b23c3b9a8470?narHash=sha256-0AuqE8iB4/pxVH9sPl6zY62uavfsDp7Fvyy0iGcOw54%3D' (2024-06-28)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/c3e48cbd88414f583ff08804eb57b0da4c194f9e?narHash=sha256-%2B0bBlerLxsHUJcKPDWZM1wL3V9bzCFjz%2BVyRTG8fnUA%3D' (2024-06-23)
  → 'github:NixOS/nixos-hardware/3980e7816c99d9e4da7a7b762e5b294055b73b2f?narHash=sha256-PX3msbC5KdwCDnucGtir3qzlzv%2B1fuiU4tk17nljFIE%3D' (2024-06-28)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/a71e967ef3694799d0c418c98332f7ff4cc5f6af?narHash=sha256-CyyxvOwFf12I91PBWz43iGT1kjsf5oi6ax7CrvaMyAo%3D' (2024-06-22)
  → 'github:nixos/nixpkgs/2893f56de08021cffd9b6b6dfc70fd9ccd51eb60?narHash=sha256-ECni%2BIkwXjusHsm9Sexdtq8weAq/yUyt1TWIemXt3Ko%3D' (2024-06-24)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/b6032d3a404d8a52ecfc8571ff0c26dfbe221d07?narHash=sha256-LIBMfhM9pMOlEvBI757GOK5l0R58SRi6YpwfYMbf4yc%3D' (2024-06-25)
  → 'github:oxalica/rust-overlay/ed12832f267ab223cd085b0bd6ee3432caa69067?narHash=sha256-YdHqW6EM5pXMwXHhC%2BKniBv3aquXuJrFar2XXaV7x%2Bc%3D' (2024-06-28)
2024-06-28 10:24:55 +02:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules river: Set XDG_CURRENT_DESKTOP 2024-06-27 14:57:33 +02:00
lib Remove unused input 2024-04-24 14:46:49 +02:00
machines heimdall: Add caddy configuration for boskma.frl root 2024-06-27 14:57:56 +02:00
modules keycloak: Update plugins 2024-06-27 15:22:13 +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-28 10:24:55 +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
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