No description
Find a file
Erwin Boskma 5f8e3728ce
flake.lock: Update
Flake lock file updates:

• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/9206a7acdc0dd951d5d229b09405c7c6205bcef4' (2024-01-04)
  → 'github:nix-community/emacs-overlay/85ac1bf8543d2e179d7748f3788d58b06eacc758' (2024-01-06)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/2d2ea8eab9e400618748ab1a6a108255233b602c' (2024-01-01)
  → 'github:NixOS/nixpkgs/b0b2c5445c64191fd8d0b31f2b1a34e45a64547d' (2024-01-03)
• Updated input 'home-manager':
    'github:nix-community/home-manager/26b8adb300e50efceb51fff6859a1a6ba1ade4f7' (2024-01-04)
  → 'github:nix-community/home-manager/51e44a13acea71b36245e8bd8c7db53e0a3e61ee' (2024-01-05)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/8e34f33464d77bea2d5cf7dc1066647b1ad2b324' (2024-01-03)
  → 'github:NixOS/nixos-hardware/172385318068519900a7d71c1024242fa6af75f0' (2024-01-05)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/a0df72e106322b67e9c6e591fe870380bd0da0d5' (2024-01-01)
  → 'github:oxalica/rust-overlay/a127cccf7943beae944953963ba118d643299c3b' (2024-01-06)
2024-01-06 13:03:03 +01:00
home-manager/modules eww: Fixes in config 2023-12-21 16:36:50 +01:00
lib Initial refactoring 2023-10-14 16:55:13 +02:00
machines loki: Add incus 2024-01-03 01:16:06 +01:00
modules keycloak: Update plugins 2024-01-03 01:15:44 +01:00
overlays incus-ui: init 2023-12-23 20:20:04 +01:00
pkgs incus-ui: init 2023-12-23 20:20:04 +01:00
users work: Add livebook 2023-12-08 16:40:33 +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
.gitignore Add emacs desktop file to .gitignore 2023-09-11 20:19:13 +02:00
.projectile Update flake.lock, update kernel version 2022-03-23 15:42:32 +01:00
.sops.yaml sops: Update keys for containers 2024-01-02 22:48:01 +01:00
flake.lock flake.lock: Update 2024-01-06 13:03:03 +01:00
flake.nix colmena: Handle tags 2024-01-02 22:46:48 +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