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

• Updated input 'disko':
    'github:nix-community/disko/21d89b333ca300bef82c928c856d48b94a9f997c?narHash=sha256-sV0Q5ndvfjK9JfCg/QM/HX/fcittohvtq8dD62isxdM%3D' (2024-03-14)
  → 'github:nix-community/disko/c09c3a9639690f94ddff44c3dd25c85602e5aeb2?narHash=sha256-aXlifKr6Brg0SBUBgRNEBaZf3JLUeGhM9BX2gam%2Bvvo%3D' (2024-03-18)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/895a56e7294c2e5be4f84aa8e1cbc9e53e91307e?narHash=sha256-7to4df2dUDd2LhPSp/XeH9rpONb2MtYDn1uFeVMolVc%3D' (2024-03-16)
  → 'github:nix-community/emacs-overlay/ddc0d1e406566b0389f4e7f25d4b6aa59f98114e?narHash=sha256-G4sFKirxi49JaYi90Aq5Lo0jVSCJfYwYVTPhIt8zBT8%3D' (2024-03-18)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/878ef7d9721bee9f81f8a80819f9211ad1f993da?narHash=sha256-MvFKESbq4rUWuaf2RKPNYENaSZEw/jaCLo2gU6oREcM%3D' (2024-03-14)
  → 'github:NixOS/nixpkgs/614b4613980a522ba49f0d194531beddbb7220d3?narHash=sha256-3Eh7fhEID17pv9ZxrPwCLfqXnYP006RKzSs0JptsN84%3D' (2024-03-17)
• Updated input 'home-manager':
    'github:nix-community/home-manager/206f457fffdb9a73596a4cb2211a471bd305243d?narHash=sha256-SUXGZNrXX05YA9G6EmgupxhOr3swI1gcxLUeDMUhrEY%3D' (2024-03-15)
  → 'github:nix-community/home-manager/7b3fca5adcf6c709874a8f2e0c364fe9c58db989?narHash=sha256-eZCxuF58YWgaJMMRrn8oRkwRhxooe5kBS/s2wRVr9PA%3D' (2024-03-17)
• Updated input 'microvm':
    'github:astro/microvm.nix/d535b9b6c9f6612e323d4504660ebbdcd1bd79bd?narHash=sha256-5S3jnObtWfXlTx00KzsPwpJtDoyfa1WpZnCrWnxovcw%3D' (2024-03-13)
  → 'github:astro/microvm.nix/0e2223d8fd459725850bd9aff7e9d68ec329769a?narHash=sha256-yqGeSnAB3Yeg02jtitzSGIuE21kq7%2BpWAdeGK3F9/cY%3D' (2024-03-18)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/d691274a972b3165335d261cc4671335f5c67de9?narHash=sha256-pP86Pcfu3BrAvRO7R64x7hs%2BGaQrjFes%2BmEPowCfkxY%3D' (2024-03-14)
  → 'github:nixos/nixpkgs/c75037bbf9093a2acb617804ee46320d6d1fea5a?narHash=sha256-rL5LSYd85kplL5othxK5lmAtjyMOBg390sGBTb3LRMM%3D' (2024-03-16)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/42baa9e2e4713572d7481f917243b07dffdf54b8?narHash=sha256-Lbdq3/TH4VrrR7A6FxIYwu5tFOcprYh8Q49Nc9s/i6c%3D' (2024-03-16)
  → 'github:oxalica/rust-overlay/a1b17cacfa7a6ed18f553a195a047f4e73e95da9?narHash=sha256-Ulsx%2Bt4SnRmjMJx4eF2Li%2B3rBGYhZp0XNShVjIheCfg%3D' (2024-03-18)
• Updated input 'sops':
    'github:Mic92/sops-nix/6c32d3b9c7593f4b466ec5404e59fc09a803a090?narHash=sha256-IXlPoWgIRovZ32mYvqqdBgOQln71LouE/HBhbKc1wcw%3D' (2024-03-14)
  → 'github:Mic92/sops-nix/83b68a0e8c94b72cdd0a6e547a14ca7eb1c03616?narHash=sha256-RquCuzxfy4Nr8DPbdp3D/AsbYep21JgQzG8aMH9jJ4A%3D' (2024-03-17)
• Updated input 'sops/nixpkgs-stable':
    'github:NixOS/nixpkgs/b17375d3bb7c79ffc52f3538028b2ec06eb79ef8?narHash=sha256-yiZiVKP5Ya813iYLho2%2BCcFuuHpaqKc/CoxOlANKcqM%3D' (2024-03-10)
  → 'github:NixOS/nixpkgs/6dc11d9859d6a18ab0c5e5829a5b8e4810658de3?narHash=sha256-y%2Bl3eH53UlENaYa1lmnCBHusZb1kxBEFd2/c7lDsGpw%3D' (2024-03-16)
2024-03-18 16:34:23 +01:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules gpg: Update gpg-agent config 2024-03-16 22:38:43 +01:00
lib firefox: Enable extra stuff 2024-02-28 23:54:56 +01:00
machines kea: Add routers DHCP option 2024-03-17 09:28:22 +01:00
modules caddy: Use correct HTTP status code 2024-03-14 10:06:53 +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 Set default editor 2024-03-11 17:51:52 +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-18 16:34:23 +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