No description
Find a file
Erwin Boskma 0b189f2c93
Update flake.lock
• Updated input 'disko':
    'github:nix-community/disko/a683b848c3c9dd81e9639dc3fd9c5329fd4294a4' (2023-03-13)
  → 'github:nix-community/disko/90eb730691453f25d1a1cd6090ef74d019fb6bec' (2023-03-14)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/b9274d63c2bc76e062a269f533c9f4a2bbf1e1d8' (2023-03-13)
  → 'github:nix-community/emacs-overlay/bc4f7dd7633bdefc2080b79fd12f171b85d3a1d5' (2023-03-15)
• Updated input 'home-manager':
    'github:nix-community/home-manager/7fe539dfbba8a158a455b54697d1bd7e97b37c60' (2023-03-13)
  → 'github:nix-community/home-manager/215af6252d939a936b41dbd85e94d22e874ad990' (2023-03-15)
• Updated input 'nil':
    'github:oxalica/nil/2552c08e3967e3a5137d7d3db0af5166877d4630' (2023-03-11)
  → 'github:oxalica/nil/e7045f1779fd202a3316f84b864c304f339cccea' (2023-03-13)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/f25d4bc2f6a0a3f9a2f15d3b9e3edb0ee5099a3d' (2023-03-13)
  → 'github:oxalica/rust-overlay/35f8293d6e58d14c6255d40be7bed3389d08701a' (2023-03-15)
2023-03-15 12:01:14 +01:00
home-manager/modules Include zellij config file until KDL generator has been fixed 2023-03-13 15:42:06 +01:00
machines Update to linux 6.2 2023-03-10 12:57:16 +01:00
modules Add pigz to base tools 2023-03-13 15:44:22 +01:00
overlays Add commitgpt package 2022-12-05 11:02:12 +01:00
pkgs Update commitgpt 2022-12-07 20:26:29 +01:00
users Re-enable vscode, add tools: 2023-03-13 15:43:18 +01: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 Add minio stuff 2023-01-06 00:11:11 +01:00
flake.lock Update flake.lock 2023-03-15 12:01:14 +01:00
flake.nix Add taplo to devshell 2023-02-03 14:32:00 +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