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

• Updated input 'attic':
    'github:zhaofengli/attic/aec90814a4ecbc40171d57eeef97c5cab4aaa7b4?narHash=sha256-nVWCR86XDjx9Tq6RHsNvhD03nNzIeKKc7UTPnXLyrDY%3D' (2024-09-08)
  → 'github:zhaofengli/attic/416687e59c4f0b32742423458cab2c5ff8fe748a?narHash=sha256-dAUWlC8uMJX9iovycfvJcg5nm3PzqJIRAOwN4z322zM%3D' (2024-09-11)
• Updated input 'attic/nixpkgs':
    'github:NixOS/nixpkgs/b96f849e725333eb2b1c7f1cb84ff102062468ba?narHash=sha256-LB3jqSGW5u1ZcUcX6vO/qBOq5oXHlmOCxsTXGMEitp4%3D' (2024-08-30)
  → 'github:NixOS/nixpkgs/159be5db480d1df880a0135ca0bfed84c2f88353?narHash=sha256-LnNKCCxnwgF%2B575y0pxUdlGZBO/ru1CtGHIqQVfvjlA%3D' (2024-09-11)
• Updated input 'disko':
    'github:nix-community/disko/e55f9a8678adc02024a4877c2a403e3f6daf24fe?narHash=sha256-tqoAO8oT6zEUDXte98cvA1saU9%2B1dLJQe3pMKLXv8ps%3D' (2024-09-03)
  → 'github:nix-community/disko/59fb64b36b0a1961f6d4c6d5b8db45cc35d040f2?narHash=sha256-ShZ3YeEutJk%2BQoY/VrpujzZgocmyXYqhOC8I8pudO9U%3D' (2024-09-12)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/bf4ae226fc2ca4d264fe4688004ffc1d00d2e7d8?narHash=sha256-pZbXVN8cqvlnI1qPMtiVvd/nAxrRWX3SGXMV2/iBRR8%3D' (2024-09-10)
  → 'github:nix-community/emacs-overlay/f91cf70ac3a0698db119789cf00e8882bd69aec0?narHash=sha256-Lvz%2Bt8KlBAolMAr3gtaUb/kgYjFY6EMFiQksPwxcAlQ%3D' (2024-09-13)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/f4c846aee8e1e29062aa8514d5e0ab270f4ec2f9?narHash=sha256-L64N1rpLlXdc94H%2BF6scnrbuEu%2ButC03cDDVvvJGOME%3D' (2024-09-08)
  → 'github:NixOS/nixpkgs/44a71ff39c182edaf25a7ace5c9454e7cba2c658?narHash=sha256-RVhD9hnlTT2nJzPHlAqrWqCkA7T6CYrP41IoVRkciZM%3D' (2024-09-10)
• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/567b938d64d4b4112ee253b9274472dc3a346eb6?narHash=sha256-%2Bebgonl3NbiKD2UD0x4BszCZQ6sTfL4xioaM49o5B3Y%3D' (2024-09-01)
  → 'github:hercules-ci/flake-parts/bcef6817a8b2aa20a5a6dbb19b43e63c5bf8619a?narHash=sha256-HO4zgY0ekfwO5bX0QH/3kJ/h4KvUDFZg8YpkNwIbg1U%3D' (2024-09-12)
• Updated input 'home-manager':
    'github:nix-community/home-manager/e5fa72bad0c6f533e8d558182529ee2acc9454fe?narHash=sha256-4QOPemDQ9VRLQaAdWuvdDBhh%2BlEUOAnSMHhdr4nS1mk%3D' (2024-09-10)
  → 'github:nix-community/home-manager/c82fc8cf3f75e667ad9dd3e5df721119b63723b3?narHash=sha256-ski2Is3VGChR1LR5U8qw8mqNfl5FDPCCAOsz2RrvJCE%3D' (2024-09-13)
• Updated input 'microvm':
    'github:astro/microvm.nix/caac7808d1e31f8a0fa408338cd3736947cb226d?narHash=sha256-kUMgeF3hHJM8aBpdazNgtCeeOTrWext6lHfrYmC6otU%3D' (2024-09-06)
  → 'github:astro/microvm.nix/af604aa08ac9a4ae585beaf1a3482897a27ab67e?narHash=sha256-tzGcRRhhK5lAuBtlHl3D/TR2V3egPLV4BBcN2%2B4CyY0%3D' (2024-09-12)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/574d1eac1c200690e27b8eb4e24887f8df7ac27c?narHash=sha256-v3rIhsJBOMLR8e/RNWxr828tB%2BWywYIoajrZKFM%2B0Gg%3D' (2024-09-06)
  → 'github:nixos/nixpkgs/1355a0cbfeac61d785b7183c0caaec1f97361b43?narHash=sha256-4b3A9zPpxAxLnkF9MawJNHDtOOl6ruL0r6Og1TEDGCE%3D' (2024-09-10)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/c3c175c74cd0e8c2c40a0e22bc6e3005c4d28d64?narHash=sha256-mVtTVQMlXkydSXVwFClE0ckxHrOQ9nb2DrCjNwW5pUE%3D' (2024-09-10)
  → 'github:oxalica/rust-overlay/a71b1240e29f1ec68612ed5306c328086bed91f9?narHash=sha256-cM7zFscFqdsA5KohUUYndzIp20kUqjj39qnj6Voj%2Bf8%3D' (2024-09-13)
2024-09-13 09:18:29 +02:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules emacs: Correctly disable display-line-numbers-mode in org files 2024-09-12 14:53:29 +02:00
lib Rearrange overlays 2024-08-19 22:30:30 +02:00
machines loki: enable guix 2024-09-10 19:28:43 +02:00
modules nix: Downgrade to 2.23 due to issues with devenv 2024-09-11 21:31:52 +02:00
overlays overlay: Remove Python override 2024-08-05 14:28:16 +02:00
pkgs tsui: init 0.2.0 2024-09-05 21:02:28 +02:00
users work/home: add devenv 2024-09-11 21:32:10 +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-09-13 09:18:29 +02:00
flake.nix Add fontpreview to devshell 2024-09-10 19:26:59 +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