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

• Updated input 'anyrun':
    'github:Kirottu/anyrun/6e0385f6945d701545edc5bccfc5f544e1e12663?narHash=sha256-PhJdr8b4nZVHts5KMEsf7vCDXVpFIFCa7VlCt%2BoYpL4%3D' (2024-10-13)
  → 'github:Kirottu/anyrun/b3b4f2253d43af3311b3d3fc86973fc3e9559c33?narHash=sha256-i3FxeHjsHw4AePx3AWVVywy92EEobx/ZER4ignWxNrE%3D' (2024-11-01)
• Updated input 'disko':
    'github:nix-community/disko/3979285062d6781525cded0f6c4ff92e71376b55?narHash=sha256-o5m5WzvY6cGIDupuOvjgNSS8AN6yP2iI9MtUC6q/uos%3D' (2024-10-29)
  → 'github:nix-community/disko/380847d94ff0fedee8b50ee4baddb162c06678df?narHash=sha256-Mhqz3p/HEiI/zxBJWO57LYQf6gGlJB0tci6fiVXLjd8%3D' (2024-11-03)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/88aa67a24ebef4001b58945bdc2852f427f1abc9?narHash=sha256-r7ecq%2BMCAU4kQCze6l9ZAooaGkag1ml7mI/aXGx7eH8%3D' (2024-10-30)
  → 'github:nix-community/emacs-overlay/3cbb531951b8abd4413ebc04a4e06d214de3cf04?narHash=sha256-JsaxXQEI76Lq6c5KVAzcAvNox0qEzJfC5%2BbYZqtySCk%3D' (2024-11-04)
• Removed input 'emacs-overlay/flake-utils'
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/64b80bfb316b57cdb8919a9110ef63393d74382a?narHash=sha256-9z8oOgFZiaguj%2Bbbi3k4QhAD6JabWrnv7fscC/mt0KE%3D' (2024-10-28)
  → 'github:NixOS/nixpkgs/080166c15633801df010977d9d7474b4a6c549d7?narHash=sha256-xKel5kd1AbExymxoIfQ7pgcX6hjw9jCgbiBjiUfSVJ8%3D' (2024-10-30)
• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/3d04084d54bedc3d6b8b736c70ef449225c361b1?narHash=sha256-K5ZLCyfO/Zj9mPFldf3iwS6oZStJcU4tSpiXTMYaaL0%3D' (2024-10-01)
  → 'github:hercules-ci/flake-parts/506278e768c2a08bec68eb62932193e341f55c90?narHash=sha256-hgmguH29K2fvs9szpq2r3pz2/8cJd2LPS%2Bb4tfNFCwE%3D' (2024-11-01)
• Updated input 'flake-parts/nixpkgs-lib':
    'fb192fec7c.tar.gz?narHash=sha256-0xHYkMkeLVQAMa7gvkddbPqpxph%2BhDzdu1XdGPJR%2BOs%3D' (2024-10-01)
  → 'cc2f280002.tar.gz?narHash=sha256-lXvH/vOfb4aGYyvFmZK/HlsNsr/0CVWlwYvo2rxJk3s%3D' (2024-11-01)
• Updated input 'home-manager':
    'github:nix-community/home-manager/e83414058edd339148dc142a8437edb9450574c8?narHash=sha256-bFCxJco7d8IgmjfNExNz9knP8wvwbXU4s/d53KOK6U0%3D' (2024-10-27)
  → 'github:nix-community/home-manager/8f6ca7855d409aeebe2a582c6fd6b6a8d0bf5661?narHash=sha256-ZFJqIXpvVKvzOVFKWNRDyIyAo%2BGYdmEPaYi1bZB6uf0%3D' (2024-11-03)
