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

• Updated input 'atuin':
    'github:atuinsh/atuin/cea48a1545250429b78235b2ad00b8243923e2b2?narHash=sha256-x3t7p0zXyd6NNKHi3XckhdoMuRUe%2BMxG97JhuS5RLVE%3D' (2024-04-29)
  → 'github:atuinsh/atuin/831dd783ed41b3922ac3be8e4a849ce99c5ca272?narHash=sha256-MmMpEKClQog7YlWh0XUvodNdfmzxV4lZy%2BawBC0yo%2BE%3D' (2024-05-01)
• Updated input 'disko':
    'github:nix-community/disko/5eaf747af38dd272e1ab28a8ec4bd972424b07cf?narHash=sha256-h3pOvHCXkSdp1KOZqtkQmHgkR7VaOJXDhqhumk7sZLY%3D' (2024-04-29)
  → 'github:nix-community/disko/d57058eb09dd5ec00c746df34fe0a603ea744370?narHash=sha256-W7%2BrtMzRmdovzndN2NYUv5xzkbMudtQ3jbyFuGk0O1E%3D' (2024-05-02)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/2bdab12a3077f6f25be03d93569a06a177425c47?narHash=sha256-g4rDy84zObNUXmDyhXn66ro9fhpVnHg4lVQl0eZUKyY%3D' (2024-04-30)
  → 'github:nix-community/emacs-overlay/cccda8508481ea8c8ff4e50a297900ed54b26dc3?narHash=sha256-vykQwGwiu178RHmmRRTzId3qpc9YQtY29Jie7E2GFMg%3D' (2024-05-02)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/12430e43bd9b81a6b4e79e64f87c624ade701eaf?narHash=sha256-3/ghIWCve93ngkx5eNPdHIKJP/pMzSr5Wc4rNKE1wOc%3D' (2024-04-28)
  → 'github:NixOS/nixpkgs/0638fe2715d998fa81d173aad264eb671ce2ebc1?narHash=sha256-ILsf3bdY/hNNI/Hu5bSt2/KbmHaAVhBbNUOdGztTHEg%3D' (2024-05-01)
• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/9126214d0a59633752a136528f5f3b9aa8565b7d?narHash=sha256-sB4SWl2lX95bExY2gMFG5HIzvva5AVMJd4Igm%2BGpZNw%3D' (2024-04-01)
  → 'github:hercules-ci/flake-parts/4d34ce6412bc450b1d4208c953dc97c7fc764f1a?narHash=sha256-bMkNmAXLj8iyTvxaaD/StcLSadbj1chPcJOjtuVnLmA%3D' (2024-05-01)
• Updated input 'flake-parts/nixpkgs-lib':
    'github:NixOS/nixpkgs/d8fe5e6c92d0d190646fb9f1056741a229980089?dir=lib&narHash=sha256-iMUFArF0WCatKK6RzfUJknjem0H9m4KgorO/p3Dopkk%3D' (2024-03-29)
  → 'github:NixOS/nixpkgs/58a1abdbae3217ca6b702f03d3b35125d88a2994?dir=lib&narHash=sha256-mdTQw2XlariysyScCv2tTE45QSU9v/ezLcHJ22f0Nxc%3D' (2024-04-27)
• Updated input 'home-manager':
    'github:nix-community/home-manager/f8e6694edabe4aaa7a85aac47b43ea5d978b116d?narHash=sha256-SSJQ/KOy8uISnoZgqDoRha7g7PFLSFP/BtMWm0wUz8Q%3D' (2024-04-29)
  → 'github:nix-community/home-manager/6d3b6dc9222c12b951169becdf4b0592ee9576ef?narHash=sha256-azMK7aWH0eUc3IqU4Fg5rwZdB9WZBvimOGG3piqvtsY%3D' (2024-04-30)
• Updated input 'nil':
    'github:oxalica/nil/059d33a24bb76d2048740bcce936362bf54b5bc9?narHash=sha256-4ZCgV5oHdEc3q%2BXaIzy//gh20uC/aSuAtMU9bsfgLZk%3D' (2024-01-07)
  → 'github:oxalica/nil/2f3ed6348bbf1440fcd1ab0411271497a0fbbfa4?narHash=sha256-o4tqlTzi9kcVub167kTGXgCac9jM3kW4%2Bv9MH/ue4Hk%3D' (2024-05-01)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/53db5e1070d07e750030bf65f1b9963df8f0c678?narHash=sha256-nk0W4rH7xYdDeS7k1SqqNtBaNrcgIBYNmOVc8P2puEY%3D' (2024-04-27)
  → 'github:NixOS/nixos-hardware/68d680c1b7c0e67a9b2144d6776583ee83664ef4?narHash=sha256-ySkEJvS0gPz2UhXm0H3P181T8fUxvDVcoUyGn0Kc5AI%3D' (2024-04-30)
• Updated input 'pre-commit-hooks':
    'github:cachix/git-hooks.nix/6fb82e44254d6a0ece014ec423cb62d92435336f?narHash=sha256-RWFafuSb5nkWGu8dDbW7gVb8FOQOPqmX/9MlxUUDguw%3D' (2024-04-24)
  → 'github:cachix/git-hooks.nix/2849da033884f54822af194400f8dff435ada242?narHash=sha256-q//cgb52vv81uOuwz1LaXElp3XAe1TqrABXODAEF6Sk%3D' (2024-04-30)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/ce35c36f58f82cee6ec959e0d44c587d64281b6f?narHash=sha256-lKTA3XqRo4aVgkyTSCtpcALpGXdmkilHTtN00eRg0QU%3D' (2024-04-30)
  → 'github:oxalica/rust-overlay/3e416d5067ba31ff8ac31eeb763e4388bdf45089?narHash=sha256-JcWAjIDl3h0bE/pII0emeHwokTeBl%2BSWrzwrjoRu7a0%3D' (2024-05-02)
2024-05-02 09:01:28 +02:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules fish: Fix typo in KINK script 2024-04-25 13:01:28 +02:00
lib Remove unused input 2024-04-24 14:46:49 +02:00
machines k3s-test: Deploy over Tailscale 2024-04-30 10:25:47 +02:00
modules podman: They moved the nvidia option again... 2024-04-26 15:40:12 +02:00
overlays git-repo-go: Add to overlay 2024-03-28 14:15:12 +01:00
pkgs incus-ui: Update to 0.8 2024-04-26 12:19:50 +02:00
users Simplified cursor config, set size to 48 for work profile 2024-04-25 20:44:40 +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 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 Add neo, a Matrix server 2024-04-24 14:46:45 +02:00
flake.lock flake.lock: Update 2024-05-02 09:01:28 +02:00
flake.nix deploy-rs currently does not work over Tailscale 2024-04-30 10:25:45 +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