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

• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/00e79db0e791b9fd393eb98068135cb08d33684b?narHash=sha256-0r%2Ba%2BL/KCZjeguYyLuog7/7EKqyAbgBmHCRDmUEbom8%3D' (2024-10-09)
  → 'github:nix-community/emacs-overlay/141d26694d12456d2012cbec704a979902ab6ccd?narHash=sha256-g3kUnceXuCz%2BX3LNIJqECdmBWLKmhc3bWUpDLXC%2BjtQ%3D' (2024-10-10)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/c31898adf5a8ed202ce5bea9f347b1c6871f32d1?narHash=sha256-yumd4fBc/hi8a9QgA9IT8vlQuLZ2oqhkJXHPKxH/tRw%3D' (2024-10-06)
  → 'github:nixos/nixpkgs/5633bcff0c6162b9e4b5f1264264611e950c8ec7?narHash=sha256-9UTxR8eukdg%2BXZeHgxW5hQA9fIKHsKCdOIUycTryeVw%3D' (2024-10-09)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/c79229c66605b70c9be9d67652d3196b638050c7?narHash=sha256-anD4%2B6yZc7TRuaqPesWJa67Mzyq3ruR6YTpRDt%2BVhHc%3D' (2024-10-09)
  → 'github:oxalica/rust-overlay/94749eee5a2b351b6893d5bddb0a18f7f01251ac?narHash=sha256-GY755PX8CbGH3O9iKqauhkFTdP9WSKcOfOkZBe3SOqw%3D' (2024-10-10)
2024-10-10 14:13:03 +02:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules firefox: Set default zoom level for PDF reader 2024-10-10 08:40:30 +02:00
lib Rearrange overlays 2024-08-19 22:30:30 +02:00
machines barman: Add wrapper script, minimum redundancy and backup max age 2024-10-10 08:41:09 +02:00
modules keycloak: Upgrade to 26.0 2024-10-10 08:48:23 +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-10 14:13:03 +02:00
flake.nix flake: Use overlay in devshell 2024-10-03 08:36:01 +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