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

• Updated input 'disko':
    'github:nix-community/disko/c61e50b63ad50dda5797b1593ad7771be496efbb?narHash=sha256-Ef7UgoTdOB4PGQKSkHGu6SOxnTiArPHGcRf8qGFC39o%3D' (2024-09-24)
  → 'github:nix-community/disko/c1c472f4cd91e4b0703e02810a8c7ed30186b6fa?narHash=sha256-lAqOCDI4B6hA%2Bt%2BKHSm/Go8hQF/Ob5sgXaIRtMAnMKw%3D' (2024-09-25)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/b3512b3df5396e17d9e89cadcc3f57db0ea1fecc?narHash=sha256-uaugOQen4xK3vxect3xZyq3CsNOHcV5nMHS4yteIHFA%3D' (2024-09-24)
  → 'github:nix-community/emacs-overlay/ad40c4b881309a5a96029636c35cc42419d55ce7?narHash=sha256-gYPDeDnGP/ky1CKiRIttv7JhiAPIerjDSypnNXHkJpA%3D' (2024-09-26)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/23cbb250f3bf4f516a2d0bf03c51a30900848075?narHash=sha256-8fnFlXBgM/uSvBlLWjZ0Z0sOdRBesyNdH0%2BesxqizGc%3D' (2024-09-22)
  → 'github:NixOS/nixpkgs/759537f06e6999e141588ff1c9be7f3a5c060106?narHash=sha256-KQPI8CTTnB9CrJ7LrmLC4VWbKZfljEPBXOFGZFRpxao%3D' (2024-09-25)
• Updated input 'home-manager':
    'github:nix-community/home-manager/21c021862fa696c8199934e2153214ab57150cb6?narHash=sha256-EYLvFRoTPWtD%2B3uDg2wwQvlz88OrIr3zld%2BjFE5gDcY%3D' (2024-09-23)
  → 'github:nix-community/home-manager/1e22ef1518fb175d762006f9cae7f6312b8caedb?narHash=sha256-TcUaKtya339Asu%2Bg6KTJ8h7KiKcKXKp2V%2BAt%2B7tksyY%3D' (2024-09-25)
• Updated input 'nixos-facter-modules':
    'github:numtide/nixos-facter-modules/6eb13404bbe40b9a5ef9984792b27933658571fa?narHash=sha256-U2rPYu3iDI3GN1H6MN3NoCuVrAJlBJ9nNWRQY8Cs32Y%3D' (2024-09-20)
  → 'github:numtide/nixos-facter-modules/eb948c9d46fcea1cf99b20f69b091ead76ae3b63?narHash=sha256-qX4p4HrXIwmhcDTNi7q3xg7yCieQ%2BOryECjTwOEEkTk%3D' (2024-09-25)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/9357f4f23713673f310988025d9dc261c20e70c6?narHash=sha256-bvGoiQBvponpZh8ClUcmJ6QnsNKw0EMrCQJARK3bI1c%3D' (2024-09-21)
  → 'github:nixos/nixpkgs/30439d93eb8b19861ccbe3e581abf97bdc91b093?narHash=sha256-o8VBeCWHBxGd4kVMceIayf5GApqTavJbTa44Xcg5Rrk%3D' (2024-09-23)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/2e19799819104b46019d339e78d21c14372d3666?narHash=sha256-uMZMjoCS2nf40TAE1686SJl3OXWfdfM%2BBDEfRdr%2BuLc%3D' (2024-09-24)
  → 'github:oxalica/rust-overlay/a3d832f389606d7dc61a45b244c72ea472d1fcd4?narHash=sha256-yGYahXzCquyYEgf5GTtvtaN5hXbw20Ok2%2Bo8uVxoaFs%3D' (2024-09-26)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/35dfece10c642eb52928a48bee7ac06a59f93e9a?narHash=sha256-gplorAc0ISAUPemUNOnRUs7jr3WiLiHZb3DJh%2B%2BIkZs%3D' (2024-09-23)
  → 'github:numtide/treefmt-nix/1bff2ba6ec22bc90e9ad3f7e94cca0d37870afa3?narHash=sha256-3O7RWiXpvqBcCl84Mvqa8dXudZ1Bol1ubNdSmQt7nF4%3D' (2024-09-25)
2024-09-30 08:23:32 +02:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules emacs: Disable automatic eglot for cmake-mode 2024-09-25 14:50:49 +02:00
lib Rearrange overlays 2024-08-19 22:30:30 +02:00
machines odin: Run sysstat every minute 2024-09-24 15:07:40 +02:00
modules keycloak: Update plugins 2024-09-23 13:39:40 +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 home: Add amdgpu_top 2024-09-19 23:13:34 +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-30 08:23:32 +02:00
flake.nix flake: Add nixos-facter-modules 2024-09-20 11:49:45 +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