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

• Updated input 'atuin':
    'github:atuinsh/atuin/62f3807dcb4844f74b59c7bcfb81c9a914da7353?narHash=sha256-Q/zmd7YREW3D4pMxGV7iulibm%2BkqQOuoB8TZiLaB0x4%3D' (2024-07-17)
  → 'github:atuinsh/atuin/95cef714902bbcbdc3ef016457e7a77d38293ea8?narHash=sha256-X8bsyPCTIWZsxzXTOHbfOkQGhQlPyLQBvdOjJALu4s0%3D' (2024-07-22)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/65fb83360b883ecf3c2ef6fc616e13df33087077?narHash=sha256-KyWkSGj79yb60GAM7W2O6X8G/IqTCxLTwOOFeh78kjo%3D' (2024-07-22)
  → 'github:nix-community/emacs-overlay/b3c3f03e594177220148b3e2f9aef9228cc04321?narHash=sha256-r4O1YRu23CudbakeyrH0R0skMabU9hbqklSR0a0XvWc%3D' (2024-07-23)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/0c53b6b8c2a3e46c68e04417e247bba660689c9d?narHash=sha256-b6PLr0Ty7JPDBtJtjnYzlBf02bbH9alWMAgispMkTwk%3D' (2024-07-19)
  → 'github:NixOS/nixpkgs/63d37ccd2d178d54e7fb691d7ec76000740ea24a?narHash=sha256-7cCC8%2BTdq1%2B3OPyc3%2BgVo9dzUNkNIQfwSDJ2HSi2u3o%3D' (2024-07-21)
• Updated input 'home-manager':
    'github:nix-community/home-manager/635563f245309ef5320f80c7ebcb89b2398d2949?narHash=sha256-XpZOkaSJKdOsz1wU6JfO59Rx2fqtcarQ0y6ndIOKNpI%3D' (2024-07-21)
  → 'github:nix-community/home-manager/7560dc942a6fbd37ebd1310b3dbda513de2d4b82?narHash=sha256-ZDW5%2BrlROxaOuoEfIQM7Gqhoa%2BWALEYdYIiZhyJjAu0%3D' (2024-07-23)
• Updated input 'microvm':
    'github:astro/microvm.nix/36e261aa2c15a4020663cef87905f436b15305f7?narHash=sha256-GKdodvwT9Suh6V0qJ0N/YWTIADWwto/x3XnFO86iXDs%3D' (2024-07-16)
  → 'github:astro/microvm.nix/a50d1bf0d4a2f23ce2ffc503d65c9423a8a268e1?narHash=sha256-KuFuVK1Jccku8Vsy8C%2Bjtw1ixUwCdIH0jafjt5zDZao%3D' (2024-07-22)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/1d9c2c9b3e71b9ee663d11c5d298727dace8d374?narHash=sha256-8MUgifkJ7lkZs3u99UDZMB4kbOxvMEXQZ31FO3SopZ0%3D' (2024-07-19)
  → 'github:nixos/nixpkgs/68c9ed8bbed9dfce253cc91560bf9043297ef2fe?narHash=sha256-Tybxt65eyOARf285hMHIJ2uul8SULjFZbT9ZaEeUnP8%3D' (2024-07-21)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/424a759557ed4c01cf9dbbf79a714150d64a90ad?narHash=sha256-1yGOh8w/yhWAZ2NJR9N/shQ1tx2n9fmGe0XrDE00i9U%3D' (2024-07-22)
  → 'github:oxalica/rust-overlay/4674ff2c2e5423a0cebe16e61aa874c359306af4?narHash=sha256-nM4szL90VeZHZEC5rFfaiiPNTVOmsihdtk2QSP1l37I%3D' (2024-07-23)
• Updated input 'sops':
    'github:Mic92/sops-nix/909e8cfb60d83321d85c8d17209d733658a21c95?narHash=sha256-AsvPw7T0tBLb53xZGcUC3YPqlIpdxoSx56u8vPCr6gU%3D' (2024-07-21)
  → 'github:Mic92/sops-nix/aff2f88277dabe695de4773682842c34a0b7fd54?narHash=sha256-9jsjsRKtJRqNSTXKj9zuDFRf2PGix30nMx9VKyPgD2U%3D' (2024-07-22)
2024-07-23 10:10:36 +02:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules emacs: Add markdown export backend to org-mode 2024-07-22 09:15:48 +02:00
lib Remove unused input 2024-04-24 14:46:49 +02:00
machines heimdall(caddy): Add Home Assistant 2024-07-18 12:09:46 +02:00
modules nix: Set default gc interval to daily at 03:15 2024-07-18 10:47:15 +02:00
overlays overlay: Add temporary hack until Python on nixos-unstable is unfucked 2024-07-15 20:20:15 +02:00
pkgs Change all sha256 attributes to SRI-hashes 2024-07-09 21:33:26 +02:00
users home: Remove eww 2024-07-15 20:20:38 +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-07-23 10:10:36 +02:00
flake.nix Remove obsolete and unused packages 2024-07-09 21:33:25 +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