This commit is contained in:
Porta 2026-11-14 17:54:25 +10:00
parent 39ac00a2b5
commit e23cc83963
No known key found for this signature in database
5 changed files with 49 additions and 10 deletions

View file

@ -0,0 +1,9 @@
{ inputs, ... }:
{
flake.nixosModules.bootvine =
{ ... }:
{
imports = [ inputs.bootvine.nixosModules.default ];
services.bootvine.enable = true;
};
}

View file

@ -4,6 +4,17 @@
{ pkgs, user-parts, ... }:
{
imports = [ inputs.home-manager.nixosModules.home-manager ];
# onig_sys links against the system Oniguruma library.
nixpkgs.overlays = [
(final: prev: {
neocmakelsp = prev.neocmakelsp.overrideAttrs (old: {
nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ final.pkg-config ];
buildInputs = (old.buildInputs or [ ]) ++ [ final.oniguruma ];
});
})
];
environment.systemPackages = with pkgs; [
libclang
neocmakelsp

View file

@ -41,6 +41,7 @@
self.nixosModules.flatpak
self.nixosModules.rust
self.nixosModules.jetbrains
self.nixosModules.bootvine
];
};

View file

@ -4,10 +4,26 @@
{ pkgs, user-parts, ... }:
{
imports = [ inputs.home-manager.nixosModules.home-manager ];
# fnm's zstd-sys dependency needs pkg-config and libzstd at build time.
nixpkgs.overlays = [
(final: prev: {
fnm = prev.fnm.overrideAttrs (old: {
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
#codex
bubblewrap
];
programs.nix-ld = {