Skip to content

Fix flake output schema and devShell wiring causing CI flake-check failures#311

Closed
Copilot wants to merge 6 commits into
mainfrom
copilot/fix-flake-config-errors
Closed

Fix flake output schema and devShell wiring causing CI flake-check failures#311
Copilot wants to merge 6 commits into
mainfrom
copilot/fix-flake-config-errors

Conversation

Copilot AI commented Apr 18, 2026

Copy link
Copy Markdown
Contributor
  • Inspect latest Validate Flake failure logs for the current branch
  • Identify the concrete failing expression behind homeConfigurations.c0d3h01
  • Replace unsafe config.services.*Desktop.enable lookups with safe defaults in Home Manager gtk module
  • Re-scan home modules for similar unsafe attribute access patterns
  • Validate via CI-oriented checks where possible and summarize results

Copilot AI and others added 2 commits April 18, 2026 17:37
Copilot AI and others added 2 commits April 18, 2026 17:56

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 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.c0d3h01 and homeConfigurations.c0d3h01 directly (not nested per-system), and wire specialArgs/extraSpecialArgs consistently.
  • Make modules/home/gtk.nix safe under standalone Home Manager evaluation by guarding optional config.services.* lookups with defaults.
  • Fix devShells import wiring by passing pkgs correctly and providing formatter to shell.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.

@c0d3h01 c0d3h01 marked this pull request as draft April 19, 2026 06:33
@c0d3h01 c0d3h01 closed this Apr 20, 2026
@c0d3h01 c0d3h01 deleted the copilot/fix-flake-config-errors branch April 20, 2026 08:27
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