No description
Find a file
Erwin Boskma 62a7cc2dc4
flake.lock: Update
Flake lock file updates:

• Updated input 'disko':
    'github:nix-community/disko/51e3a7e51279fedfb6669a00d21dc5936c78a6ce?narHash=sha256-KRGuT5nGRAOT3heigRWg41tbYpTpapGhsWc%2BXjnIx0w%3D' (2024-09-15)
  → 'github:nix-community/disko/22ee467a54a3ab7fa9d637ccad5330c6c087e9dc?narHash=sha256-xkPPPvfHhHK7BNX5ZrQ9N6AIEixCmFzRZHduDf0zv30%3D' (2024-09-16)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/3723f9e35635612c470db1b0aea08d9ff22b39ec?narHash=sha256-cvgXPCeiDIDrEE8VijX5uZ2GAOHldOJXuKOb95goxUo%3D' (2024-09-16)
  → 'github:nix-community/emacs-overlay/9d338902d478ffba6a7dd0d9c2fb6151cb4b970a?narHash=sha256-kwjD%2BF08vvRVXCepQ5TD%2BHLCBkwvBF9gfM9ftFX%2Bb0U%3D' (2024-09-17)
• Updated input 'nil':
    'github:oxalica/nil/4f3081d1f10bb61f197b780e67f426e53f818691?narHash=sha256-rX14joTzvRUiCfmCT0LUMV3Mxi79VJANcKB/kkh7Qys%3D' (2024-08-18)
  → 'github:oxalica/nil/555d517d46f0901988d752c7bbebccbf66b74f91?narHash=sha256-qEYEgj5Lj8VrrJKW2VSKXWJuHMXgoBmOkA96yt%2BDNXM%3D' (2024-09-16)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/b9ab7e57c5d1d456cdeef252d345f3bca9c55851?narHash=sha256-ikQs0QZGmCfk5cJ2N5nTT6oULMvWgxN6ebk4WsOq9io%3D' (2024-09-16)
  → 'github:NixOS/nixos-hardware/dc8b0296f68f72f3fe77469c549a6f098555c2e9?narHash=sha256-JBHtN%2Bn1HzKawpnOQAz6jdgvrtYV9c/kyzgoIdguQGo%3D' (2024-09-16)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/345c263f2f53a3710abe117f28a5cb86d0ba4059?narHash=sha256-sjiGsMh%2B1cWXb53Tecsm4skyFNag33GPbVgCdfj3n9I%3D' (2024-09-13)
  → 'github:nixos/nixpkgs/99dc8785f6a0adac95f5e2ab05cc2e1bf666d172?narHash=sha256-gI9kkaH0ZjakJOKrdjaI/VbaMEo9qBbSUl93DnU7f4c%3D' (2024-09-16)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/ca2e79cd22625d214b8437c2c4080ce79bd9f7d2?narHash=sha256-pupsow4L79SBfNwT6vh/5RAbVZuhngIA0RTCZksXmZY%3D' (2024-09-16)
  → 'github:oxalica/rust-overlay/20c8461785d8f5af32d8d4d5c128589e23d7f033?narHash=sha256-u1tAteb4qkH2gGjDY3mN/4Qxa6y798t4G0jNKDyTwv8%3D' (2024-09-17)
• Updated input 'sops':
    'github:Mic92/sops-nix/f30b1bac192e2dc252107ac8a59a03ad25e1b96e?narHash=sha256-z7CoWbSOtsOz8TmRKDnobURkKfv6nPZCo3ayolNuQGc%3D' (2024-09-13)
  → 'github:Mic92/sops-nix/e2d404a7ea599a013189aa42947f66cede0645c8?narHash=sha256-qis6BtOOBBEAfUl7FMHqqTwRLB61OL5OFzIsOmRz2J4%3D' (2024-09-16)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/9fb342d14b69aefdf46187f6bb80a4a0d97007cd?narHash=sha256-VcqxWT0O/gMaeWTTjf1r4MOyG49NaNxW4GHTO3xuThE%3D' (2024-09-02)
  → 'github:numtide/treefmt-nix/77dd46bf0ec7febbc0022bb6e4449cdc49af95d7?narHash=sha256-3zr63B6CDZ8FnzrRUvNZlsxLmFjaNyis6R91GjUCIhU%3D' (2024-09-17)
2024-09-17 10:12:03 +02:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules emacs: Correctly disable display-line-numbers-mode in org files 2024-09-12 14:53:29 +02:00
lib Rearrange overlays 2024-08-19 22:30:30 +02:00
machines mimir: Enable new implementation of switch-to-configuration in Rust 2024-09-16 10:36:04 +02:00
modules nix: Downgrade to 2.23 due to issues with devenv 2024-09-11 21:31:52 +02:00
overlays overlay: Remove Python override 2024-08-05 14:28:16 +02:00
pkgs tsui: init 0.2.0 2024-09-05 21:02:28 +02:00
users home: Use emacs package from nixpkgs 2024-09-16 10:31:17 +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-09-17 10:12:03 +02:00
flake.nix Add fontpreview to devshell 2024-09-10 19:26:59 +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