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 = {

View file

@ -45,12 +45,14 @@
5100
25565
3923
7547
];
networking.firewall.allowedUDPPorts = [
25565
5100
443
8443
7547
];
virtualisation.docker.enable = true;
@ -61,23 +63,23 @@
enable = true;
device = "nodev";
efiSupport = true;
double-minegrub-menu = {
enable = true;
main_menu_background = "random";
splash_text = "100% Declarative";
world_selection_background_scaled = "1920x1080";
};
#double-minegrub-menu = {
# enable = true;
# main_menu_background = "random";
# splash_text = "100% Declarative";
# world_selection_background_scaled = "1920x1080";
#};
};
efi.canTouchEfiVariables = true;
timeout = lib.mkDefault 5;
};
# initrd.systemd.enable = true;
plymouth.plymouth-minecraft-theme.enable = true;
#plymouth.plymouth-minecraft-theme.enable = true;
};
# Minegrub supplies its own GRUB theme; don't layer Stylix's GRUB theme over it.
stylix.targets.grub.enable = false;
#stylix.targets.grub.enable = false;
# The local Minecraft theme supplies Plymouth's theme and assets.
stylix.targets.plymouth.enable = false;
#stylix.targets.plymouth.enable = false;
hardware.enableRedistributableFirmware = true;
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;