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

• Updated input 'disko':
    'github:nix-community/disko/22ee467a54a3ab7fa9d637ccad5330c6c087e9dc?narHash=sha256-xkPPPvfHhHK7BNX5ZrQ9N6AIEixCmFzRZHduDf0zv30%3D' (2024-09-16)
  → 'github:nix-community/disko/d32d1504c77d7f6ba7e033357dcf638baceab9b7?narHash=sha256-5bxY85siOIqOcQ8TOMAWLkMUZvLUADS2i5TsZhzUIZY%3D' (2024-09-17)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/9d338902d478ffba6a7dd0d9c2fb6151cb4b970a?narHash=sha256-kwjD%2BF08vvRVXCepQ5TD%2BHLCBkwvBF9gfM9ftFX%2Bb0U%3D' (2024-09-17)
  → 'github:nix-community/emacs-overlay/e303aa1dc000c07ee38a865bccb6e216fb5c1018?narHash=sha256-c7FAyWe5XB4J78Ee0QFuCPs0MIowJMDG1FkTqVnw6gs%3D' (2024-09-18)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/8f7492cce28977fbf8bd12c72af08b1f6c7c3e49?narHash=sha256-RuVXUwcYwaUeks6h3OLrEmg14z9aFXdWppTWPMTwdQw%3D' (2024-09-14)
  → 'github:NixOS/nixpkgs/086b448a5d54fd117f4dc2dee55c9f0ff461bdc1?narHash=sha256-2yV8nmYE1p9lfmLHhOCbYwQC/W8WYfGQABoGzJOb1JQ%3D' (2024-09-16)
• Updated input 'flake-utils':
    'github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a?narHash=sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ%3D' (2024-03-11)
  → 'github:numtide/flake-utils/c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a?narHash=sha256-X6rJYSESBVr3hBoH0WbKE5KvhPU5bloyZ2L4K60/fPQ%3D' (2024-09-17)
• Updated input 'home-manager':
    'github:nix-community/home-manager/a9c9cc6e50f7cbd2d58ccb1cd46a1e06e9e445ff?narHash=sha256-ChhIrjtdu5d83W%2BYDRH%2BEc5g1MmM0xk6hJnkz15Ot7M%3D' (2024-09-15)
  → 'github:nix-community/home-manager/d2493de5cd1da06b6a4c3e97f4e7d5dd791df457?narHash=sha256-/bxaYvIK6/d3zqpW26QFS0rqfd0cO4qreSNWvYLTl/w%3D' (2024-09-17)
• Updated input 'nil':
    'github:oxalica/nil/555d517d46f0901988d752c7bbebccbf66b74f91?narHash=sha256-qEYEgj5Lj8VrrJKW2VSKXWJuHMXgoBmOkA96yt%2BDNXM%3D' (2024-09-16)
  → 'github:oxalica/nil/c8e8ce72442a164d89d3fdeaae0bcc405f8c015a?narHash=sha256-mIuOP4I51eFLquRaxMKx67pHmhatZrcVPjfHL98v/M8%3D' (2024-09-19)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/dc8b0296f68f72f3fe77469c549a6f098555c2e9?narHash=sha256-JBHtN%2Bn1HzKawpnOQAz6jdgvrtYV9c/kyzgoIdguQGo%3D' (2024-09-16)
  → 'github:NixOS/nixos-hardware/10d5e0ecc32984c1bf1a9a46586be3451c42fd94?narHash=sha256-sVeAM1tgVi52S1e29fFBTPUAFSzgQwgLon3CrztXGm8%3D' (2024-09-19)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/20c8461785d8f5af32d8d4d5c128589e23d7f033?narHash=sha256-u1tAteb4qkH2gGjDY3mN/4Qxa6y798t4G0jNKDyTwv8%3D' (2024-09-17)
  → 'github:oxalica/rust-overlay/6283b1d6ca31fa320ecee82806123e773b2ff993?narHash=sha256-Ob7DNyHKtOQpWetmNj/V%2BOgMkGXh6Ep1dNa6AN/4sSI%3D' (2024-09-19)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/77dd46bf0ec7febbc0022bb6e4449cdc49af95d7?narHash=sha256-3zr63B6CDZ8FnzrRUvNZlsxLmFjaNyis6R91GjUCIhU%3D' (2024-09-17)
  → 'github:numtide/treefmt-nix/829338a3df3dfd492c61abbd090ec1405329c943?narHash=sha256-byl6ywTyQTUGiuwvBsDtQwUioQ5Kklxirj6YdiWTLdY%3D' (2024-09-19)
2024-09-19 08:18:49 +02:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules foot: Be dpi-aware 2024-09-18 08:39:56 +02:00
lib Rearrange overlays 2024-08-19 22:30:30 +02:00
machines thor: Add extra modules to initrd 2024-09-18 17:00:08 +02:00
modules nix: Downgrade to 2.23 due to issues with devenv 2024-09-11 21:31:52 +02:00
overlays overlay: Remove Python override 2024-08-05 14:28:16 +02:00
pkgs tsui: init 0.2.0 2024-09-05 21:02:28 +02:00
users work: Disable kanshi 2024-09-18 16:16:41 +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-09-19 08:18:49 +02:00
flake.nix Add fontpreview to devshell 2024-09-10 19:26:59 +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