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

• Updated input 'disko':
    'github:nix-community/disko/59fb64b36b0a1961f6d4c6d5b8db45cc35d040f2?narHash=sha256-ShZ3YeEutJk%2BQoY/VrpujzZgocmyXYqhOC8I8pudO9U%3D' (2024-09-12)
  → 'github:nix-community/disko/51e3a7e51279fedfb6669a00d21dc5936c78a6ce?narHash=sha256-KRGuT5nGRAOT3heigRWg41tbYpTpapGhsWc%2BXjnIx0w%3D' (2024-09-15)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/f91cf70ac3a0698db119789cf00e8882bd69aec0?narHash=sha256-Lvz%2Bt8KlBAolMAr3gtaUb/kgYjFY6EMFiQksPwxcAlQ%3D' (2024-09-13)
  → 'github:nix-community/emacs-overlay/3723f9e35635612c470db1b0aea08d9ff22b39ec?narHash=sha256-cvgXPCeiDIDrEE8VijX5uZ2GAOHldOJXuKOb95goxUo%3D' (2024-09-16)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/44a71ff39c182edaf25a7ace5c9454e7cba2c658?narHash=sha256-RVhD9hnlTT2nJzPHlAqrWqCkA7T6CYrP41IoVRkciZM%3D' (2024-09-10)
  → 'github:NixOS/nixpkgs/8f7492cce28977fbf8bd12c72af08b1f6c7c3e49?narHash=sha256-RuVXUwcYwaUeks6h3OLrEmg14z9aFXdWppTWPMTwdQw%3D' (2024-09-14)
• Updated input 'home-manager':
    'github:nix-community/home-manager/c82fc8cf3f75e667ad9dd3e5df721119b63723b3?narHash=sha256-ski2Is3VGChR1LR5U8qw8mqNfl5FDPCCAOsz2RrvJCE%3D' (2024-09-13)
  → 'github:nix-community/home-manager/a9c9cc6e50f7cbd2d58ccb1cd46a1e06e9e445ff?narHash=sha256-ChhIrjtdu5d83W%2BYDRH%2BEc5g1MmM0xk6hJnkz15Ot7M%3D' (2024-09-15)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/166dee4f88a7e3ba1b7a243edb1aca822f00680e?narHash=sha256-5RLEnou1/GJQl%2BWd%2BBxaj7QY7FFQ9wjnFq1VNEaxTmc%3D' (2024-09-09)
  → 'github:NixOS/nixos-hardware/b9ab7e57c5d1d456cdeef252d345f3bca9c55851?narHash=sha256-ikQs0QZGmCfk5cJ2N5nTT6oULMvWgxN6ebk4WsOq9io%3D' (2024-09-16)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/1355a0cbfeac61d785b7183c0caaec1f97361b43?narHash=sha256-4b3A9zPpxAxLnkF9MawJNHDtOOl6ruL0r6Og1TEDGCE%3D' (2024-09-10)
  → 'github:nixos/nixpkgs/345c263f2f53a3710abe117f28a5cb86d0ba4059?narHash=sha256-sjiGsMh%2B1cWXb53Tecsm4skyFNag33GPbVgCdfj3n9I%3D' (2024-09-13)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/a71b1240e29f1ec68612ed5306c328086bed91f9?narHash=sha256-cM7zFscFqdsA5KohUUYndzIp20kUqjj39qnj6Voj%2Bf8%3D' (2024-09-13)
  → 'github:oxalica/rust-overlay/ca2e79cd22625d214b8437c2c4080ce79bd9f7d2?narHash=sha256-pupsow4L79SBfNwT6vh/5RAbVZuhngIA0RTCZksXmZY%3D' (2024-09-16)
• Updated input 'sops':
    'github:Mic92/sops-nix/cede1a08039178ac12957733e97ab1006c6b6892?narHash=sha256-ruvh8tlEflRPifs5tlpa0gkttzq4UtgXkJQS7FusgFE%3D' (2024-09-09)
  → 'github:Mic92/sops-nix/f30b1bac192e2dc252107ac8a59a03ad25e1b96e?narHash=sha256-z7CoWbSOtsOz8TmRKDnobURkKfv6nPZCo3ayolNuQGc%3D' (2024-09-13)
2024-09-16 09:34:47 +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-16 09:34:47 +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