Skip to content

Conversation

@vic
Copy link
Owner

@vic vic commented Nov 21, 2025

No description provided.

Copilot AI review requested due to automatic review settings November 21, 2025 03:04
@vic vic merged commit f2bbf48 into main Nov 21, 2025
8 checks passed
@vic vic deleted the small branch November 21, 2025 03:05
Copy link

Copilot AI left a comment

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 simplifies the dendritic template by consolidating module definitions and removing redundant files. The changes move the flake module definition from templates to the main modules directory and streamline the template's module structure.

  • Consolidates flake module configuration into a new modules/flakeModule.nix file
  • Removes separate target.nix and dendritic.nix modules from the template
  • Merges configuration into the template's checkmate.nix file

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
templates/dendritic/checkmate/modules/target.nix Removed - target configuration moved to checkmate.nix
templates/dendritic/checkmate/modules/dendritic.nix Removed - dendritic import consolidated into main flakeModule
templates/dendritic/checkmate/modules/checkmate.nix Updated to configure target input and import checkmate module
modules/templates.nix Removed flakeModule definition (moved to separate file)
modules/flakeModule.nix New file containing consolidated flakeModule definition with checkmate configuration

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

{
flake-file.inputs.checkmate.url = lib.mkDefault "github:vic/checkmate";
flake-file.inputs.target.url = "github:vic/checkmate?dir=templates/dendritic";
imports = [ (inputs.checkmate.flakeModule or { }) ];
Copy link

Copilot AI Nov 21, 2025

Choose a reason for hiding this comment

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

The input is named target on line 3, but line 4 imports from inputs.checkmate. This creates an inconsistency - either the input should be named checkmate to match the import, or the import should use inputs.target to match the input name.

Suggested change
imports = [ (inputs.checkmate.flakeModule or { }) ];
imports = [ (inputs.target.flakeModule or { }) ];

Copilot uses AI. Check for mistakes.
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.

2 participants