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

• Updated input 'disko':
    'github:nix-community/disko/c1c472f4cd91e4b0703e02810a8c7ed30186b6fa?narHash=sha256-lAqOCDI4B6hA%2Bt%2BKHSm/Go8hQF/Ob5sgXaIRtMAnMKw%3D' (2024-09-25)
  → 'github:nix-community/disko/b709e1cc33fcde71c7db43850a55ebe6449d0959?narHash=sha256-b%2BGBgCWd2N6pkiTkRZaMFOPztPO4IVTaclYPrQl2uLk%3D' (2024-09-28)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/ad40c4b881309a5a96029636c35cc42419d55ce7?narHash=sha256-gYPDeDnGP/ky1CKiRIttv7JhiAPIerjDSypnNXHkJpA%3D' (2024-09-26)
  → 'github:nix-community/emacs-overlay/9deee9ccee19d5300bc366c7d28c479777886273?narHash=sha256-oMuC7BXm98IQ6falStTp%2BAaT6EuvhtC71rHJ92zaH/E%3D' (2024-09-30)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/759537f06e6999e141588ff1c9be7f3a5c060106?narHash=sha256-KQPI8CTTnB9CrJ7LrmLC4VWbKZfljEPBXOFGZFRpxao%3D' (2024-09-25)
  → 'github:NixOS/nixpkgs/fbca5e745367ae7632731639de5c21f29c8744ed?narHash=sha256-40J9tW7Y794J7Uw4GwcAKlMxlX2xISBl6IBigo83ih8%3D' (2024-09-28)
• Updated input 'eww':
    'github:elkowar/eww/8661abf2bf07f5a809fc995233d93810cc1ac871?narHash=sha256-q82u3/pcP5T%2B%2BTMdDmaeDKYuCyky1Bo5BjHY1/NVHbY%3D' (2024-09-03)
  → 'github:elkowar/eww/e242d40e3522b27bf087addba23fc7588099b7a6?narHash=sha256-3AU48S429GzXxhFTWDbIaC0Cr7HMAGiF8NuuznbOufI%3D' (2024-09-26)
• Updated input 'home-manager':
    'github:nix-community/home-manager/1e22ef1518fb175d762006f9cae7f6312b8caedb?narHash=sha256-TcUaKtya339Asu%2Bg6KTJ8h7KiKcKXKp2V%2BAt%2B7tksyY%3D' (2024-09-25)
  → 'github:nix-community/home-manager/ffe2d07e771580a005e675108212597e5b367d2d?narHash=sha256-4/vacp3CwdGoPf8U4e/N8OsGYtO09WTcQK5FqYfJbKs%3D' (2024-09-26)
• Updated input 'microvm':
    'github:astro/microvm.nix/af604aa08ac9a4ae585beaf1a3482897a27ab67e?narHash=sha256-tzGcRRhhK5lAuBtlHl3D/TR2V3egPLV4BBcN2%2B4CyY0%3D' (2024-09-12)
  → 'github:astro/microvm.nix/04f643d06b6f3f79cb289a8c94f051b012e1750e?narHash=sha256-IhKB3RPTrblfiq6DW9MiGrS0ULcn/0qWtlefL%2BGfg0o%3D' (2024-09-27)
• Updated input 'nixos-facter-modules':
    'github:numtide/nixos-facter-modules/eb948c9d46fcea1cf99b20f69b091ead76ae3b63?narHash=sha256-qX4p4HrXIwmhcDTNi7q3xg7yCieQ%2BOryECjTwOEEkTk%3D' (2024-09-25)
  → 'github:numtide/nixos-facter-modules/e1ac6a83a5733788833fdff12aa074b5bdfdc965?narHash=sha256-WcqLz7d2Yrss02Y43mQXDQkvJPsK/ISZxQjd/uRcUQY%3D' (2024-09-29)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/d0cb432a9d28218df11cbd77d984a2a46caeb5ac?narHash=sha256-19FNN5QT9Z11ZUMfftRplyNN%2B2PgcHKb3oq8KMW/hDA%3D' (2024-09-22)
  → 'github:NixOS/nixos-hardware/11c43c830e533dad1be527ecce379fcf994fbbb5?narHash=sha256-oKtfbQB1MBypqIyzkC8QCQcVGOa1soaXaGgcBIoh14o%3D' (2024-09-30)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/30439d93eb8b19861ccbe3e581abf97bdc91b093?narHash=sha256-o8VBeCWHBxGd4kVMceIayf5GApqTavJbTa44Xcg5Rrk%3D' (2024-09-23)
  → 'github:nixos/nixpkgs/1925c603f17fc89f4c8f6bf6f631a802ad85d784?narHash=sha256-J%2BPeFKSDV%2BpHL7ukkfpVzCOO7mBSrrpJ3svwBFABbhI%3D' (2024-09-26)
• Updated input 'pre-commit-hooks':
    'github:cachix/git-hooks.nix/4e743a6920eab45e8ba0fbe49dc459f1423a4b74?narHash=sha256-D5AegvGoEjt4rkKedmxlSEmC%2BnNLMBPWFxvmYnVLhjk%3D' (2024-09-19)
  → 'github:cachix/git-hooks.nix/85f7a7177c678de68224af3402ab8ee1bcee25c8?narHash=sha256-0YRcOxJG12VGDFH8iS8pJ0aYQQUAgo/r3ZAL%2BcSh9nk%3D' (2024-09-28)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/a3d832f389606d7dc61a45b244c72ea472d1fcd4?narHash=sha256-yGYahXzCquyYEgf5GTtvtaN5hXbw20Ok2%2Bo8uVxoaFs%3D' (2024-09-26)
  → 'github:oxalica/rust-overlay/c2099c6c7599ea1980151b8b6247a8f93e1806ee?narHash=sha256-83j/GrHsx8GFUcQofKh%2BPRPz6pz8sxAsZyT/HCNdey8%3D' (2024-09-30)
• Updated input 'sops':
    'github:Mic92/sops-nix/e2d404a7ea599a013189aa42947f66cede0645c8?narHash=sha256-qis6BtOOBBEAfUl7FMHqqTwRLB61OL5OFzIsOmRz2J4%3D' (2024-09-16)
  → 'github:Mic92/sops-nix/127a96f49ddc377be6ba76964411bab11ae27803?narHash=sha256-%2B4B/dQm2EnORIk0k2wV3aHGaE0WXTBjColXjj7qWh10%3D' (2024-09-27)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/1bff2ba6ec22bc90e9ad3f7e94cca0d37870afa3?narHash=sha256-3O7RWiXpvqBcCl84Mvqa8dXudZ1Bol1ubNdSmQt7nF4%3D' (2024-09-25)
  → 'github:numtide/treefmt-nix/879b29ae9a0378904fbbefe0dadaed43c8905754?narHash=sha256-uGRlRT47ecicF9iLD1G3g43jn2e%2Bb5KaMptb59LHnvM%3D' (2024-09-27)
2024-09-30 08:23:45 +02:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules foot: Bind show-urls-copy 2024-09-30 08:23:36 +02:00
lib Rearrange overlays 2024-08-19 22:30:30 +02:00
machines loki: Enable OpenCL for amdgpu 2024-09-30 08:23:42 +02:00
modules base: Clean up udev rules 2024-09-30 08:23:34 +02:00
overlays overlay: Remove Python override 2024-08-05 14:28:16 +02:00
pkgs Package peakperf 2024-09-30 08:23:35 +02:00
users work: Change sway scale on HDMI-A-1 to 1.5 2024-09-30 08:23:44 +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:45 +02:00
flake.nix Package peakperf 2024-09-30 08:23:35 +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