Massive refactor

This commit is contained in:
Porta 2026-11-15 22:13:38 +10:00
parent 572ac016c4
commit 56c640398b
No known key found for this signature in database
48 changed files with 271 additions and 1335 deletions

View file

@ -1,9 +1,8 @@
{ inputs, ... }:
{ ... }:
{
flake.nixosModules.nixd =
{ pkgs, user-parts, ... }:
{ pkgs, ... }:
{
imports = [ inputs.home-manager.nixosModules.home-manager ];
# fnm's zstd-sys dependency needs pkg-config and libzstd at build time.
nixpkgs.overlays = [
@ -12,18 +11,12 @@
nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ final.pkg-config ];
buildInputs = (old.buildInputs or [ ]) ++ [ final.zstd ];
});
# The forced system-library hook lacks matching inputs in this package.
# Keep upstream's bundled libraries until nixpkgs supplies those inputs.
#codex = prev.codex.overrideAttrs (old: {
# dontCargoUseSystemLibs = true;
#});
})
];
environment.systemPackages = with pkgs; [
nixd
fnm
#codex
bubblewrap
];
programs.nix-ld = {