• Updated input 'microvm':
    'github:astro/microvm.nix/46ed88edeee85cb80063c1a511318fe39f9f846f?narHash=sha256-V9ON7dVdjBg8mwx78chSSyBZsw%2BQ8m%2BHO9UfUOIo9L8%3D' (2024-10-29)
  → 'github:astro/microvm.nix/93122446d6001f9789d05e565f73bebfa3f53b50?narHash=sha256-RxV89z3TwhQT0Wue42aSPh3O7hXGbAFYHHNSnW9h6P8%3D' (2024-11-01)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/07d15e8990d5d86a631641b4c429bc0a7400cfb8?narHash=sha256-z5ILcmwMtiCoHTXS1KsQWqigO7HJO8sbyK7f7wn9F/E%3D' (2024-10-29)
  → 'github:NixOS/nixos-hardware/f6e0cd5c47d150c4718199084e5764f968f1b560?narHash=sha256-GJB1/aaTnAtt9sso/EQ77TAGJ/rt6uvlP0RqZFnWue8%3D' (2024-11-02)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/18536bf04cd71abd345f9579158841376fdd0c5a?narHash=sha256-RP%2BOQ6koQQLX5nw0NmcDrzvGL8HDLnyXt/jHhL1jwjM%3D' (2024-10-25)
  → 'github:nixos/nixpkgs/7ffd9ae656aec493492b44d0ddfb28e79a1ea25d?narHash=sha256-Dqg6si5CqIzm87sp57j5nTaeBbWhHFaVyG7V6L8k3lY%3D' (2024-11-02)
• Updated input 'pre-commit-hooks':
    'github:cachix/git-hooks.nix/3c3e88f0f544d6bb54329832616af7eb971b6be6?narHash=sha256-pZRZsq5oCdJt3upZIU4aslS9XwFJ%2B/nVtALHIciX/BI%3D' (2024-10-16)
  → 'github:cachix/git-hooks.nix/af8a16fe5c264f5e9e18bcee2859b40a656876cf?narHash=sha256-W1MIJpADXQCgosJZT8qBYLRuZls2KSiKdpnTVdKBuvU%3D' (2024-10-30)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/7509d76ce2b3d22b40bd25368b45c0a9f7f36c89?narHash=sha256-9pydem8OVxa0TwjUai1PJe0yHAJw556CWCEwyoAq8Ik%3D' (2024-10-30)
  → 'github:oxalica/rust-overlay/41814763a2c597755b0755dbe3e721367a5e420f?narHash=sha256-xQVadjquBA/tFxDt5A55LJ1D1AvkVWsnrKC2o%2Bpr8F4%3D' (2024-11-04)
• Updated input 'sops':
    'github:Mic92/sops-nix/1666d16426abe79af5c47b7c0efa82fd31bf4c56?narHash=sha256-qm0uCtM9bg97LeJTKQ8dqV/FvqRN%2BompyW4GIJruLuw%3D' (2024-10-27)
  → 'github:Mic92/sops-nix/e9b5eef9b51cdf966c76143e13a9476725b2f760?narHash=sha256-1NveNAMLHbxOg0BpBMSVuZ2yW2PpDnZLbZ25wV50PMc%3D' (2024-11-03)
• Updated input 'sops/nixpkgs-stable':
    'github:NixOS/nixpkgs/cd3e8833d70618c4eea8df06f95b364b016d4950?narHash=sha256-knnVBGfTCZlQgxY1SgH0vn2OyehH9ykfF8geZgS95bk%3D' (2024-10-26)
  → 'github:NixOS/nixpkgs/3c2f1c4ca372622cb2f9de8016c9a0b1cbd0f37c?narHash=sha256-efgLzQAWSzJuCLiCaQUCDu4NudNlHdg2NzGLX5GYaEY%3D' (2024-11-03)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/9ef337e492a5555d8e17a51c911ff1f02635be15?narHash=sha256-LqHYIxMrl/1p3/kvm2ir925tZ8DkI0KA10djk8wecSk%3D' (2024-10-28)
  → 'github:numtide/treefmt-nix/746901bb8dba96d154b66492a29f5db0693dbfcc?narHash=sha256-vK%2Ba09qq19QNu2MlLcvN4qcRctJbqWkX7ahgPZ/%2BmaI%3D' (2024-10-30)
2024-11-04 08:27:27 +01:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules Update Hyprland config 2024-10-26 19:26:06 +02:00
lib nix-cache: attic module is now in nixpkgs 2024-10-24 14:05:17 +02:00
machines unbound: Performance tweaks 2024-10-31 11:39:57 +01:00
modules barman: set HOME to barman home dir 2024-10-17 08:34:50 +02:00
overlays factorio: Update to 2.0.14 2024-11-04 08:26:26 +01:00
pkgs mapshot: init 0.0.22 2024-10-21 23:27:17 +02:00
users home: Enable mangohud 2024-10-29 01:09:42 +01: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-11-04 08:27:27 +01:00
flake.nix nix-cache: attic module is now in nixpkgs 2024-10-24 14:05:17 +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