Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions modules/flakeModule.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
flake.flakeModule =
{ inputs, lib, ... }:
{
imports = [
(inputs.flake-file.flakeModules.dendritic or { })
(inputs.import-tree ./checkmate)
];
flake-file.inputs.checkmate.url = lib.mkDefault "github:vic/checkmate";
};
}
7 changes: 0 additions & 7 deletions modules/outputs.nix → modules/templates.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,4 @@
description = "Dendritic";
path = ../templates/dendritic;
};
flake.flakeModule =
{ inputs, ... }:
{
imports = [
(inputs.import-tree ./checkmate)
];
};
}
4 changes: 2 additions & 2 deletions templates/dendritic/checkmate/modules/checkmate.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ inputs, lib, ... }:
{ inputs, ... }:
{
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.
}
6 changes: 0 additions & 6 deletions templates/dendritic/checkmate/modules/dendritic.nix

This file was deleted.

3 changes: 0 additions & 3 deletions templates/dendritic/checkmate/modules/target.nix

This file was deleted.