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

• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/3adba4b7d1db1d4eba3f682a956fcbb5de1bd7a1?narHash=sha256-Jt86dscJ4nsoHFnGRAm4iSgbpD/pifd7Cs4m52CEzwY%3D' (2024-10-19)
  → 'github:nix-community/emacs-overlay/5d488eec63742aca43fb57a6f805ef282294f3a4?narHash=sha256-GCrI052UegxjdNRKfV6JSrn4pbJb7SsbuEOXCYxfLm4%3D' (2024-10-21)
• Updated input 'home-manager':
    'github:nix-community/home-manager/122f70545b29ccb922e655b08acfe05bfb44ec68?narHash=sha256-KVyQq%2Bez/oB30/WbdNgVD8g/bda34z8NiU187QKQb74%3D' (2024-10-19)
  → 'github:nix-community/home-manager/1e27f213d77fc842603628bcf2df6681d7d08f7e?narHash=sha256-gBOVJv%2Bq6Mx8jGvwX7cE6J8%2BsZmi1uxpRVsO7WxvVuQ%3D' (2024-10-20)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/38279034170b1e2929b2be33bdaedbf14a57bfeb?narHash=sha256-NU%2BtYe3QWzDNpB8RagpqR3hNQXn4BNuBd7ZGosMHLL8%3D' (2024-10-19)
  → 'github:NixOS/nixos-hardware/9fcf30fccf8435f6390efec4a4d38e69c2268a36?narHash=sha256-THqzn/7um3oMHUEGXyq%2B1CJQE7EogwR3HjLMNOlhFBE%3D' (2024-10-20)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/b259ef799b5ac014604da71ecd92d4a52603ed2d?narHash=sha256-H7KGGJUU9BcDNnfXiATBGgs6FJKWQdfftNJS%2B/v2aMU%3D' (2024-10-19)
  → 'github:oxalica/rust-overlay/ada8266712449c4c0e6ee6fcbc442b3c217c79e1?narHash=sha256-r0VyeJxy4O4CgTB/PNtfQft9fPfN1VuGvnZiCxDArvg%3D' (2024-10-21)
• Updated input 'sops':
    'github:Mic92/sops-nix/06535d0e3d0201e6a8080dd32dbfde339b94f01b?narHash=sha256-lpunY1%2Bbf90ts%2BsA2/FgxVNIegPDKCpEoWwOPu4ITTQ%3D' (2024-10-08)
  → 'github:Mic92/sops-nix/c504fd7ac946d7a1b17944d73b261ca0a0b226a5?narHash=sha256-fADlzOzcSaGsrO%2BTHUZ8SgckMMc7bMQftztKFCLVcFI%3D' (2024-10-20)
• Updated input 'sops/nixpkgs-stable':
    'github:NixOS/nixpkgs/17ae88b569bb15590549ff478bab6494dde4a907?narHash=sha256-uogSvuAp%2B1BYtdu6UWuObjHqSbBohpyARXDWqgI12Ss%3D' (2024-10-05)
  → 'github:NixOS/nixpkgs/bb8c2cf7ea0dd2e18a52746b2c3a5b0c73b93c22?narHash=sha256-66RHecx%2BzohbZwJVEPF7uuwHeqf8rykZTMCTqIrOew4%3D' (2024-10-19)
2024-10-21 09:37:28 +02:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules tmux: Fix next/previous window commands 2024-10-15 11:28:16 +02:00
lib Rearrange overlays 2024-08-19 22:30:30 +02:00
machines mimir: Remove microvm 2024-10-18 19:41:34 +02:00
modules barman: set HOME to barman home dir 2024-10-17 08:34:50 +02:00
overlays peakperf: Add to overlay, add CUDA deps 2024-10-02 09:15:49 +02:00
pkgs peakperf: Add to overlay, add CUDA deps 2024-10-02 09:15:49 +02:00
users Add trippy 2024-10-16 16:59:47 +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 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 read: init container 2024-07-15 23:41:19 +02:00
flake.lock flake.lock: Update 2024-10-21 09:37:28 +02:00
flake.nix nix-ld-rs was merged into nix-ld 2024-10-17 12:19:44 +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