The configuration files for all my Nix systems
4

Configure Feed

Select the types of activity you want to include in your feed.

feat: add pi with nodejs path fix

hanna (Jul 4, 2026, 3:30 PM EDT) f819315e 785273d0

+14 -4
+4
flake.nix
··· 31 31 in flake-parts.lib.mkFlake { inherit inputs; } { 32 32 systems = [ "x86_64-linux" "aarch64-darwin" ]; 33 33 34 + perSystem = args@{ inputs', pkgs, ... }: { 35 + packages.pi = import ./pkgs/pi.nix args; 36 + }; 37 + 34 38 flake = { 35 39 nixosConfigurations = { 36 40 mercury = mkSystem "mercury" {
+2 -1
hosts/carbon/system/env.nix
··· 1 - { pkgs, ... }: 1 + { inputs, pkgs, ... }: 2 2 3 3 { 4 4 environment.systemPackages = with pkgs; [ 5 + inputs.self.packages.${system}.pi 5 6 starship 6 7 direnv 7 8 helix
+6
pkgs/pi.nix
··· 1 + { inputs', pkgs, lib, ... }: 2 + 3 + inputs'.agents.packages.pi.overrideAttrs (_: s: { 4 + nativeBuildInputs = s.nativeBuildInputs ++ (with pkgs; [ makeWrapper ]); 5 + postInstall = "wrapProgram $out/bin/pi --prefix PATH : ${lib.makeBinPath [ pkgs.nodejs ]}"; 6 + })
+2 -3
users/hanna/nixos.nix
··· 1 1 { inputs, pkgs, ... }: 2 2 3 - let 4 - agents = inputs.agents.packages.${pkgs.system}; 5 - in { 3 + { 6 4 users.users.hanna = { 7 5 home = "/home/hanna"; 8 6 isNormalUser = true; ··· 11 9 autoSubUidGidRange = true; 12 10 13 11 packages = with pkgs; [ 12 + inputs.self.packages.${system}.pi 14 13 starship 15 14 direnv 16 15 bat