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

• Updated input 'atuin':
    'github:atuinsh/atuin/8b1769035969dc72dab27edd43c7d8667eebaaf9?narHash=sha256-cjQ/a%2BotTl7XinoktlJMINEI741Nv6o/znlKbnH0Uqw%3D' (2024-07-01)
  → 'github:atuinsh/atuin/a67cfc82fe0dc907a01f07a0fd625701e062a33b?narHash=sha256-0zSXPres0wlhS9n6h44ZzV0TOeWdMsICMlHAGjqkWGE%3D' (2024-07-03)
• Updated input 'disko':
    'github:nix-community/disko/d185770ea261fb5cf81aa5ad1791b93a7834d12c?narHash=sha256-6h2EqZU9bL9rHlXE%2B2LCBgnDImejzbS%2B4dYsNDDFlkY%3D' (2024-06-30)
  → 'github:nix-community/disko/544a80a69d6e2da04e4df7ec8210a858de8c7533?narHash=sha256-e4Pw%2B30vFAxuvkSTaTypd9zYemB/QlWcH186dsGT%2BMs%3D' (2024-07-01)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/9dd348fbc5c9708a607cda51b70958491bf925b3?narHash=sha256-5AWx8t05lS6nlLca4OvWPY2HeFp2q6y5t2/H9jQShfc%3D' (2024-07-01)
  → 'github:nix-community/emacs-overlay/bbe883e60c65dd9254d010e98a1a8a654a26f9d8?narHash=sha256-1E5AX/Si2p2yXuMX5yixQ%2BP1AeVcrV0%2B2gfuBrTRkgY%3D' (2024-07-02)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/4a1e673523344f6ccc84b37f4413ad74ea19a119?narHash=sha256-tXlrgAQygNIy49LDVFuPXlWD2zTQV9/F8pfoqwwPJyo%3D' (2024-06-29)
  → 'github:NixOS/nixpkgs/28f8f3531ebdbea069995c20bd946a295699f275?narHash=sha256-sTya/Vhqtdi7Kxx/eVldJRGTPKcyGgFG3ZugOqcbmiE%3D' (2024-07-01)
• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/c3c5ecc05edc7dafba779c6c1a61cd08ac6583e9?narHash=sha256-xwgjVUpqSviudEkpQnioeez1Uo2wzrsMaJKJClh%2BBls%3D' (2024-06-30)
  → 'github:hercules-ci/flake-parts/9227223f6d922fee3c7b190b2cc238a99527bbb7?narHash=sha256-pQMhCCHyQGRzdfAkdJ4cIWiw%2BJNuWsTX7f0ZYSyz0VY%3D' (2024-07-03)
• Updated input 'flake-parts/nixpkgs-lib':
    'eb9ceca17d.tar.gz?narHash=sha256-lIbdfCsf8LMFloheeE6N31%2BBMIeixqyQWbSr2vk79EQ%3D' (2024-06-01)
  → '5daf051448.tar.gz?narHash=sha256-Fm2rDDs86sHy0/1jxTOKB1118Q0O3Uc7EC0iXvXKpbI%3D' (2024-07-01)
• Updated input 'home-manager':
    'github:nix-community/home-manager/59ce796b2563e19821361abbe2067c3bb4143a7d?narHash=sha256-tneHOIv1lEavZ0vQ%2Brgz67LPNCgOZVByYki3OkSshFU%3D' (2024-07-01)
  → 'github:nix-community/home-manager/36e2f9da91ce8b63a549a47688ae60d47c50de4b?narHash=sha256-SRq0ZRkqagqpMGVf4z9q9CIWRbPYjO7FTqSJyWh7nes%3D' (2024-07-03)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/a59f00f5ac65b19382617ba00f360f8bc07ed3ac?narHash=sha256-Lp%2Bl1IsREVbz8WM35OJYZz8sAH0XOjrZWUXVB5bJ2qg%3D' (2024-06-29)
  → 'github:NixOS/nixos-hardware/6e253f12b1009053eff5344be5e835f604bb64cd?narHash=sha256-xNbjISJTFailxass4LmdWeV4jNhAlmJPwj46a/GxE6M%3D' (2024-07-02)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/2741b4b489b55df32afac57bc4bfd220e8bf617e?narHash=sha256-0xSej1g7eP2kaUF%2BJQp8jdyNmpmCJKRpO12mKl/36Kc%3D' (2024-06-29)
  → 'github:nixos/nixpkgs/00d80d13810dbfea8ab4ed1009b09100cca86ba8?narHash=sha256-H3%2BEC5cYuq%2BgQW8y0lSrrDZfH71LB4DAf%2BTDFyvwCNA%3D' (2024-07-01)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/648b25dd9c3acd255dc50c1eb3ca8b987856f675?narHash=sha256-9DLgG4T6l7cc4pJNOCcXGUwHsFfUp8KLsiwed65MdHk%3D' (2024-07-01)
  → 'github:oxalica/rust-overlay/fb733500aead50880b9b301f34a0061bf997d6f2?narHash=sha256-IGCdN/m7DfwUfxZjFnlTiTtpwSHCb01P/LWavAKD2jw%3D' (2024-07-03)
• Updated input 'sops':
    'github:Mic92/sops-nix/b5974d4331fb6c893e808977a2e1a6d34b3162d6?narHash=sha256-KA9gy2Wkv76s4A8eLnOcdKVTygewbw3xsB8%2BawNMyqs%3D' (2024-06-30)
  → 'github:Mic92/sops-nix/a11224af8d824935f363928074b4717ca2e280db?narHash=sha256-D1dxZmXf6M2h5lNE1m6orojuUawVPjogbGRsqSBX%2B1g%3D' (2024-07-01)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/8df5ff62195d4e67e2264df0b7f5e8c9995fd0bd?narHash=sha256-ddPKHcqaKCIFSFc/cvxS14goUhCOAwsM1PbMr0ZtHMg%3D' (2024-06-30)
  → 'github:numtide/treefmt-nix/bdb6355009562d8f9313d9460c0d3860f525bc6c?narHash=sha256-p0B2r98UtZzRDM5miGRafL4h7TwGRC4DII%2BXXHDHqek%3D' (2024-07-02)
2024-07-03 11:19:38 +02:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules river: Set XDG_CURRENT_DESKTOP 2024-06-27 14:57:33 +02:00
lib Remove unused input 2024-04-24 14:46:49 +02:00
machines heimdall: Add caddy configuration for boskma.frl root 2024-06-27 14:57:56 +02:00
modules keycloak: Update plugins 2024-06-27 15:22:13 +02:00
overlays Let's roll our own coredns package 2024-05-29 19:50:20 +02:00
pkgs coredns: 1.11.1 -> 1.11.3 2024-06-03 11:11:18 +02:00
users Make theme have a bit more contrast 2024-06-24 15:40:53 +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 Load .env file 2023-04-24 08:25:18 +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 meili: init 2024-06-04 10:34:30 +02:00
flake.lock flake.lock: Update 2024-07-03 11:19:38 +02:00
flake.nix nix-top was removed from nixpkgs 2024-06-24 14:26:23 +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