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

• Updated input 'home-manager':
    'github:nix-community/home-manager/f3a2ff69586f3a54b461526e5702b1a2f81e740a?narHash=sha256-uw7K/RsYioJicV79Nl39yjtfhdfTDU2aRxnBgvFhkZ8%3D' (2024-11-17)
  → 'github:nix-community/home-manager/a46e702093a5c46e192243edbd977d5749e7f294?narHash=sha256-qjEI64RKvDxRyEarY0jTzrZMa8ebezh2DEZmJJrpVdo%3D' (2024-11-19)
• Updated input 'microvm':
    'github:astro/microvm.nix/dd89404e1885b8d7033106f3898eaef8db660cb2?narHash=sha256-HYu%2BbPoV3UILhwc4Ar5iQ7aF%2BDuQWHXl4mljN6Bwq6A%3D' (2024-11-10)
  → 'github:astro/microvm.nix/b1fd9701f057f288c77de2fdd217b51112aab0a4?narHash=sha256-owQmdq2KJf/ygRrzqTDDE3iY1Uh2Y3vvbRyDcFCwekQ%3D' (2024-11-19)
• Updated input 'pre-commit-hooks':
    'github:cachix/git-hooks.nix/cd1af27aa85026ac759d5d3fccf650abe7e1bbf0?narHash=sha256-vFta1uHnD29VUY4HJOO/D6p6rxyObnf%2BInnSMT4jlMU%3D' (2024-11-11)
  → 'github:cachix/git-hooks.nix/3308484d1a443fc5bc92012435d79e80458fe43c?narHash=sha256-mnTbjpdqF0luOkou8ZFi2asa1N3AA2CchR/RqCNmsGE%3D' (2024-11-19)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/0be641045af6d8666c11c2c40e45ffc9667839b5?narHash=sha256-Ou7vLETSKwmE/HRQz4cImXXJBr/k9gp4J4z/PF8LzTE%3D' (2024-11-18)
  → 'github:oxalica/rust-overlay/71287228d96e9568e1e70c6bbfa3f992d145947b?narHash=sha256-JECaBgC0pQ91Hq3W4unH6K9to8s2Zl2sPNu7bLOv4ek%3D' (2024-11-19)
• Updated input 'sops':
    'github:Mic92/sops-nix/472741cf3fee089241ac9ea705bb2b9e0bfa2978?narHash=sha256-NVUTFxKrJp/hjehlF1IvkPnlRYg/O9HFVutbxOM8zNM%3D' (2024-11-17)
  → 'github:Mic92/sops-nix/e39947d0ee8e341fa7108bd02a33cdfa24a1360e?narHash=sha256-vvXx1m2Rsw7MkbKJdpcICzz4YPgZPApGKQGhNZfkhOI%3D' (2024-11-18)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/746901bb8dba96d154b66492a29f5db0693dbfcc?narHash=sha256-vK%2Ba09qq19QNu2MlLcvN4qcRctJbqWkX7ahgPZ/%2BmaI%3D' (2024-10-30)
  → 'github:numtide/treefmt-nix/5f5c2787576f3e39bbc2ebdbf8521b3177c5c19c?narHash=sha256-grEEN4LjL4DTDZUyZjVcj9dXRykH/SKnpOIADN0q5w8%3D' (2024-11-19)
2024-11-21 17:01:49 +01:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules jujutsu: Disable ediff, fix difftastic config 2024-11-14 09:40:41 +01:00
incus-conf Add incus container template 2024-11-16 17:37:07 +01:00
lib nix-cache: attic module is now in nixpkgs 2024-10-24 14:05:17 +02:00
machines valkyrie(coredns): Add records for downloads.horus.nu 2024-11-18 14:39:45 +01:00
modules heimdall: Update caddy configuration to respond with a body 2024-11-16 22:13:03 +01:00
overlays Update factorio to 2.0.20 2024-11-21 17:01:49 +01:00
pkgs mapshot: init 0.0.22 2024-10-21 23:27:17 +02:00
users Also switch signing key for git 2024-11-16 17:42:46 +01: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 envrc: add shebang 2024-07-09 21:34:30 +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 Retry factorio server 2024-11-14 13:14:46 +01:00
flake.lock flake.lock: Update 2024-11-21 17:01:49 +01:00
flake.nix Temporarily revert emacs-overlay due to broken package 2024-11-16 22:12:16 +01:00
Justfile Use new colmena option so it can handle a dirty flake 2024-11-15 12:12:04 +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