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

• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/81d4eb044fac45daf51281a046d413a40f05d103?narHash=sha256-jPEUYELo7ACEiFU7jKDdQ%2ByC5OkqG2UcHk1/N%2BN7f3E%3D' (2024-03-26)
  → 'github:nix-community/emacs-overlay/9f6f38ce57d29b78cc6db45cf87813ae631641ec?narHash=sha256-Z7JxlKxbhGWLOvypllSMGhDMWd/A2Hv8zRKJY3a9TTY%3D' (2024-03-27)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/44d0940ea560dee511026a53f0e2e2cde489b4d4?narHash=sha256-YN/Ciidm%2BA0fmJPWlHBGvVkcarYWSC%2Bs3NTPk/P%2Bq3c%3D' (2024-03-23)
  → 'github:nixos/nixpkgs/57e6b3a9e4ebec5aa121188301f04a6b8c354c9b?narHash=sha256-5PiWGn10DQjMZee5NXzeA6ccsv60iLu%2BXtw%2BmfvkUAs%3D' (2024-03-25)
• Updated input 'pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/db656fc3e34907000df26e8bc5cc3c94fb27f353?narHash=sha256-%2BrTCra8TY4vuSNTtQ0tcex1syCRPoKyb8vyHmoxkga4%3D' (2024-03-25)
  → 'github:cachix/pre-commit-hooks.nix/7d47a32e5cd1ea481fab33c516356ce27c8cef4a?narHash=sha256-Q7YmSCUJmDl71fJv/zD9lrOCJ1/SE/okZ2DsrmRjzhY%3D' (2024-03-27)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/4c11d2f698ff1149f76b69e72852d5d75f492d0c?narHash=sha256-%2B5M/czgYGqs/jKmi8bvYC%2BJUYboUKNTfkRiesXopeXQ%3D' (2024-03-26)
  → 'github:oxalica/rust-overlay/56f48d6e7559b807763ea03191bfaf95549ce610?narHash=sha256-yK1zue1c8EdpZvEyQWrjawG9Ykzl7eB2xJ/V%2B2vU5Jo%3D' (2024-03-27)
2024-03-27 10:48:22 +01:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules sway: Make package configurable 2024-03-26 16:50:56 +01:00
lib firefox: Enable extra stuff 2024-02-28 23:54:56 +01:00
machines sway: Make package configurable 2024-03-26 16:50:56 +01:00
modules sway: Make package configurable 2024-03-26 16:50:56 +01:00
overlays zed: init at 0.127.3 2024-03-22 16:35:31 +01:00
pkgs zed: init at 0.127.3 2024-03-22 16:35:31 +01:00
users sway: Make package configurable 2024-03-26 16:50:56 +01:00
wallpapers Add Space Shuttle Endeavour wallpaper 2023-10-05 15:02:14 +02:00
.dir-locals.el Add .dir-locals.el 2024-02-29 14:25:26 +01:00
.envrc Load .env file 2023-04-24 08:25:18 +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 Clean up sops file 2024-02-29 14:25:29 +01:00
flake.lock flake.lock: Update 2024-03-27 10:48:22 +01:00
flake.nix zed: init at 0.127.3 2024-03-22 16:35:31 +01:00
Justfile Update deploy task to use colmena, add deploy-cold 2024-03-14 09:24:40 +01:00
krops.nix Run nixfmt 2024-02-05 11:46:52 +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