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

• Updated input 'disko':
    'github:nix-community/disko/4be2aadf13b67ffbb993deb73adff77c46b728fc?narHash=sha256-PNONdMd%2BsG7JWzNIDerX7oVZXL8FTVlSAZ1BmUo2HjE%3D' (2024-10-22)
  → 'github:nix-community/disko/09a776702b004fdf9c41a024e1299d575ee18a7d?narHash=sha256-a%2BAakkb%2BamHw4biOZ0iMo8xYl37uUL48YEXIC5PYJ/8%3D' (2024-10-23)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/dd66a43b14c37c5461bdc4324be3fd32e720c996?narHash=sha256-wwkldM3Ru%2B3aBBibjYi4MskJzkA7BM3YhL/m3a0x58k%3D' (2024-10-22)
  → 'github:nix-community/emacs-overlay/4887992a11388734b4900f3d16892999b54849ff?narHash=sha256-qOUGh%2BhC6w9POe04HTjwcKJccjmKsGfmlWEL32NTlr0%3D' (2024-10-24)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/a9b86fc2290b69375c5542b622088eb6eca2a7c3?narHash=sha256-QUvb6epgKi9pCu9CttRQW4y5NqJ%2BsnKr1FZpG/x3Wtc%3D' (2024-10-19)
  → 'github:NixOS/nixpkgs/89172919243df199fe237ba0f776c3e3e3d72367?narHash=sha256-Gf04dXB0n4q0A9G5nTGH3zuMGr6jtJppqdeljxua1fo%3D' (2024-10-20)
• Updated input 'microvm':
    'github:astro/microvm.nix/4d81c4115ef832880561f243efec21f06d2a8b7c?narHash=sha256-RFKyZygnUbJlWq1uBn4JvEEcQKZW3AFBL3bQoywECPI%3D' (2024-10-13)
  → 'github:astro/microvm.nix/21c36d162ba8127377ce7dee234bdc99b9af0dde?narHash=sha256-tQOYDfaoetPZSi56dej5zCsSsxPhmV%2BvWxuW3vWeg60%3D' (2024-10-23)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/cc2d3c0e060f981905d52337340ee6ec8b8eb037?narHash=sha256-8OHgqz%2BtFo21h3hg4/GHizFPws%2BMMzpEru/%2B62Z0E8c%3D' (2024-10-21)
  → 'github:NixOS/nixos-hardware/e8a2f6d5513fe7b7d15701b2d05404ffdc3b6dda?narHash=sha256-u3Of8xRkN//me8PU%2BRucKA59/6RNy4B2jcGAF36P4jI%3D' (2024-10-24)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/1997e4aa514312c1af7e2bda7fad1644e778ff26?narHash=sha256-I4tuhRpZFa6Fu6dcH9Dlo5LlH17peT79vx1y1SpeKt0%3D' (2024-10-20)
  → 'github:nixos/nixpkgs/2768c7d042a37de65bb1b5b3268fc987e534c49d?narHash=sha256-AlcmCXJZPIlO5dmFzV3V2XF6x/OpNWUV8Y/FMPGd8Z4%3D' (2024-10-23)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/d687672b4541496408068bc273d94c643005d4c9?narHash=sha256-dP764PQ6YhjY7C84Txnrb2vf0H2YdQlp5c6a7G18fgw%3D' (2024-10-22)
  → 'github:oxalica/rust-overlay/29b1275740d9283467b8117499ec8cbb35250584?narHash=sha256-Rb6JUop7NRklg0uzcre%2BA%2BEbrn/ZiQPkm4QdKg6/3pw%3D' (2024-10-24)
• Updated input 'sops':
    'github:Mic92/sops-nix/26642e8f193f547e72d38cd4c0c4e45b49236d27?narHash=sha256-YOc4033a/j1TbdLfkaSOSX2SrvlmuM%2BenIFoveNTCz4%3D' (2024-10-22)
  → 'github:Mic92/sops-nix/d089e742fb79259b9c4dd9f18e9de1dd4fa3c1ec?narHash=sha256-Fm4cGAlaDwekQvYX0e6t0VjT6YJs3fRXtkyuE4/NzzU%3D' (2024-10-23)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/d986489c1c757f6921a48c1439f19bfb9b8ecab5?narHash=sha256-6jWSWxv2crIXmYSEb3LEVsFkCkyVHNllk61X4uhqfCs%3D' (2024-10-18)
  → 'github:numtide/treefmt-nix/aac86347fb5063960eccb19493e0cadcdb4205ca?narHash=sha256-XGOvuIPW1XRfPgHtGYXd5MAmJzZtOuwlfKDgxX5KT3s%3D' (2024-10-22)
2024-10-24 08:40:50 +02:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules waybar: Add profile option 2024-10-23 16:24:32 +02:00
lib Rearrange overlays 2024-08-19 22:30:30 +02:00
machines mimir: Remove attic imports, network shenanigans 2024-10-23 16:24:37 +02:00
modules barman: set HOME to barman home dir 2024-10-17 08:34:50 +02:00
overlays mapshot: init 0.0.22 2024-10-21 23:27:17 +02:00
pkgs mapshot: init 0.0.22 2024-10-21 23:27:17 +02:00
users waybar: Add profile option 2024-10-23 16:24:32 +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-10-24 08:40:50 +02:00
flake.nix mapshot: init 0.0.22 2024-10-21 23:27:17 +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