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

• Updated input 'anyrun':
    'github:Kirottu/anyrun/e14da6c37337ffa3ee1bc66965d58ef64c1590e5?narHash=sha256-hI9%2BKBShsSfvWX7bmRa/1VI20WGat3lDXmbceMZzMS4%3D' (2023-12-01)
  → 'github:Kirottu/anyrun/be6728884d543665e7bd137bbef62dc1d04a210b?narHash=sha256-LpjQJYC24S5P5XhJsZX6HqsQT1pohcFzM6N42I6qo/U%3D' (2024-04-03)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/5dee04f5269dffad92faf3a8210c03e639d86db2?narHash=sha256-Yr%2BcDDESdm2E9C/nj1nlhrMpyYt1/Va9yXvlRYD9SyA%3D' (2024-04-02)
  → 'github:nix-community/emacs-overlay/5d0a10938c32f3cb95d1f1f18127948d239c6720?narHash=sha256-QzrcwGuuAP1octIcUw/d%2BYi5BEXYt1NOwNLpeUrqKTk%3D' (2024-04-03)
• Updated input 'home-manager':
    'github:nix-community/home-manager/4be0464472675212654dedf3e021bd5f1d58b92f?narHash=sha256-O2nO7pD%2Bkrq%2B4HgkLB4VThRtAucIPfXDs/jJqCGlK1w%3D' (2024-04-02)
  → 'github:nix-community/home-manager/80546b220e95a575c66c213af1b09fe255299438?narHash=sha256-94I0sXz6fiVBvUAk2tg6t3UpM5rOImj4JTSTNFbg64s%3D' (2024-04-02)
• Updated input 'pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/642dce09c85b1478b509416f83e72bd59b6b3ac2?narHash=sha256-werD6WtgYo%2BZGopbLENP0phwoWyd73CWz01VgrFOSL0%3D' (2024-04-02)
  → 'github:cachix/pre-commit-hooks.nix/e35aed5fda3cc79f88ed7f1795021e559582093a?narHash=sha256-4XLvuSIDZJGS17xEwSrNuJLL7UjDYKGJSbK1WWX2AK8%3D' (2024-04-02)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/d45d957dc3c48792af7ce58eec5d84407655e8fa?narHash=sha256-52cf%2BmHZJbSaDFdsBj6vN1hH52AXsMgEpS/ajzc9yQE%3D' (2024-04-02)
  → 'github:oxalica/rust-overlay/74deb67494783168f5b6d2071d73177e6bccab65?narHash=sha256-8LU2IM4ctHz043hlzoFUwQS1QIdhiMGEH/oIfPCxoWU%3D' (2024-04-03)
2024-04-03 17:58:07 +02:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules git: Disable fs-monitor until issues are fixed 2024-04-03 17:23:44 +02:00
lib firefox: Enable extra stuff 2024-02-28 23:54:56 +01:00
machines gitea: Remove ssh_info from caddy 2024-03-29 08:28:56 +01:00
modules sway: Make package configurable 2024-03-26 16:50:56 +01:00
overlays git-repo-go: Add to overlay 2024-03-28 14:15:12 +01:00
pkgs git-repo-go: init at 0.7.8 2024-03-28 14:14:45 +01:00
users sway: Make package configurable 2024-03-26 16:50:56 +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-04-03 17:58:07 +02:00
flake.nix git: Add git-fs-monitor 2024-03-28 23:06:12 +01: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