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

• Updated input 'atuin':
    'github:atuinsh/atuin/38ea7706a0ed2929838804db69bda2a53763c97c?narHash=sha256-ifsz3a0wBsxuhYZBSbpplLrCfKAIo625v3hWf4Ks61s%3D' (2024-04-24)
  → 'github:atuinsh/atuin/fc5522f45ef0735fb3b492329f95770203d21a7f?narHash=sha256-QfWxEMZwwzXtOic6eiUQI4fuUiuXP9dsSWrCf8r0/x8%3D' (2024-04-25)
• Updated input 'disko':
    'github:nix-community/disko/db1150487c7cde696cf5c4bbb599b37b885ca592?narHash=sha256-zpJNUuOcVL3Yi60VPvpNhs77uIK1D0Ri2eeHcfdz8yg%3D' (2024-04-25)
  → 'github:nix-community/disko/285e26465a0bae510897ca04da26ce6307c652b4?narHash=sha256-kcBiIrmqzt3bNTr2GMBfAyA%2Bon8BEKO1iKzzDFQZkjI%3D' (2024-04-26)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/bf2ab188e525dd20cdd9448e270fd442cea56949?narHash=sha256-UCst%2BRoX67NhDgfCcJwOk94ZEjDg09wh1i0gs83Nrvc%3D' (2024-04-25)
  → 'github:nix-community/emacs-overlay/40463aaa81fc44a2908716ca79d29c16c5fef81b?narHash=sha256-mXwE5H5JJxi1c2c8nwjiyMRGy9UYgNPSJ2caJDxbGgk%3D' (2024-04-26)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/b500489fd3cf653eafc075f9362423ad5cdd8676?narHash=sha256-KtvQeE12MSkCOhvVmnmcZCjnx7t31zWin2XVSDOwBDE%3D' (2024-04-22)
  → 'github:NixOS/nixpkgs/dd37924974b9202f8226ed5d74a252a9785aedf8?narHash=sha256-fFE3M0vCoiSwCX02z8VF58jXFRj9enYUSTqjyHAjrds%3D' (2024-04-24)
• Updated input 'eww':
    'github:elkowar/eww/acf57a8396d19cd160786223b04b950509e46a4b?narHash=sha256-LHwfc%2BMexlqewfjm2onPz74ZMRf/n%2Be7aAuYz08qPUE%3D' (2024-04-21)
  → 'github:elkowar/eww/2c8811512460ce6cc75e021d8d081813647699dc?narHash=sha256-eDOg5Ink3iWT/B1WpD9po5/UxS4DEaVO4NPIRyjSheM%3D' (2024-04-26)
• Updated input 'home-manager':
    'github:nix-community/home-manager/2f072c127c041eec36621b8e38a531fe0fe07961?narHash=sha256-bW7K4WPo6jhYMo4ZUGoJfog6xJV0XZh8adXqZKunRoc%3D' (2024-04-24)
  → 'github:nix-community/home-manager/0c5704eceefcb7bb238a958f532a86e3b59d76db?narHash=sha256-4AItZA3EQIiSNAxliuYEJumw/LaVfrMv84gYyrs0r3U%3D' (2024-04-25)
• Updated input 'microvm':
    'github:astro/microvm.nix/6a4f822a817180be03fcdceb654088d002c9ec5e?narHash=sha256-IPdnR0Rs7XoffnCn6rExYDlft/GHD/UFgQ11lTVEK48%3D' (2024-04-18)
  → 'github:astro/microvm.nix/ac28e21ac336dbe01b1f1bcab01fd31db3855e40?narHash=sha256-MOxTGzM8lgq8uo6zAy6e4ZUdzUpF/eSQPBXeH5G5BtE%3D' (2024-04-25)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/572af610f6151fd41c212f897c71f7056e3fb518?narHash=sha256-cfh1hi%2B6muQMbi9acOlju3V1gl8BEaZBXBR9jQfQi4U%3D' (2024-04-23)
  → 'github:nixos/nixpkgs/7bb2ccd8cdc44c91edba16c48d2c8f331fb3d856?narHash=sha256-Drmja/f5MRHZCskS6mvzFqxEaZMeciScCTFxWVLqWEY%3D' (2024-04-25)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/9a2a11479b94afaf1ecc46384b27abda0d3d5f9d?narHash=sha256-vKk9IOxZJ52Ao3uIRIjHRYYe%2BIpVOY6NzwToSxaO1J0%3D' (2024-04-25)
  → 'github:oxalica/rust-overlay/2a42c742ab04b61d9b2f1edf392842cf9f27ebfd?narHash=sha256-044xbpBszupqN3nl/CGOCJtTQ4O6Aca81mJpX45i8/I%3D' (2024-04-26)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/49dc4a92b02b8e68798abd99184f228243b6e3ac?narHash=sha256-N3QDhoaX%2BpaWXHbEXZapqd1r95mdshxToGowtjtYkGI%3D' (2024-04-01)
  → 'github:numtide/treefmt-nix/c6aaf729f34a36c445618580a9f95a48f5e4e03f?narHash=sha256-Qv4RBm4LKuO4fNOfx9wl40W2rBbv5u5m%2BwhxRYUMiaA%3D' (2024-04-25)
2024-04-26 13:05:02 +02:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules fish: Fix typo in KINK script 2024-04-25 13:01:28 +02:00
lib Remove unused input 2024-04-24 14:46:49 +02:00
machines odin: Enable prometheus node exporter and promtail 2024-04-26 11:58:54 +02:00
modules keycloak: Update admin UI 2024-04-24 14:46:48 +02:00
overlays git-repo-go: Add to overlay 2024-03-28 14:15:12 +01:00
pkgs incus-ui: Update to 0.8 2024-04-26 12:19:50 +02:00
users Simplified cursor config, set size to 48 for work profile 2024-04-25 20:44:40 +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 Add neo, a Matrix server 2024-04-24 14:46:45 +02:00
flake.lock flake.lock: Update 2024-04-26 13:05:02 +02:00
flake.nix devshell: Add yj 2024-04-26 11:28:23 +02:00
Justfile Add task to Justfile to build package 2024-03-28 16:10:02 +01:00
krops.nix Run nixfmt 2024-02-05 11:46:52 +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