No description
Find a file
Erwin Boskma 81a1f4ba4a
flake.lock: Update
Flake lock file updates:

• Updated input 'disko':
    'github:nix-community/disko/f67ba6552845ea5d7f596a24d57c33a8a9dc8de9' (2024-01-29)
  → 'github:nix-community/disko/2e9b88f02ec166b1c3f0a638688f8e4ef444de32' (2024-02-05)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/42f2c32d615b145ab47faeca4d9cfb48f7909052' (2024-02-01)
  → 'github:nix-community/emacs-overlay/b7c67b5f71db89ec27e1aa4413fbbcdf5bbfa451' (2024-02-05)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/f4a8d6d5324c327dcc2d863eb7f3cc06ad630df4' (2024-01-29)
  → 'github:NixOS/nixpkgs/25e3d4c0d3591c99929b1ec07883177f6ea70c9d' (2024-02-01)
• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/60c614008eed1d0383d21daac177a3e036192ed8' (2024-01-29)
  → 'github:hercules-ci/flake-parts/b253292d9c0a5ead9bc98c4e9a26c6312e27d69f' (2024-02-01)
• Updated input 'flake-parts/nixpkgs-lib':
    'github:NixOS/nixpkgs/b0d36bd0a420ecee3bc916c91886caca87c894e9?dir=lib' (2023-12-30)
  → 'github:NixOS/nixpkgs/97b17f32362e475016f942bbdfda4a4a72a8a652?dir=lib' (2024-01-29)
• Updated input 'home-manager':
    'github:nix-community/home-manager/2db6a2a42930ffff0ffd690dec3f2c0b6f4fe66d' (2024-02-01)
  → 'github:nix-community/home-manager/afcedcf2c8e424d0465e823cf833eb3adebe1db7' (2024-02-05)
• Updated input 'microvm':
    'github:astro/microvm.nix/186b8bf6dbacc1ab55fe8ac8d5a2bbf76a1a70e1' (2024-01-25)
  → 'github:astro/microvm.nix/c5074bb6d328a6071a70dcb097f8bcd208fce80a' (2024-02-04)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/cc65e27670abccced5997d4a93c4c930aef6fd0b' (2024-02-01)
  → 'github:NixOS/nixos-hardware/83e571bb291161682b9c3ccd48318f115143a550' (2024-02-02)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/97b17f32362e475016f942bbdfda4a4a72a8a652' (2024-01-29)
  → 'github:nixos/nixpkgs/e92b6015881907e698782c77641aa49298330223' (2024-02-02)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/58be43ae223034217ea1bd58c73210644031b687' (2024-02-01)
  → 'github:oxalica/rust-overlay/61dfa5a8129f7edbe9150253c68f673f87b16fb1' (2024-02-05)
• Updated input 'sops':
    'github:Mic92/sops-nix/73bf36912e31a6b21af6e0f39218e067283c67ef' (2024-01-28)
  → 'github:Mic92/sops-nix/23f61b897c00b66855074db471ba016e0cda20dd' (2024-02-04)
2024-02-05 08:21:37 +01:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules sway: Always restart wayvnc 2024-02-01 11:52:04 +01:00
lib Sort overlays by name 2024-01-17 09:39:53 +01:00
machines frigate: Update to 0.13 2024-02-03 12:34:18 +01:00
modules woodpecker: Use "podman" network 2024-01-29 10:29:42 +01:00
overlays Add openfga to overlay 2024-01-29 10:29:30 +01:00
pkgs openfga: init at 1.4.2 2024-01-23 13:40:18 +01:00
users livebook: Update config 2024-01-30 21:00:05 +01:00
wallpapers Add Space Shuttle Endeavour wallpaper 2023-10-05 15:02:14 +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 gitea-runner: Init system 2024-01-24 17:11:53 +01:00
flake.lock flake.lock: Update 2024-02-05 08:21:37 +01:00
flake.nix flake: On second thought, disable statix alltogether 2024-01-29 10:25:12 +01:00
Justfile Justfile: add update task 2023-10-09 14:35:02 +02:00
krops.nix Add pre-commit hooks and fix style issues 2022-11-19 20:00:54 +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