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

• Updated input 'disko':
    'github:nix-community/disko/b709e1cc33fcde71c7db43850a55ebe6449d0959?narHash=sha256-b%2BGBgCWd2N6pkiTkRZaMFOPztPO4IVTaclYPrQl2uLk%3D' (2024-09-28)
  → 'github:nix-community/disko/da8f49246ce226b70feaf132d9b73a4cb7595f10?narHash=sha256-YGKkZJGZiopMia83mf04zbK2p2OHdtbyJq05jkmGGis%3D' (2024-10-02)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/9deee9ccee19d5300bc366c7d28c479777886273?narHash=sha256-oMuC7BXm98IQ6falStTp%2BAaT6EuvhtC71rHJ92zaH/E%3D' (2024-09-30)
  → 'github:nix-community/emacs-overlay/7bdcd77e2b8fd8e10d8d8bfae5ba7302dbd69d3e?narHash=sha256-sS83Q/2pl6U%2BLnRKVH95ntBRIpzr2x1llLPZlfX0GXg%3D' (2024-10-02)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/fbca5e745367ae7632731639de5c21f29c8744ed?narHash=sha256-40J9tW7Y794J7Uw4GwcAKlMxlX2xISBl6IBigo83ih8%3D' (2024-09-28)
  → 'github:NixOS/nixpkgs/1719f27dd95fd4206afb9cec9f415b539978827e?narHash=sha256-9/79hjQc9%2BxyH%2BQxeMcRsA6hDyw6Z9Eo1/oxjvwirLk%3D' (2024-09-30)
• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/bcef6817a8b2aa20a5a6dbb19b43e63c5bf8619a?narHash=sha256-HO4zgY0ekfwO5bX0QH/3kJ/h4KvUDFZg8YpkNwIbg1U%3D' (2024-09-12)
  → 'github:hercules-ci/flake-parts/3d04084d54bedc3d6b8b736c70ef449225c361b1?narHash=sha256-K5ZLCyfO/Zj9mPFldf3iwS6oZStJcU4tSpiXTMYaaL0%3D' (2024-10-01)
• Updated input 'flake-parts/nixpkgs-lib':
    '356624c120.tar.gz?narHash=sha256-Ss8QWLXdr2JCBPcYChJhz4xJm%2Bh/xjl4G0c0XlP6a74%3D' (2024-09-01)
  → 'fb192fec7c.tar.gz?narHash=sha256-0xHYkMkeLVQAMa7gvkddbPqpxph%2BhDzdu1XdGPJR%2BOs%3D' (2024-10-01)
• Updated input 'home-manager':
    'github:nix-community/home-manager/ffe2d07e771580a005e675108212597e5b367d2d?narHash=sha256-4/vacp3CwdGoPf8U4e/N8OsGYtO09WTcQK5FqYfJbKs%3D' (2024-09-26)
  → 'github:nix-community/home-manager/437ec62009fa8ceb684eb447d455ffba25911cf9?narHash=sha256-dlyV9/eiWkm/Y/t2%2Bk4CFZ29tBvCANmJogEYaHeAOTw%3D' (2024-10-01)
• Updated input 'nixos-facter-modules':
    'github:numtide/nixos-facter-modules/e1ac6a83a5733788833fdff12aa074b5bdfdc965?narHash=sha256-WcqLz7d2Yrss02Y43mQXDQkvJPsK/ISZxQjd/uRcUQY%3D' (2024-09-29)
  → 'github:numtide/nixos-facter-modules/ec6ef7d5495bb5db1b6991791625eb22d108e954?narHash=sha256-erluG4Za9uJ6q83Vp%2BzRchFxW1Z2YpIPC1nNeKKqR7g%3D' (2024-09-30)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/1925c603f17fc89f4c8f6bf6f631a802ad85d784?narHash=sha256-J%2BPeFKSDV%2BpHL7ukkfpVzCOO7mBSrrpJ3svwBFABbhI%3D' (2024-09-26)
  → 'github:nixos/nixpkgs/06cf0e1da4208d3766d898b7fdab6513366d45b9?narHash=sha256-S5kVU7U82LfpEukbn/ihcyNt2%2BEvG7Z5unsKW9H/yFA%3D' (2024-09-29)
• Updated input 'pre-commit-hooks':
    'github:cachix/git-hooks.nix/85f7a7177c678de68224af3402ab8ee1bcee25c8?narHash=sha256-0YRcOxJG12VGDFH8iS8pJ0aYQQUAgo/r3ZAL%2BcSh9nk%3D' (2024-09-28)
  → 'github:cachix/git-hooks.nix/5f58871c9657b5fc0a7f65670fe2ba99c26c1d79?narHash=sha256-/odH2nUMAwkMgOS2nG2z0exLQNJS4S2LfMW0teqU7co%3D' (2024-10-02)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/c2099c6c7599ea1980151b8b6247a8f93e1806ee?narHash=sha256-83j/GrHsx8GFUcQofKh%2BPRPz6pz8sxAsZyT/HCNdey8%3D' (2024-09-30)
  → 'github:oxalica/rust-overlay/02321540b0c8000b36889b1b974d1fec585b25a4?narHash=sha256-JE0zciM5IGWvK8J/pE2VldNBf7oyMH5WrU8tZArefbg%3D' (2024-10-02)
• Updated input 'sops':
    'github:Mic92/sops-nix/127a96f49ddc377be6ba76964411bab11ae27803?narHash=sha256-%2B4B/dQm2EnORIk0k2wV3aHGaE0WXTBjColXjj7qWh10%3D' (2024-09-27)
  → 'github:Mic92/sops-nix/3198a242e547939c5e659353551b0668ec150268?narHash=sha256-i47LQwoGCVQq4upV2YHV0OudkauHNuFsv306ualB/Sw%3D' (2024-09-30)
2024-10-02 11:37:44 +02:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules waybar: Make temperature module input path configurable 2024-10-02 11:35:33 +02:00
lib Rearrange overlays 2024-08-19 22:30:30 +02:00
machines mimir: Add peakperf 2024-10-02 09:16:46 +02:00
modules base: Clean up udev rules 2024-09-30 08:23:34 +02:00
overlays peakperf: Add to overlay, add CUDA deps 2024-10-02 09:15:49 +02:00
pkgs peakperf: Add to overlay, add CUDA deps 2024-10-02 09:15:49 +02:00
users waybar: Make temperature module input path configurable 2024-10-02 11:35:33 +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-02 11:37:44 +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