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

• Updated input 'disko':
    'github:nix-community/disko/da8f49246ce226b70feaf132d9b73a4cb7595f10?narHash=sha256-YGKkZJGZiopMia83mf04zbK2p2OHdtbyJq05jkmGGis%3D' (2024-10-02)
  → 'github:nix-community/disko/568727a884ae7cd9f266bd19aea655def8cafd78?narHash=sha256-4Pw3fVhN6xey5%2B2gUBm9nQJAjBqivffr%2Ba5ZsXYjzJ8%3D' (2024-10-02)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/7bdcd77e2b8fd8e10d8d8bfae5ba7302dbd69d3e?narHash=sha256-sS83Q/2pl6U%2BLnRKVH95ntBRIpzr2x1llLPZlfX0GXg%3D' (2024-10-02)
  → 'github:nix-community/emacs-overlay/a483757de48eba86f4ab373fd522341555aecfd7?narHash=sha256-9cpTSjtShCU5MJwEm3cbL2pALTMwjCDTM3zeQ1wrkRI%3D' (2024-10-02)
• Updated input 'microvm':
    'github:astro/microvm.nix/04f643d06b6f3f79cb289a8c94f051b012e1750e?narHash=sha256-IhKB3RPTrblfiq6DW9MiGrS0ULcn/0qWtlefL%2BGfg0o%3D' (2024-09-27)
  → 'github:astro/microvm.nix/e832ffc16b09b1b5c7c1224532d03ed3ce68afd0?narHash=sha256-78hOotCZ/G8l4nyWPdMWSOojdJ5NwHTR0usBVVBNTtU%3D' (2024-10-02)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/06cf0e1da4208d3766d898b7fdab6513366d45b9?narHash=sha256-S5kVU7U82LfpEukbn/ihcyNt2%2BEvG7Z5unsKW9H/yFA%3D' (2024-09-29)
  → 'github:nixos/nixpkgs/27e30d177e57d912d614c88c622dcfdb2e6e6515?narHash=sha256-HP89HZOT0ReIbI7IJZJQoJgxvB2Tn28V6XS3MNKnfLs%3D' (2024-10-01)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/02321540b0c8000b36889b1b974d1fec585b25a4?narHash=sha256-JE0zciM5IGWvK8J/pE2VldNBf7oyMH5WrU8tZArefbg%3D' (2024-10-02)
  → 'github:oxalica/rust-overlay/5e3eee4bc42a2504653bedfe95bceda9a1e85ae7?narHash=sha256-pJoN5Qd83coaoEJmpkxw%2Bcuh89IJORvLm8qyw3GMLIQ%3D' (2024-10-03)
2024-10-03 08:35:14 +02:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules sway: Add option to enable/disable swayidle 2024-10-02 13:01:42 +02:00
lib Rearrange overlays 2024-08-19 22:30:30 +02:00
machines loki: Initial setup of barman 2024-10-03 08:34:20 +02:00
modules loki: Initial setup of barman 2024-10-03 08:34:20 +02:00
overlays peakperf: Add to overlay, add CUDA deps 2024-10-02 09:15:49 +02:00
pkgs peakperf: Add to overlay, add CUDA deps 2024-10-02 09:15:49 +02:00
users home: Configure temperature input for waybar 2024-10-03 08:34:36 +02:00
wallpapers Add Space Shuttle Endeavour wallpaper 2023-10-05 15:02:14 +02:00
.dir-locals.el dir-locals: Revert back to nixfmt 2024-04-23 16:30:56 +02:00
.envrc envrc: add shebang 2024-07-09 21:34:30 +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 read: init container 2024-07-15 23:41:19 +02:00
flake.lock flake.lock: Update 2024-10-03 08:35:14 +02:00
flake.nix Package peakperf 2024-09-30 08:23:35 +02:00
Justfile Add task to Justfile to build package 2024-03-28 16:10:02 +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