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

• Updated input 'disko':
    'github:nix-community/disko/5fd852c4155a689098095406500d0ae3d04654a8?narHash=sha256-c9I3i1CwZ10SoM5npQQVnfwgvB86jAS3lT4ZqkRoSOI%3D' (2024-11-14)
  → 'github:nix-community/disko/cb64993826fa7a477490be6ccb38ba1fa1e18fa8?narHash=sha256-f3SSp1axoOk0NAI7oFdRzbxG2XPBSIXC%2B/DaAXnvS1A%3D' (2024-11-16)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/45023e6456ddc236499178ac9914d43d478bb499?narHash=sha256-/Yd5ydr2%2BW/lWWP8Tm9oVtlhUp2jr3qiXO57bIWMMHw%3D' (2024-11-14)
  → 'github:nix-community/emacs-overlay/f6d0e3fca9097209f44dcfba704cda5d2c4be957?narHash=sha256-X4X/9Rd8w4Q/auq6b2JdaxoAAU38njniVrJwstdUxH0%3D' (2024-11-16)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/689fed12a013f56d4c4d3f612489634267d86529?narHash=sha256-lKA770aUmjPHdTaJWnP3yQ9OI1TigenUqVC3wweqZuI%3D' (2024-11-12)
  → 'github:NixOS/nixpkgs/c21b77913ea840f8bcf9adf4c41cecc2abffd38d?narHash=sha256-XUO0JKP1hlww0d7mm3kpmIr4hhtR4zicg5Wwes9cPMg%3D' (2024-11-15)
• Updated input 'home-manager':
    'github:nix-community/home-manager/35b055009afd0107b69c286fca34d2ad98940d57?narHash=sha256-2EckCJn4wxran/TsRiCOFcmVpep2m9EBKl99NBh2GnM%3D' (2024-11-13)
  → 'github:nix-community/home-manager/1d0862ee2d7c6f6cd720d6f32213fa425004be10?narHash=sha256-Qq2YZZaDTB3FZLWU/Hgh1uuWlUBl3cMLGB99bm7rFUM%3D' (2024-11-14)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/f6581f1c3b137086e42a08a906bdada63045f991?narHash=sha256-T9V7CTucjRZ4Qc6pUEV/kpgNGzQbHWfGcfK6JJLfUeI%3D' (2024-11-12)
  → 'github:NixOS/nixos-hardware/c2c275fbb2e656948ba6e1f67b8ddd430f158c5f?narHash=sha256-teFd31vsE/0Z0WR6XVeKhKPw6Eyb2gXGpG0tjpMfBDM%3D' (2024-11-16)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/27570abfd3461875f11fc07c9b01c141a6332b4f?narHash=sha256-wr8OOqgw7M1pWfe4W7WA5lErzOVMg3zvrrxx/dy/nPo%3D' (2024-11-14)
  → 'github:oxalica/rust-overlay/f6c4c2a7b8969c2b172847b3ef474e0d3bd8bdce?narHash=sha256-3R48B%2BBVeZ8IWsXF7TdRm441RsdJt21yQ5ZgxuNTXYc%3D' (2024-11-16)
• Updated input 'sops':
    'github:Mic92/sops-nix/4c91d52db103e757fc25b58998b0576ae702d659?narHash=sha256-HC0anOL%2BKmUQ2hdRl0AtunbAckasxrkn4VLmxbW/WaA%3D' (2024-11-11)
  → 'github:Mic92/sops-nix/d2bd7f433b28db6bc7ae03d5eca43564da0af054?narHash=sha256-Zd/Uukvpcu26M6YGhpbsgqm6LUSLz%2BQ8mDZ5LOEGdiE%3D' (2024-11-16)
2024-11-16 17:41:39 +01:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules jujutsu: Disable ediff, fix difftastic config 2024-11-14 09:40:41 +01:00
incus-conf Add incus container template 2024-11-16 17:37:07 +01:00
lib nix-cache: attic module is now in nixpkgs 2024-10-24 14:05:17 +02:00
machines neo: Delete container 2024-11-16 17:38:30 +01:00
modules read: Remove comin, move rust-motd to module 2024-11-11 08:47:51 +01:00
overlays factorio: Update stable to 2.0.15 2024-11-11 08:49:47 +01:00
pkgs mapshot: init 0.0.22 2024-10-21 23:27:17 +02:00
users home: Use different SSH key to sign commits with jujutsu 2024-11-16 17:37:37 +01: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 Retry factorio server 2024-11-14 13:14:46 +01:00
flake.lock flake.lock: Update 2024-11-16 17:41:39 +01:00
flake.nix Use new colmena option so it can handle a dirty flake 2024-11-15 12:12:04 +01:00
Justfile Use new colmena option so it can handle a dirty flake 2024-11-15 12:12:04 +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