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

• Updated input 'disko':
    'github:nix-community/disko/e9875b969086a53dff5ec4677575ad3156fc875d?narHash=sha256-kFzpfZcInLhBFWHy452NlvFuzNr0BDEkz3w9Sgg2ypo%3D' (2024-03-20)
  → 'github:nix-community/disko/a8c966ee117c278a5aabc6f00b00ef62eb7e28f6?narHash=sha256-pvjqjx4L2Hx/NP3RWcwLjk%2BABtMODAJ9%2BrgreU6fP6I%3D' (2024-03-21)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/a9216f7a1ec216e36e31c7d2ed42de4df89d918a?narHash=sha256-IbidJZykfjyGZ9totyhUIPHcDSqW1B3Pepgo3c9tDHI%3D' (2024-03-20)
  → 'github:nix-community/emacs-overlay/cad98a253dc7b22fb12db42ccac3d04402e63dd0?narHash=sha256-9SmpbzwNL5m3pIqWrT%2B7PnQDfYBQAp8EoKcJCFyRITI%3D' (2024-03-22)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/fa9f817df522ac294016af3d40ccff82f5fd3a63?narHash=sha256-RLvwdQSENKOaLdKhNie8XqHmTXzNm00/M/THj6zplQo%3D' (2024-03-19)
  → 'github:NixOS/nixpkgs/f091af045dff8347d66d186a62d42aceff159456?narHash=sha256-FOOBJ3DQenLpTNdxMHR2CpGZmYuctb92gF0lpiirZ30%3D' (2024-03-20)
• Updated input 'home-manager':
    'github:nix-community/home-manager/022464438a85450abb23d93b91aa82e0addd71fb?narHash=sha256-2bNMraoRB4pdw/HtxgYTFeMhEekBZeQ53/a8xkqpbZc%3D' (2024-03-19)
  → 'github:nix-community/home-manager/1c2acec99933f9835cc7ad47e35303de92d923a4?narHash=sha256-jZpdsypecYTOO9l12Vy77otGmh9uz8tGzcguifA30Vs%3D' (2024-03-20)
• Updated input 'microvm':
    'github:astro/microvm.nix/0e2223d8fd459725850bd9aff7e9d68ec329769a?narHash=sha256-yqGeSnAB3Yeg02jtitzSGIuE21kq7%2BpWAdeGK3F9/cY%3D' (2024-03-18)
  → 'github:astro/microvm.nix/d5283b0c83df3475ca967aa1ca9496d3e387084a?narHash=sha256-4Uya0uqALYubEvHcqYY/3x%2BMaM%2Bop0x0djGhj%2BTh6Mk%3D' (2024-03-21)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/549f4db17b5c0c143b1308fcfe9620129c387472?narHash=sha256-PcHmHQvKIOdvAxlqxZ/DPmUMhUUvfp16pRtyW148u/0%3D' (2024-03-20)
  → 'github:oxalica/rust-overlay/eec55ba9fcde6be4c63942827247e42afef7fafe?narHash=sha256-PpNb4xq7U5Q/DdX40qe7CijUsqhVVM3VZrhN0%2Bc6Lcw%3D' (2024-03-22)
2024-03-22 09:43:57 +01:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules theming: catppuccin all over the place 2024-03-20 18:33:33 +01:00
lib firefox: Enable extra stuff 2024-02-28 23:54:56 +01:00
machines mimir: Change default route metric so LAN has priority over WLAN 2024-03-22 09:42:37 +01:00
modules keycloak: Update admin-ui 2024-03-20 18:58:12 +01:00
overlays Add gitu 2024-03-11 17:49:47 +01:00
pkgs Add gitu 2024-03-11 17:49:47 +01:00
users work: Fix 2024-03-22 09:42:25 +01:00
wallpapers Add Space Shuttle Endeavour wallpaper 2023-10-05 15:02:14 +02:00
.dir-locals.el Add .dir-locals.el 2024-02-29 14:25:26 +01: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 Clean up sops file 2024-02-29 14:25:29 +01:00
flake.lock flake.lock: Update 2024-03-22 09:43:57 +01:00
flake.nix Get colmena from flake 2024-03-16 22:38:29 +01:00
Justfile Update deploy task to use colmena, add deploy-cold 2024-03-14 09:24:40 +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