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

• Updated input 'atuin':
    'github:atuinsh/atuin/00dfc034ed8c816de97824b510f3849420893555?narHash=sha256-gEIloC2%2BQgrCoAm5wOY%2B4Hel3/6rHREbWSvhBPtwpto%3D' (2024-04-18)
  → 'github:atuinsh/atuin/98350f52df1d783886313682a5eada8a729cbaed?narHash=sha256-DA7jYt28ProoSTiSMXgNYCR/Lz1I%2BEtWVEslfpHVqKs%3D' (2024-04-19)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/65297336c6db39d94adb8156d811d800b253fded?narHash=sha256-6fXEcCAzhWrouGPJeAmV7oN/Ur0XJtUgQKfA%2BTofoXU%3D' (2024-04-19)
  → 'github:nix-community/emacs-overlay/c5caaf3b6d4f711e5a408ada4dc4c36537a18372?narHash=sha256-5I/Nn0ibs16JVU5xLEjPx3AXBQxs86wxrJOWH8iVHTg%3D' (2024-04-19)
• Updated input 'home-manager':
    'github:nix-community/home-manager/ff1c3646541316258b1ca64e9b25d4c9cca8e587?narHash=sha256-e8%2BZgayVccw6h8ay15jM9hXh%2BsjZDc1XdBGLn3pdYdc%3D' (2024-04-18)
  → 'github:nix-community/home-manager/938357cb234e85da37109df2cdd9cc59ab9c1cc0?narHash=sha256-zju60y4pyYQoRmqhbgkw%2BjwmKZReVsCNvb8mZxID2Do%3D' (2024-04-19)
• Updated input 'naersk':
    'github:nix-community/naersk/aeb58d5e8faead8980a807c840232697982d47b9?narHash=sha256-/TdeHMPRjjdJub7p7%2Bw55vyABrsJlt5QkznPYy55vKA%3D' (2023-10-27)
  → 'github:nix-community/naersk/c5037590290c6c7dae2e42e7da1e247e54ed2d49?narHash=sha256-CO8MmVDmqZX2FovL75pu5BvwhW%2BVugc7Q6ze7Hj8heI%3D' (2024-04-19)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/6f976e53752e5b9ab08f9a3b1b0b9c67815c9754?narHash=sha256-3GGeFsEO8ivD%2BTcDEqe4s/d0VLvMYGNDGtx0ZnBxkUs%3D' (2024-04-18)
  → 'github:NixOS/nixos-hardware/5d48925b815fd202781bfae8fb6f45c07112fdb2?narHash=sha256-EwR8wW9AqJhSIY%2B0oxWRybUZ32BVKuZ9bjlRh8SJvQ8%3D' (2024-04-19)
• Updated input 'sops':
    'github:Mic92/sops-nix/b94c6edbb8355756c53efc8ca3874c63622f287a?narHash=sha256-31MpStyXedDL1fvuOvn6iz3JURSVShDtDVMyP1PTjtc%3D' (2024-04-18)
  → 'github:Mic92/sops-nix/a929a011a09db735abc45a8a45d1ff7fdee62755?narHash=sha256-vfKxhYVMzG2tg48/1rewBoSLCrKIjQsG1j7Nm/Y2gf4%3D' (2024-04-19)
2024-04-19 20:22:36 +02:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules fish: Add tree alias 2024-04-16 19:32:50 +02:00
lib fixup! Get atuin from bleeding edge 2024-04-10 22:19:20 +02:00
machines heimdall: Use default method of TLS certificate handling 2024-04-16 21:47:37 +02:00
modules Add treefmt, run formatter 2024-04-16 19:32:32 +02:00
overlays git-repo-go: Add to overlay 2024-03-28 14:15:12 +01:00
pkgs Add treefmt, run formatter 2024-04-16 19:32:32 +02:00
users work: Clean up packages 2024-04-17 10:30:58 +02:00
wallpapers Add Space Shuttle Endeavour wallpaper 2023-10-05 15:02:14 +02:00
.dir-locals.el Add .dir-locals.el 2024-02-29 14:25:26 +01:00
.envrc Load .env file 2023-04-24 08:25:18 +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 Clean up sops file 2024-02-29 14:25:29 +01:00
flake.lock flake.lock: Update 2024-04-19 20:22:36 +02:00
flake.nix flake: Make caddy-with-plugins follow local treefmt-nix 2024-04-16 19:52:48 +02:00
Justfile Add task to Justfile to build package 2024-03-28 16:10:02 +01:00
krops.nix Run nixfmt 2024-02-05 11:46:52 +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