Skip to content

Fix/chipsec - #4

Merged
RiSKeD merged 3 commits into
mainfrom
fix/chipsec
Nov 19, 2025
Merged

Fix/chipsec#4
RiSKeD merged 3 commits into
mainfrom
fix/chipsec

Conversation

@RiSKeD

@RiSKeD RiSKeD commented Nov 19, 2025

Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: Fabian Wienand <fabian.wienand@9elements.com>
Copilot AI review requested due to automatic review settings November 19, 2025 07:51
@RiSKeD
RiSKeD enabled auto-merge (rebase) November 19, 2025 07:51

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR modernizes the chipsec package and refactors the NixOS module structure to simplify the build system and improve maintainability.

Key Changes

  • Chipsec package update: Upgraded from version 1.10.6 to 1.13.17, switching to pyproject = true build system and using tag instead of rev for fetching sources
  • Module consolidation: Merged functionality from modules/default-tools.nix into modules/base.nix, removing the need for a separate file and using lib.mkMerge for cleaner configuration
  • Simplified build targets: Removed the separate chipsec configuration/image, consolidating into a single base image with an optional includeChipSec flag (now defaulting to true)

Reviewed Changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
pkgs/chipsec/default.nix Updated chipsec to version 1.13.17, switched to pyproject build system, simplified driver build logic with marker file approach
pkgs/chipsec/log-path.diff Added new patch to set log path to /tmp/chipsec instead of relative path
pkgs/chipsec/ko-path.diff Removed obsolete kernel module path patch (no longer needed with new build approach)
pkgs/chipsec/compile-ko.diff Removed obsolete driver compilation patch (replaced by marker file approach)
modules/kernel.nix Updated default kernel to 6.12.58, added includeIntelModules option for conditional Intel module loading, improved option descriptions
modules/base.nix Consolidated default-tools functionality, refactored using lib.mkMerge for cleaner conditional configuration, changed includeChipSec default to true
modules/default-tools.nix Removed file (functionality merged into base.nix)
flake.nix Renamed modules to nixosModules, removed separate chipsec configuration, updated to use packages.default instead of deprecated defaultPackage
README.md Updated documentation to reflect single base image approach, updated kernel version info, clarified chipsec compatibility requirements
Makefile Removed chipsec target, keeping only base target

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md Outdated
Comment thread pkgs/chipsec/default.nix
Comment thread modules/kernel.nix Outdated
Comment thread modules/base.nix Outdated
Signed-off-by: Fabian Wienand <fabian.wienand@9elements.com>
Signed-off-by: Fabian Wienand <fabian.wienand@9elements.com>
@RiSKeD
RiSKeD merged commit d121898 into main Nov 19, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants