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

• Updated input 'disko':
    'github:nix-community/disko/341482e2f4d888e3f60cae1c12c3df896e7230d8?narHash=sha256-i%2BUw8VOHzQe9YdNwKRbzvaPWLE07tYVqUDzSFTXhRgk%3D' (2024-11-27)
  → 'github:nix-community/disko/2814a5224a47ca19e858e027f7e8bff74a8ea9f1?narHash=sha256-2uMaVAZn7fiyTUGhKgleuLYe5%2BEAAYB/diKxrM7g3as%3D' (2024-11-30)
• Updated input 'home-manager':
    'github:nix-community/home-manager/0941a2e14486ee30e2088afa1d2869f2486dd3b8?narHash=sha256-04V/vZK7Eca2EbEJNqKHUSa0RU5zXt15t03EdO0yEqs%3D' (2024-11-28)
  → 'github:nix-community/home-manager/d2e2bda6c050a61d51b8e395ad66b8fa48318e07?narHash=sha256-eZcDctzoDsdHAooCYc2uDwoAdt0weTYfNChtrAhJFN8%3D' (2024-12-02)
• Updated input 'microvm':
    'github:astro/microvm.nix/093ef734d3c37669860043a87dbf1c09fc6f5b38?narHash=sha256-6LmtOmeDpv9iHS8l0GNcppP11dKIJFMZLdFyxQ%2BqQBM%3D' (2024-11-26)
  → 'github:astro/microvm.nix/e8d5f12b834a59187c7ec147a8952a0567f97939?narHash=sha256-ratU5qCcRuOojgPWM90gda4qrxukNqbyFi%2Bkan2Ln04%3D' (2024-11-30)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/45348ad6fb8ac0e8415f6e5e96efe47dd7f39405?narHash=sha256-kF6rDeCshoCgmQz%2B7uiuPdREVFuzhIorGOoPXMalL2U%3D' (2024-11-24)
  → 'github:NixOS/nixos-hardware/fe01780d356d70fd119a19277bff71d3e78dad00?narHash=sha256-aQorWITXZu7b095UwnpUvcGt9dNJie/GO9r4hZfe2sU%3D' (2024-12-01)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/4633a7c72337ea8fd23a4f2ba3972865e3ec685d?narHash=sha256-2ThgXBUXAE1oFsVATK1ZX9IjPcS4nKFOAjhPNKuiMn0%3D' (2024-11-25)
  → 'github:nixos/nixpkgs/ac35b104800bff9028425fec3b6e8a41de2bbfff?narHash=sha256-t4BBVpwG9B4hLgc6GUBuj3cjU7lP/PJfpTHuSqE%2Bcrk%3D' (2024-12-01)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/fd0e3bf854b937632c92819d55d4ff8a130d5658?narHash=sha256-A2a4Cw66421Wojv1uqSGkD1XW960uJ7wHuwmvGCUJ8s%3D' (2024-11-28)
  → 'github:oxalica/rust-overlay/e66c0d43abf5bdefb664c3583ca8994983c332ae?narHash=sha256-aJmAIjZfWfPSWSExwrYBLRgXVvgF5LP1vaeUGOOIQ98%3D' (2024-12-02)
• Updated input 'sops':
    'github:Mic92/sops-nix/3433ea14fbd9e6671d0ff0dd45ed15ee4c156ffa?narHash=sha256-xtt95%2Bc7OUMoqZf4OvA/7AemiH3aVuWHQbErYQoPwFk%3D' (2024-11-25)
  → 'github:Mic92/sops-nix/c6134b6fff6bda95a1ac872a2a9d5f32e3c37856?narHash=sha256-m6/qwJAJYcidGMEdLqjKzRIjapK4nUfMq7rDCTmZajc%3D' (2024-12-02)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/84637a7ab04179bdc42aa8fd0af1909fba76ad0c?narHash=sha256-uI7TXEb231o8dkwB5AUCecx3AQtosRmL6hKgnckvjps%3D' (2024-11-26)
  → 'github:numtide/treefmt-nix/6209c381904cab55796c5d7350e89681d3b2a8ef?narHash=sha256-2qbdorpq0TXHBWbVXaTqKoikN4bqAtAplTwGuII%2BoAc%3D' (2024-11-29)
2024-12-02 11:01:56 +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 loki: enable amdgpu in initrd 2024-11-25 15:08:01 +01:00
modules kanata: Add ralt 2024-11-27 09:16:07 +01:00
overlays factorio: 2.0.20 -> 2.0.21 2024-11-25 16:54:54 +01:00
pkgs mapshot: init 0.0.22 2024-10-21 23:27:17 +02:00
users work: Disable LibreOffice 2024-11-27 14:55:07 +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-12-02 11:01:56 +01:00
flake.nix flake.lock: Update 2024-12-02 11:01:56 +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