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

• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/4887992a11388734b4900f3d16892999b54849ff?narHash=sha256-qOUGh%2BhC6w9POe04HTjwcKJccjmKsGfmlWEL32NTlr0%3D' (2024-10-24)
  → 'github:nix-community/emacs-overlay/8585c0d7f7b5efa704112bbfc6310cebacb94e69?narHash=sha256-a5CwSoNGyQAyg13i%2BWfvVREUouoBKYeqsAZAnxfqeuQ%3D' (2024-10-25)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/89172919243df199fe237ba0f776c3e3e3d72367?narHash=sha256-Gf04dXB0n4q0A9G5nTGH3zuMGr6jtJppqdeljxua1fo%3D' (2024-10-20)
  → 'github:NixOS/nixpkgs/32e940c7c420600ef0d1ef396dc63b04ee9cad37?narHash=sha256-BAuPWW%2B9fa1moZTU%2BjFh%2B1cUtmsuF8asgzFwejM4wac%3D' (2024-10-23)
• Updated input 'home-manager':
    'github:nix-community/home-manager/5ec753a1fc4454df9285d8b3ec0809234defb975?narHash=sha256-7LAGY32Xl14OVQp3y6M43/0AtHYYvV6pdyBcp3eoz0s%3D' (2024-10-21)
  → 'github:nix-community/home-manager/c77c3bb23390a9ba91860e721edde54856fc5f7a?narHash=sha256-1uGIPOSJq4IzoDvgfOF6A3sw5it1WX3ZdYl2%2BjCkjv8%3D' (2024-10-25)
• Updated input 'microvm':
    'github:astro/microvm.nix/21c36d162ba8127377ce7dee234bdc99b9af0dde?narHash=sha256-tQOYDfaoetPZSi56dej5zCsSsxPhmV%2BvWxuW3vWeg60%3D' (2024-10-23)
  → 'github:astro/microvm.nix/ef42cfface9940b9ce9614307670b60cdbda33f6?narHash=sha256-ndjFy5kfhn9MoOOSzGnZ7f2FwRUUY1EJYwXGxK8DzsQ%3D' (2024-10-23)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/29b1275740d9283467b8117499ec8cbb35250584?narHash=sha256-Rb6JUop7NRklg0uzcre%2BA%2BEbrn/ZiQPkm4QdKg6/3pw%3D' (2024-10-24)
  → 'github:oxalica/rust-overlay/7e52e80f5faa374ad4c607d62c6d362589cb523f?narHash=sha256-RiinJqorqSLKh1oSpiMHnBe6nQdJzE45lX6fSnAuDnI%3D' (2024-10-25)
• Updated input 'sops':
    'github:Mic92/sops-nix/d089e742fb79259b9c4dd9f18e9de1dd4fa3c1ec?narHash=sha256-Fm4cGAlaDwekQvYX0e6t0VjT6YJs3fRXtkyuE4/NzzU%3D' (2024-10-23)
  → 'github:Mic92/sops-nix/78a0e634fc8981d6b564f08b6715c69a755c4c7d?narHash=sha256-J2vtHq9sw1wWm0aTMXpEEAzsVCUMZDTEe5kiBYccpLE%3D' (2024-10-24)
2024-10-25 12:04:31 +02:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules sway: Disable hide cursor when typing. It interferes with games. 2024-10-24 13:49:29 +02:00
lib nix-cache: attic module is now in nixpkgs 2024-10-24 14:05:17 +02:00
machines neo: Remove 'container' tag 2024-10-24 14:51:48 +02:00
modules barman: set HOME to barman home dir 2024-10-17 08:34:50 +02:00
overlays factorio: Update to 2.0.9 2024-10-24 13:49:48 +02:00
pkgs mapshot: init 0.0.22 2024-10-21 23:27:17 +02:00
users nix-cache: attic module is now in nixpkgs 2024-10-24 14:05:17 +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-25 12:04:31 +02:00
flake.nix nix-cache: attic module is now in nixpkgs 2024-10-24 14:05: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