Fix flake output schema and devShell wiring causing CI flake-check failures#311
Closed
Copilot wants to merge 6 commits into
Closed
Fix flake output schema and devShell wiring causing CI flake-check failures#311Copilot wants to merge 6 commits into
Copilot wants to merge 6 commits into
Conversation
Agent-Logs-Url: https://github.com/c0d3h01/Nix/sessions/16abe415-60f2-4a17-a319-00c3d4d79b1f Co-authored-by: c0d3h01 <109863197+c0d3h01@users.noreply.github.com>
Agent-Logs-Url: https://github.com/c0d3h01/Nix/sessions/16abe415-60f2-4a17-a319-00c3d4d79b1f Co-authored-by: c0d3h01 <109863197+c0d3h01@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
c0d3h01
April 18, 2026 17:40
View session
Agent-Logs-Url: https://github.com/c0d3h01/Nix/sessions/69650f63-dac2-4ff4-bab7-20564551a0e9 Co-authored-by: c0d3h01 <109863197+c0d3h01@users.noreply.github.com>
Agent-Logs-Url: https://github.com/c0d3h01/Nix/sessions/71a9de61-9bfd-49c1-9c18-590fef071bcd Co-authored-by: c0d3h01 <109863197+c0d3h01@users.noreply.github.com>
Agent-Logs-Url: https://github.com/c0d3h01/Nix/sessions/71a9de61-9bfd-49c1-9c18-590fef071bcd Co-authored-by: c0d3h01 <109863197+c0d3h01@users.noreply.github.com>
Agent-Logs-Url: https://github.com/c0d3h01/Nix/sessions/6c8b1519-6fdc-4575-8444-e6273817038c Co-authored-by: c0d3h01 <109863197+c0d3h01@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
This PR fixes flake output shape and module evaluation issues that were causing nix flake check/CI validation failures, particularly around homeConfigurations.c0d3h01 and Home Manager module evaluation outside NixOS.
Changes:
- Fix flake output schema by defining
nixosConfigurations.c0d3h01andhomeConfigurations.c0d3h01directly (not nested per-system), and wirespecialArgs/extraSpecialArgsconsistently. - Make
modules/home/gtk.nixsafe under standalone Home Manager evaluation by guarding optionalconfig.services.*lookups with defaults. - Fix
devShellsimport wiring by passingpkgscorrectly and providingformattertoshell.nix.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| modules/home/home.nix | Sets a concrete home.username to avoid problematic self-referential evaluation in standalone HM configs. |
| modules/home/gtk.nix | Replaces unsafe config.services.*.enable reads with lib.attrByPath defaults for standalone HM compatibility. |
| flake.nix | Corrects output schema for nixosConfigurations/homeConfigurations, adds consistent specialArgs, and fixes devShell/formatter plumbing. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
homeConfigurations.c0d3h01config.services.*Desktop.enablelookups with safe defaults in Home Manager gtk module