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

• Updated input 'disko':
    'github:nix-community/disko/d32d1504c77d7f6ba7e033357dcf638baceab9b7?narHash=sha256-5bxY85siOIqOcQ8TOMAWLkMUZvLUADS2i5TsZhzUIZY%3D' (2024-09-17)
  → 'github:nix-community/disko/51994df8ba24d5db5459ccf17b6494643301ad28?narHash=sha256-u9h03JQUuQJ607xmti9F9Eh6E96kKUAGP%2BaXWgwm70o%3D' (2024-09-20)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/e303aa1dc000c07ee38a865bccb6e216fb5c1018?narHash=sha256-c7FAyWe5XB4J78Ee0QFuCPs0MIowJMDG1FkTqVnw6gs%3D' (2024-09-18)
  → 'github:nix-community/emacs-overlay/2c5171a36fcd616753b204c34ef38bf7729825e2?narHash=sha256-UO0TQbj8UFI4tioDTjmui0UqTL8CZkwizolvxqJLGu0%3D' (2024-09-22)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/086b448a5d54fd117f4dc2dee55c9f0ff461bdc1?narHash=sha256-2yV8nmYE1p9lfmLHhOCbYwQC/W8WYfGQABoGzJOb1JQ%3D' (2024-09-16)
  → 'github:NixOS/nixpkgs/944b2aea7f0a2d7c79f72468106bc5510cbf5101?narHash=sha256-NmcVhGElxDbmEWzgXsyAjlRhUus/nEqPC5So7BOJLUM%3D' (2024-09-20)
• Updated input 'home-manager':
    'github:nix-community/home-manager/d2493de5cd1da06b6a4c3e97f4e7d5dd791df457?narHash=sha256-/bxaYvIK6/d3zqpW26QFS0rqfd0cO4qreSNWvYLTl/w%3D' (2024-09-17)
  → 'github:nix-community/home-manager/04213d1ce4221f5d9b40bcee30706ce9a91d148d?narHash=sha256-NJPGK030Y3qETpWBhj9oobDQRbXdXOPxtu%2BYgGvZ84o%3D' (2024-09-22)
• Updated input 'nixos-facter-modules':
    'github:numtide/nixos-facter-modules/cc817a8491bbb6eea30533e0c6f89d101a52b72e?narHash=sha256-A8w2L9vRCKnj2UAmfSYewiD%2ByNgEhbEY6ITVgj8DIHs%3D' (2024-09-18)
  → 'github:numtide/nixos-facter-modules/6eb13404bbe40b9a5ef9984792b27933658571fa?narHash=sha256-U2rPYu3iDI3GN1H6MN3NoCuVrAJlBJ9nNWRQY8Cs32Y%3D' (2024-09-20)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/10d5e0ecc32984c1bf1a9a46586be3451c42fd94?narHash=sha256-sVeAM1tgVi52S1e29fFBTPUAFSzgQwgLon3CrztXGm8%3D' (2024-09-19)
  → 'github:NixOS/nixos-hardware/b493dfd4a8cf9552932179e56ff3b5819a9b8381?narHash=sha256-xyNtG5C%2BxvfsnOVEamFe9zCCnuNwk93K/TlFC/4DmCI%3D' (2024-09-21)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/99dc8785f6a0adac95f5e2ab05cc2e1bf666d172?narHash=sha256-gI9kkaH0ZjakJOKrdjaI/VbaMEo9qBbSUl93DnU7f4c%3D' (2024-09-16)
  → 'github:nixos/nixpkgs/c04d5652cfa9742b1d519688f65d1bbccea9eb7e?narHash=sha256-PmUr/2GQGvFTIJ6/Tvsins7Q43KTMvMFhvG6oaYK%2BWk%3D' (2024-09-19)
• Updated input 'pre-commit-hooks':
    'github:cachix/git-hooks.nix/7570de7b9b504cfe92025dd1be797bf546f66528?narHash=sha256-tyMUA6NgJSvvQuzB7A1Sf8%2B0XCHyfSPRx/b00o6K0uo%3D' (2024-09-05)
  → 'github:cachix/git-hooks.nix/4e743a6920eab45e8ba0fbe49dc459f1423a4b74?narHash=sha256-D5AegvGoEjt4rkKedmxlSEmC%2BnNLMBPWFxvmYnVLhjk%3D' (2024-09-19)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/6283b1d6ca31fa320ecee82806123e773b2ff993?narHash=sha256-Ob7DNyHKtOQpWetmNj/V%2BOgMkGXh6Ep1dNa6AN/4sSI%3D' (2024-09-19)
  → 'github:oxalica/rust-overlay/36d73192555e569d27579f6c486fea3ab768823c?narHash=sha256-FlL/bNESOtDQoczRhmPfReNAmLqVg%2BdAX4HectPOOf0%3D' (2024-09-22)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/829338a3df3dfd492c61abbd090ec1405329c943?narHash=sha256-byl6ywTyQTUGiuwvBsDtQwUioQ5Kklxirj6YdiWTLdY%3D' (2024-09-19)
  → 'github:numtide/treefmt-nix/ee41a466c2255a3abe6bc50fc6be927cdee57a9f?narHash=sha256-VUH5O5AcOSxb0uL/m34dDkxFKP6WLQ6y4I1B4%2BN3L2w%3D' (2024-09-19)
2024-09-22 16:10:57 +02:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules git: Don't use emacs as editor when it's not enabled 2024-09-20 14:17:07 +02:00
lib Rearrange overlays 2024-08-19 22:30:30 +02:00
machines loki: Remove NFS server 2024-09-19 22:12:30 +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 home: Add amdgpu_top 2024-09-19 23:13:34 +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-22 16:10:57 +02:00
flake.nix flake: Add nixos-facter-modules 2024-09-20 11:49:45 +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