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

• Updated input 'attic':
    'github:zhaofengli/attic/6d9aeaef0a067d664cb11bb7704f7ec373d47fb2?narHash=sha256-cltFh4su2vcFidxKp7LuEgX3ZGLfPy0DCdrQZ/QTe68%3D' (2024-08-21)
  → 'github:zhaofengli/attic/c2354f658582f7c870316dfce612cf7454720abe?narHash=sha256-1W9Cw4xw8jb5zAF4YXN1PoAmClR9zS0k%2BYyt6E8gfmE%3D' (2024-08-24)
• Updated input 'disko':
    'github:nix-community/disko/4b866c9942d0f771ae934f04ca9859936f9bfbcf?narHash=sha256-dtL4vielmrko/0XpZ3Wfd7czVvv3NC5oiwh8PKJN9hw%3D' (2024-08-22)
  → 'github:nix-community/disko/b09eb605e376c9e95c87c0ef3fcb8008e11c8368?narHash=sha256-L2h46/z8WExNvtCEdZ8YuMu5TwfAGsKXXgM7pyIShvs%3D' (2024-08-26)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/f97fc32d98cd25d40830543e95dc7cd66ef9ac63?narHash=sha256-ZoV3H/kFChy3wwPLHz%2B87cc6vve0sGufuyni27Z4lBU%3D' (2024-08-22)
  → 'github:nix-community/emacs-overlay/e3e088ef4b4b187a54445f5767047a8257893093?narHash=sha256-L/g0Lcmr8gcmR3zvWf7ZyOPHKW0R6DMUSuKlU8CZw/w%3D' (2024-08-26)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/f1bad50880bae73ff2d82fafc22010b4fc097a9c?narHash=sha256-D5HwjQw/02fuXbR4LCTo64koglP2j99hkDR79/3yLOE%3D' (2024-08-19)
  → 'github:NixOS/nixpkgs/797f7dc49e0bc7fab4b57c021cdf68f595e47841?narHash=sha256-Qb9MhKBUTCfWg/wqqaxt89Xfi6qTD3XpTzQ9eXi3JmE%3D' (2024-08-22)
• Updated input 'eww':
    'github:elkowar/eww/696135a6bba3d083d326eda1f81471c636987afb?narHash=sha256-w02TAMaUM0jpIWhZ8mMC7QmYn5ZaPoW7m%2B3voijJQ30%3D' (2024-08-21)
  → 'github:elkowar/eww/057297b4a339a4f72a6adf4ab587ebde2c331fcb?narHash=sha256-SMEo89FKzwXmQZAtiUwMmNNetwVsHI2FclkRhcpt170%3D' (2024-08-25)
• Updated input 'home-manager':
    'github:nix-community/home-manager/2598861031b78aadb4da7269df7ca9ddfc3e1671?narHash=sha256-Fy%2BKEvDQ%2BHc8lJAV3t6leXhZJ2ncU5/esxkgt3b8DEY%3D' (2024-08-18)
  → 'github:nix-community/home-manager/c2cd2a52e02f1dfa1c88f95abeb89298d46023be?narHash=sha256-UNky3lJNGQtUEXT2OY8gMxejakSWPTfWKvpFkpFlAfM%3D' (2024-08-23)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/b09c46430ffcf18d575acf5c339b38ac4e1db5d2?narHash=sha256-WJBAEFXAtA41RMpK8mvw0cQ62CJkNMBtzcEeNIJV7b0%3D' (2024-08-19)
  → 'github:NixOS/nixos-hardware/9fc19be21f0807d6be092d70bf0b1de0c00ac895?narHash=sha256-OB/kEL3GAhUZmUfkbPfsPhKs0pRqJKs0EEBiLfyKZw8%3D' (2024-08-25)
• Updated input 'pre-commit-hooks':
    'github:cachix/git-hooks.nix/6cedaa7c1b4f82a266e5d30f212273e60d62cb0d?narHash=sha256-TuSaYdhOxeaaE9885mFO1lZHHax33GD5A9dczJrGUjw%3D' (2024-08-21)
  → 'github:cachix/git-hooks.nix/c8a54057aae480c56e28ef3e14e4960628ac495b?narHash=sha256-9etXEOUtzeMgqg1u0wp%2BEdwG7RpmrAZ2yX516bMj2aE%3D' (2024-08-23)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/6dc6d34a3a217457d7044dcce32b6d537480a6a1?narHash=sha256-x/XhOAszT/ejditCHUtGOjQcVg2AQhrC/QVew3i7kTI%3D' (2024-08-22)
  → 'github:oxalica/rust-overlay/19b70f147b9c67a759e35824b241f1ed92e46694?narHash=sha256-ap2jIQi/FuUHR6HCht6ASWhoz8EiB99XmI8Esot38VE%3D' (2024-08-26)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/1d07739554fdc4f8481068f1b11d6ab4c1a4167a?narHash=sha256-rhis3qNuGmJmYC/okT7Dkc4M8CeUuRCSvW6kC2f3hBc%3D' (2024-08-16)
  → 'github:numtide/treefmt-nix/070f834771efa715f3e74cd8ab93ecc96fabc951?narHash=sha256-kKJtaiU5Ou%2Be/0Qs7SICXF22DLx4V/WhG1P6%2Bk4yeOE%3D' (2024-08-22)
2024-08-26 09:32:24 +02:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules emacs: Switch back to dark theme 2024-08-19 22:30:18 +02:00
lib Rearrange overlays 2024-08-19 22:30:30 +02:00
machines loki: Use new implementation of switch-to-configuration 2024-08-22 20:25:54 +02:00
modules keycloak: Update plugins 2024-08-26 09:31:49 +02:00
overlays overlay: Remove Python override 2024-08-05 14:28:16 +02:00
pkgs hassbridge: cleanup 2024-08-22 20:26:13 +02:00
users server: Disable nushell, bandwhich 2024-08-22 20:45:01 +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-08-26 09:32:24 +02:00
flake.nix Update pamedia input 2024-08-19 22:30:04 +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