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

• Updated input 'attic':
    'github:zhaofengli/attic/6139576a3ce6bb992e0f6c3022528ec233e45f00?narHash=sha256-aKjJ/4l2I9%2BwNGTaOGRsuS3M1%2BIoTibqgEMPDikXm04%3D' (2024-07-09)
  → 'github:zhaofengli/attic/e127acbf9a71ebc0c26bc8e28346822e0a6e16ba?narHash=sha256-GJIz4M5HDB948Ex/8cPvbkrNzl/eKUE7/c21JBu4lb8%3D' (2024-08-01)
• Updated input 'atuin':
    'github:atuinsh/atuin/db2d6c3d83e927185068aab457396ee1a21994ff?narHash=sha256-lUKDWPgfT6mr50WZgSq3/hJtZ8gYxr3PCLghek5EFaE%3D' (2024-07-29)
  → 'github:atuinsh/atuin/6d1ef57c4d4f4a822a71a144202c4b255ab7f690?narHash=sha256-jjHZNdlk7WmOW4MoeO7qjXaiPL2dp5W2oEXAW0cTdeE%3D' (2024-07-30)
• Updated input 'disko':
    'github:nix-community/disko/1e6f8a7b4634fc051cc9361959bf414fcf17e094?narHash=sha256-8r5AJ3n8WEDw3rsZLALSuFQ5kJyWOcssNZvPxYLr2yc%3D' (2024-07-29)
  → 'github:nix-community/disko/7e1b215a0a96efb306ad6440bf706d2b307dc267?narHash=sha256-7gZ8uf3qOox8Vrwd%2Bp9EhUHHLhhK8lis/5KcXGmIaow%3D' (2024-08-01)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/087cf45264b4487b2848e08548bb4c5f933d460c?narHash=sha256-uELMts/UTJ4jTPQbQgOnE75flmdbWm672yDvL3QLWOI%3D' (2024-07-29)
  → 'github:nix-community/emacs-overlay/835be326735bff3737320bf61cb2ae1b54a26cbd?narHash=sha256-/uMz2fgoe15us1OufkY%2BcLxtPvwQ8pujIae1KpiTGCc%3D' (2024-08-01)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/8c50662509100d53229d4be607f1a3a31157fa12?narHash=sha256-2ShmEaFi0kJVOEEu5gmlykN5dwjWYWYUJmlRTvZQRpU%3D' (2024-07-27)
  → 'github:NixOS/nixpkgs/12bf09802d77264e441f48e25459c10c93eada2e?narHash=sha256-sga9SrrPb%2BpQJxG1ttJfMPheZvDOxApFfwXCFO0H9xw%3D' (2024-07-29)
• Updated input 'home-manager':
    'github:nix-community/home-manager/4fcd54df7cbb1d79cbe81209909ee8514d6b17a4?narHash=sha256-WeVWVRqkgrbLzmk6FfJoloJ7Xe7HWD27Pv950IUG2kI%3D' (2024-07-30)
  → 'github:nix-community/home-manager/6e090576c4824b16e8759ebca3958c5b09659ee8?narHash=sha256-ss0G8t8RJVDewA3MyqgAlV951cWRK6EtVhVKEZ7J5LU%3D' (2024-07-31)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/eab049fe178c11395d65a858ba1b56461ba9652d?narHash=sha256-xLBAegsn9wbj%2BpQfbX07kykd5VBV3Ywk3IbObVAAlWA%3D' (2024-07-29)
  → 'github:NixOS/nixos-hardware/14c333162ba53c02853add87a0000cbd7aa230c2?narHash=sha256-2xLM4sc5QBfi0U/AANJAW21Bj4ZX479MHPMPkB%2BeKBU%3D' (2024-07-30)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/b73c2221a46c13557b1b3be9c2070cc42cf01eb3?narHash=sha256-QOS0ykELUmPbrrUGmegAUlpmUFznDQeR4q7rFhl8eQg%3D' (2024-07-27)
  → 'github:nixos/nixpkgs/52ec9ac3b12395ad677e8b62106f0b98c1f8569d?narHash=sha256-veKR07psFoJjINLC8RK4DiLniGGMgF3QMlS4tb74S6k%3D' (2024-07-28)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/38c2f156fca1868c8be7195ddac150522752f6ab?narHash=sha256-ljiuTGSFuEtudqFqp/5Wr1OuEsVCjur/F2CmlNujSjc%3D' (2024-07-30)
  → 'github:oxalica/rust-overlay/c02e7d32607e4e16c80152a40ee141c4877b00cb?narHash=sha256-98tsdV%2BN9wSVU0vlzjJ30%2B9QL2bescJs5jWFurTpvAw%3D' (2024-08-01)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/8db8970be1fb8be9c845af7ebec53b699fe7e009?narHash=sha256-6Pqa0bi5nV74IZcENKYRToRNM5obo1EQ%2B3ihtunJ014%3D' (2024-07-23)
  → 'github:numtide/treefmt-nix/768acdb06968e53aa1ee8de207fd955335c754b7?narHash=sha256-uru7JzOa33YlSRwf9sfXpJG%2BUAV%2BbnBEYMjrzKrQZFw%3D' (2024-07-30)
2024-08-01 16:56:45 +02:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules wayvnc: Split from sway module 2024-07-28 20:49:49 +02:00
lib Remove unused input 2024-04-24 14:46:49 +02:00
machines odin: Disable apparmor for now 2024-07-30 12:31:59 +02:00
modules keycloak: Update plugins 2024-07-25 10:39:02 +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 wayvnc: Split from sway module 2024-07-28 20:49:49 +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-08-01 16:56:45 +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