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

• Updated input 'anyrun':
    'github:Kirottu/anyrun/7aabad8d5bb7d1bffae903ce86427b888ab824b4?narHash=sha256-LU6d1xX7jN1zt10YU7Oym07MtzVfziSmUEznGFdbuaw%3D' (2024-06-05)
  → 'github:Kirottu/anyrun/c6101a31a80b51e32e96f6a77616b609770172e0?narHash=sha256-ZhSA0e45UxiOAjEVqkym/aULh0Dt%2BKHJLNda7bjx9UI%3D' (2024-07-16)
• Updated input 'atuin':
    'github:atuinsh/atuin/7eb985b616c12aed261fbef74a47c5a928c03e61?narHash=sha256-T%2BkLHwraj0u238/MoqYKrtz4rKZT4a4UAzEs%2BZGqLsQ%3D' (2024-07-15)
  → 'github:atuinsh/atuin/62f3807dcb4844f74b59c7bcfb81c9a914da7353?narHash=sha256-Q/zmd7YREW3D4pMxGV7iulibm%2BkqQOuoB8TZiLaB0x4%3D' (2024-07-17)
• Updated input 'disko':
    'github:nix-community/disko/bad376945de7033c7adc424c02054ea3736cf7c4?narHash=sha256-Gof4Lj1rgTrX59bNu5b/uS/3X/marUGM7LYw31NoXEA%3D' (2024-07-15)
  → 'github:nix-community/disko/e8e8d9a3a9c1d0e654ccda7834bf0288a9d15c47?narHash=sha256-MsyTzXu9CJVcBr44ct8ILKF/Ro7VlF%2BtVZTylzAoXSs%3D' (2024-07-18)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/7c521a93160b3f3deb2325ba5485eabaecc76100?narHash=sha256-di%2BYqstcANGipdJP%2BlQ/vPOlB%2BUIFNSZjg6rlpMOyFs%3D' (2024-07-15)
  → 'github:nix-community/emacs-overlay/3bbe0ad8b6c1f771b1777022d9aa69f83dbe7f3b?narHash=sha256-V8UuYJyWqKPgDPEaOBduwg2IXVNWzdJkSQvsd3XPBgQ%3D' (2024-07-18)
• Updated input 'home-manager':
    'github:nix-community/home-manager/90ae324e2c56af10f20549ab72014804a3064c7f?narHash=sha256-neWQ8eNtLTd%2BYMesb7WjKl1SVCbDyCm46LUgP/g/hdo%3D' (2024-07-11)
  → 'github:nix-community/home-manager/afd2021bedff2de92dfce0e257a3d03ae65c603d?narHash=sha256-H548rpPMsn25LDKn1PCFmPxmWlClJJGnvdzImHkqjuY%3D' (2024-07-16)
• Updated input 'microvm':
    'github:astro/microvm.nix/a808af7775f508a2afedd1e4940a382fe1194f21?narHash=sha256-fzZpuVnhw5uOtA4OuXw3a%2BOtpy8C%2BQV0Uu5XfhGEPSg%3D' (2024-07-03)
  → 'github:astro/microvm.nix/36e261aa2c15a4020663cef87905f436b15305f7?narHash=sha256-GKdodvwT9Suh6V0qJ0N/YWTIADWwto/x3XnFO86iXDs%3D' (2024-07-16)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/3ef018b6d0f62eb59580a8e9fe141e37bf1d972d?narHash=sha256-GuPw2xhJZ%2BeszIJFu7z7AtqUmirSWPHpxuCpG6dSOic%3D' (2024-07-15)
  → 'github:oxalica/rust-overlay/c3e217122ac55680606d69bc693bdf262f14f602?narHash=sha256-eHrGuKZKQb762qdCkrfoyyxXLKumYhiXJca1ig0RftE%3D' (2024-07-18)
2024-07-18 08:37:09 +02:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules sway: Revert back to swaymsg for swayidle 2024-07-17 13:08:44 +02:00
lib Remove unused input 2024-04-24 14:46:49 +02:00
machines read(miniflux): Disable item cleanup 2024-07-17 19:04:06 +02:00
modules sound: Remove deprecated option 2024-07-15 20:19:02 +02:00
overlays overlay: Add temporary hack until Python on nixos-unstable is unfucked 2024-07-15 20:20:15 +02:00
pkgs Change all sha256 attributes to SRI-hashes 2024-07-09 21:33:26 +02:00
users home: Remove eww 2024-07-15 20:20:38 +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-07-18 08:37:09 +02:00
flake.nix Remove obsolete and unused packages 2024-07-09 21:33:25 +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