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

• Added input 'colmena':
    'github:zhaofengli/colmena/c84ccd0a7a712475e861c2b111574472b1a8d0cd?narHash=sha256-QQKQ6r3CID8aXn2ZXZ79ZJxdCOeVP%2BJTnOctDALErOw%3D' (2024-01-29)
• Added input 'colmena/flake-compat':
    'github:edolstra/flake-compat/b4a34015c698c7793d592d66adbab377907a2be8?narHash=sha256-Z%2Bs0J8/r907g149rllvwhb4pKi8Wam5ij0st8PwAh%2BE%3D' (2022-04-19)
• Added input 'colmena/flake-utils':
    'github:numtide/flake-utils/c0e246b9b83f637f4681389ecabcb2681b4f3af0?narHash=sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc%3D' (2022-08-07)
• Added input 'colmena/nixpkgs':
    follows 'nixpkgs'
• Added input 'colmena/stable':
    'github:NixOS/nixpkgs/32dcb45f66c0487e92db8303a798ebc548cadedc?narHash=sha256-g7nIUV4uq1TOVeVIDEZLb005suTWCUjSY0zYOlSBsyE%3D' (2023-09-30)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/ee3a92b17a377d2ac2bb8293638f7e87f74953ee?narHash=sha256-mqWEpPqxeHYslfmevxx/KwuoZ9uIWjiD%2BCsdQFW7xsM%3D' (2024-03-15)
  → 'github:nix-community/emacs-overlay/895a56e7294c2e5be4f84aa8e1cbc9e53e91307e?narHash=sha256-7to4df2dUDd2LhPSp/XeH9rpONb2MtYDn1uFeVMolVc%3D' (2024-03-16)
• Updated input 'eww':
    'github:elkowar/eww/7bfd47eb8130f02f2a8f695c255df2f5302636b4?narHash=sha256-CCwOEyCtn/y9IxhY64OTr1iDyPl2XjrF2u93Z2ex56E%3D' (2024-02-24)
  → 'github:elkowar/eww/4ce42455a4744b0dc00dd356ba9b32c1ca558a0e?narHash=sha256-M1MCbKXTI/Z7eWRi9jweloyUTIOMpqN33h5X6hOgeKU%3D' (2024-03-16)
• Updated input 'home-manager':
    'github:nix-community/home-manager/ca922258e1682b435e632a5ca1910bbbed835345?narHash=sha256-FsPpFFw59MFU%2BE1PD6t9K9it17DaV5nU/%2BmWEkfS2YE%3D' (2024-03-15)
  → 'github:nix-community/home-manager/206f457fffdb9a73596a4cb2211a471bd305243d?narHash=sha256-SUXGZNrXX05YA9G6EmgupxhOr3swI1gcxLUeDMUhrEY%3D' (2024-03-15)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/ad2fd7b978d5e462048729a6c635c45d3d33c9ba?narHash=sha256-j3oWlxRZxB7cFsgEntpH3rosjFHRkAo/dhX9H3OfxtY%3D' (2024-03-11)
  → 'github:NixOS/nixos-hardware/968952f950a59dee9ed1e8799dda38c6dfa1bad3?narHash=sha256-6zR642tXcZzzk3C8BHxlCrR0yh8z8zMXLiuXpWDIpX0%3D' (2024-03-16)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/7ff8e9a04ac7777a3446788cb4018b452157ab8a?narHash=sha256-YGN6R0nLfB2L57J8T/DX%2BLcB06QipyYzHSz7AD8B0n0%3D' (2024-03-15)
  → 'github:oxalica/rust-overlay/42baa9e2e4713572d7481f917243b07dffdf54b8?narHash=sha256-Lbdq3/TH4VrrR7A6FxIYwu5tFOcprYh8Q49Nc9s/i6c%3D' (2024-03-16)
2024-03-16 22:37:38 +01:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules emacs: Add lua-mode, remove hare-mode 2024-03-14 09:25:26 +01:00
lib firefox: Enable extra stuff 2024-02-28 23:54:56 +01:00
machines valkyrie: Switch from AdGuard Home to blocky (DNS) + kea (DHCP) 2024-03-16 22:36:09 +01:00
modules caddy: Use correct HTTP status code 2024-03-14 10:06:53 +01:00
overlays Add gitu 2024-03-11 17:49:47 +01:00
pkgs Add gitu 2024-03-11 17:49:47 +01:00
users Set default editor 2024-03-11 17:51:52 +01: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-03-16 22:37:38 +01:00
flake.nix flake: Add nix-init to devshell 2024-03-11 17:53:56 +01:00
Justfile Update deploy task to use colmena, add deploy-cold 2024-03-14 09:24:40 +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