No description
Find a file
Erwin Boskma 39b79325a5
flake.lock: Update
Flake lock file updates:

• Updated input 'atuin':
    'github:atuinsh/atuin/c0d2c961773056eda6a76e5526586a11155180c2?narHash=sha256-3r4TTmI9/c9f088Mgajd6SQyfl7fZvbmOskidyxoihg%3D' (2024-06-10)
  → 'github:atuinsh/atuin/55a2fe50f70a5dc7d4a9ee5e1d6ffc213c74291b?narHash=sha256-eHTd7rasshvqnNNjfmB1A0rBchZfiF3M8vSorPuy/u0%3D' (2024-06-10)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/e618bb81b46a182758c649c734294f55d73e05bc?narHash=sha256-UdQqYGtvFfovH1PfsNWIuzEXxqpeqILCXIoJIhC3Q9M%3D' (2024-06-10)
  → 'github:nix-community/emacs-overlay/d2404a42ad3ae9c5ee5c481b7c7a4c91627d161f?narHash=sha256-Ud33Yz5o2OJ9mjH5rhbrdR%2Bpolxq9QyOLLNbtQ63s4E%3D' (2024-06-11)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/051f920625ab5aabe37c920346e3e69d7d34400e?narHash=sha256-4q0s6m0GUcN7q%2BY2DqD27iLvbcd1G50T2lv08kKxkSI%3D' (2024-06-07)
  → 'github:nixos/nixpkgs/c7b821ba2e1e635ba5a76d299af62821cbcb09f3?narHash=sha256-GTO3C88%2B5DX171F/gVS3Qga/hOs/eRMxPFpiHq2t%2BD8%3D' (2024-06-09)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/abfe5b3126b1b7e9e4daafc1c6478d17f0b584e7?narHash=sha256-24h/qKp0aeI%2BEw13WdRF521kY24PYa5HOvw0mlrABjk%3D' (2024-06-10)
  → 'github:oxalica/rust-overlay/bedc47af18fc41bb7d2edc2b212d59ca36253f59?narHash=sha256-p33h73iQ1HkLalCplV5MH0oP3HXRaH3zufnFqb5//ps%3D' (2024-06-11)
• Updated input 'sops':
    'github:Mic92/sops-nix/f0922ad001829b400f0160ba85b47d252fa3d925?narHash=sha256-OQTjaEZcByyVmHwJlKp/8SE9ikC4w%2BmFd3X0jJs6wiA%3D' (2024-06-09)
  → 'github:Mic92/sops-nix/d071c74a7de1e26d211b69b6fbae37ae2e31a87f?narHash=sha256-d5jLlAwVi4NzT9yc5UrPiOpDxTRhu8GGh0IIfeFcdrM%3D' (2024-06-10)
2024-06-11 15:10:48 +02:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules nushell: nushellFull no longer exists, dataframes split to polars plugin 2024-06-10 11:37:27 +02:00
lib Remove unused input 2024-04-24 14:46:49 +02:00
machines gitea: Switch to caddy-proxy module 2024-06-10 11:32:11 +02:00
modules keycloak: Update admin-ui hashes 2024-06-08 18:52:44 +02:00
overlays Let's roll our own coredns package 2024-05-29 19:50:20 +02:00
pkgs coredns: 1.11.1 -> 1.11.3 2024-06-03 11:11:18 +02:00
users work: Add easyeffects 2024-06-08 16:03:52 +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 meili: init 2024-06-04 10:34:30 +02:00
flake.lock flake.lock: Update 2024-06-11 15:10:48 +02:00
flake.nix Let's roll our own coredns package 2024-05-29 19:50:20 +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