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

• Updated input 'atuin':
    'github:atuinsh/atuin/88633b8994437180afdd66068cc2c8f02aea1db1?narHash=sha256-TsRI1Ej7gkAWhUhT3vDa4aEhu20AX8KbbUM2iD%2B6gkw%3D' (2024-06-17)
  → 'github:atuinsh/atuin/bb24f022640f3b23f570c5a05d2e9dd731db7c18?narHash=sha256-hzU9CXPZijcjCUn/rszEBUskbctfEGQMqGjfas6pKEA%3D' (2024-06-18)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/27e6ef6f477ba42dc8682ed854a519cbea4bacaf?narHash=sha256-ALCQMCzcZuumVF/PaxW0xShwm72U5/2Zk/HHWwZrqlQ%3D' (2024-06-18)
  → 'github:nix-community/emacs-overlay/3d4fbfcca3379975205ff861c2055c014ba8b77e?narHash=sha256-yZuwr3Cd7a5AwU6kRW5wO7Y7s71wQClOdA%2Be7zsX%2BiI%3D' (2024-06-19)
• Updated input 'home-manager':
    'github:nix-community/home-manager/0a7ffb28e5df5844d0e8039c9833d7075cdee792?narHash=sha256-sKrD/utGvmtQALvuDj4j0CT3AJXP1idOAq2p%2B27TpeE%3D' (2024-06-16)
  → 'github:nix-community/home-manager/0dd1c1495af6e6424695670343236f0053bf4947?narHash=sha256-kOG10gJ3zLZNiom9NXJM4/mA4/lsmR3rp74YVw%2Biros%3D' (2024-06-18)
• Updated input 'naersk':
    'github:nix-community/naersk/fa19d8c135e776dc97f4dcca08656a0eeb28d5c0?narHash=sha256-oIs5EF%2B6VpHJRvvpVWuqCYJMMVW/6h59aYUv9lABLtY%3D' (2024-05-30)
  → 'github:nix-community/naersk/941ce6dc38762a7cfb90b5add223d584feed299b?narHash=sha256-uFsCwWYI2pUpt0awahSBorDUrUfBhaAiyz%2BBPTS2MHk%3D' (2024-06-18)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/16c8ad83297c278eebe740dea5491c1708960dd1?narHash=sha256-E/T7Ge6ayEQe7FVKMJqDBoHyLhRhjc6u9CmU8MyYfy0%3D' (2024-06-18)
  → 'github:oxalica/rust-overlay/69fcfaebbe564d162a85cadeaadd4dec646be4a2?narHash=sha256-JHqQyO5XppLpMSKBaYlxbmPHMc4DpwuavKIch9W%2Bhv4%3D' (2024-06-19)
2024-06-19 09:45:36 +02:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules emacs: bash-language-server is removed from nodePackages 2024-06-17 12:07:41 +02:00
lib Remove unused input 2024-04-24 14:46:49 +02:00
machines coredns: Update TS_AUTHKEY 2024-06-17 15:03:14 +02:00
modules fonts: Use iosevka-bin to save on compilation time for Iosevka Aile font 2024-06-17 12:07:43 +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 Add super-slicer 2024-06-17 10:41:21 +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-19 09:45:36 +02:00
flake.nix Let's roll our own coredns package 2024-05-29 19:50:20 +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