No description
Find a file
Erwin Boskma 244edccd02
Update flake.lock
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/dce15e40f673c6ba58fc40a0a59587f19476b20b' (2023-04-03)
  → 'github:nix-community/emacs-overlay/8d3390e69f6f850f33e7b70d2c7a4b83c5f69871' (2023-04-05)
• Updated input 'home-manager':
    'github:nix-community/home-manager/ddd8866c0306c48f465e7f48432e6f1ecd1da7f8' (2023-04-01)
  → 'github:nix-community/home-manager/ec06f419af79207b33d797064dfb3fc9dbe1df4a' (2023-04-04)
• Updated input 'home-manager/utils':
    'github:numtide/flake-utils/3db36a8b464d0c4532ba1c7dda728f4576d6d073' (2023-02-13)
  → 'github:numtide/flake-utils/93a2b84fc4b70d9e089d029deacc3583435c2ed6' (2023-03-15)
• Updated input 'nil':
    'github:oxalica/nil/0718fca59b82e53aef07699db7e1bbd86ba8dacf' (2023-03-30)
  → 'github:oxalica/nil/56a1fa87b98a9508920f4b0ab8fe36d5b54b2362' (2023-04-03)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/e3652e0735fbec227f342712f180f4f21f0594f2' (2023-03-30)
  → 'github:nixos/nixpkgs/53dad94e874c9586e71decf82d972dfb640ef044' (2023-04-03)
• Updated input 'pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/29dbe1efaa91c3a415d8b45d62d48325a4748816' (2023-03-30)
  → 'github:cachix/pre-commit-hooks.nix/3342d7c51119030490fdcd07351b53b10806891c' (2023-04-04)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/7ec2ff598a172c6e8584457167575b3a1a5d80d8' (2023-04-03)
  → 'github:oxalica/rust-overlay/2f40052be98347b479c820c00fb2fc1d87b3aa28' (2023-04-05)
2023-04-05 13:23:27 +02:00
home-manager/modules Handle multiple emacs config files 2023-04-05 13:21:29 +02:00
machines frigate Terraform lock file 2023-04-05 13:19:46 +02:00
modules frigate: move mask from objects to motion, expand mask slightly 2023-04-03 09:50:20 +02:00
overlays Add commitgpt package 2022-12-05 11:02:12 +01:00
pkgs Update obs-backgroundremoval 2023-04-03 09:45:35 +02:00
users emacs: Follow emacs-29 branch instead of master 2023-04-03 09:54:23 +02:00
.envrc Secrets with sops 2021-11-26 22:21:16 +01:00
.gitignore Add terraform stuff to .gitignore 2023-01-06 01:10:48 +01:00
.projectile Update flake.lock, update kernel version 2022-03-23 15:42:32 +01:00
.sops.yaml Update frigate key 2023-03-24 14:23:50 +01:00
flake.lock Update flake.lock 2023-04-05 13:23:27 +02:00
flake.nix Remove hyprland 2023-03-15 12:03:15 +01:00
krops.nix Add pre-commit hooks and fix style issues 2022-11-19 20:00:54 +01:00
README.org Tweaks 2022-10-05 15:36:12 +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 exa 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