No description
Find a file
Erwin Boskma 3834b547c3
Update flake.lock
• Updated input 'pamedia':
    'git+https://git.datarift.nl/erwin/pamedia-rs.git?ref=main&rev=7c037fef4cdc5933a70694d8c743b5439c8354ea' (2021-11-24)
  → 'git+https://git.datarift.nl/erwin/pamedia-rs.git?ref=main&rev=ef2135b690569b15b454dd37384b4e569f6a33a7' (2023-07-03)
• Added input 'pamedia/flake-utils':
    'github:numtide/flake-utils/dbabf0ca0c0c4bce6ea5eaf65af5cb694d2082c7' (2023-06-25)
• Added input 'pamedia/flake-utils/systems':
    'github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e' (2023-04-09)
• Added input 'pamedia/rust-overlay':
    'github:oxalica/rust-overlay/f9b92316727af9e6c7fee4a761242f7f46880329' (2023-07-03)
• Added input 'pamedia/rust-overlay/flake-utils':
    follows 'pamedia/flake-utils'
• Added input 'pamedia/rust-overlay/nixpkgs':
    follows 'pamedia/nixpkgs'
• Removed input 'pamedia/utils'
2023-07-03 14:52:41 +02:00
home-manager/modules polybar: Improve headset battery script 2023-06-23 14:14:53 +02:00
machines Disable ssh-agent in favour of gnome keyring 2023-06-23 14:15:11 +02:00
modules Correct SSH_AUTH_SOCK for gnome-keyring 2023-06-29 14:32:09 +02:00
overlays Remove commitgpt 2023-05-22 10:27:21 +02:00
pkgs Remove commitgpt 2023-05-22 10:27:21 +02:00
users Enable gnome-keyring in home-manager 2023-06-08 10:04:21 +02:00
.envrc Load .env file 2023-04-24 08:25:18 +02: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 Add work age key 2023-06-01 16:04:32 +02:00
flake.lock Update flake.lock 2023-07-03 14:52:41 +02:00
flake.nix Remove eww-wayland from devshell 2023-06-23 14:14:33 +02:00
Justfile Add boot recipe to Justfile 2023-07-03 09:26:40 +02: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