-
-
Notifications
You must be signed in to change notification settings - Fork 5
Standalone home and other changes #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this 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 introduces support for standalone home-manager configurations in den, allowing users to define home environments independent of NixOS/Darwin host configurations. The key structural change is moving host definitions under den.hosts (from den) and adding a new den.homes option for standalone home configurations.
Key Changes:
- Added standalone home-manager configuration support via
den.homes - Refactored host definitions to be nested under
den.hostsinstead of directly underden - Added input name override capabilities for nixpkgs, darwin, and home-manager dependencies
Reviewed Changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| templates/default/modules/_example/hosts.nix | Updated to use new den.hosts path for host definitions |
| templates/default/modules/_example/homes.nix | New example file demonstrating standalone home-manager configurations |
| nix/types.nix | Added homesOption, homeType, and inputsOption types; renamed denOption to hostsOption |
| nix/os-config.nix | Updated to use config.den.hosts and support input name overrides |
| nix/home-config.nix | New file implementing standalone home-manager configuration instantiation |
| nix/flakeModule.nix | Added new imports and options for homes and inputs configuration |
| nix/aspects-config.nix | Extended aspect system to support standalone homes alongside hosts |
| README.md | Added documentation for standalone home-manager configurations |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 8 out of 8 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
d5b474f to
ebaf088
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 8 out of 8 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
ebaf088 to
7c6fb07
Compare
vic
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wow ! looks awesome!
I left some changes request, thank you again :)
7c6fb07 to
fb4587c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 11 out of 12 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| inputs = { | ||
| nixpkgs = { | ||
| follows = "nixpkgs"; | ||
| }; | ||
| }; | ||
| url = "github:nix-community/home-manager"; |
Copilot
AI
Oct 25, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] The url attribute should be defined before the inputs attribute for better readability and consistency with Nix conventions. Move line 26 to line 20.
| inputs = { | |
| nixpkgs = { | |
| follows = "nixpkgs"; | |
| }; | |
| }; | |
| url = "github:nix-community/home-manager"; | |
| url = "github:nix-community/home-manager"; | |
| inputs = { | |
| nixpkgs = { | |
| follows = "nixpkgs"; | |
| }; | |
| }; |
| config, | ||
| inputs, | ||
| lib, | ||
| config, | ||
| self, |
Copilot
AI
Oct 25, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] The parameter order has been changed from alphabetical (config, inputs, lib) to (config, inputs, lib, self). Consider maintaining alphabetical ordering for consistency: (config, inputs, lib, self) is already correct, but the original order (inputs, lib, config) suggests a different convention may have been in use. Ensure this change aligns with project conventions.
- Rename denOption to hostsOption in types.nix - Change options.den to options.den.hosts in flakeModule.nix - Update all references to use config.den.hosts instead of config.den
fb4587c to
fd47779
Compare
fd47779 to
6fe6a87
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 11 out of 12 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
6fe6a87 to
38755de
Compare
- Add den.homes option for standalone home-manager configurations - Create home-config.nix to instantiate homeConfigurations - Add homeType and homesOption to types.nix - Extend aspects-config.nix with homeAspect and default.home - Add example homes.nix template
Allow arbitrary additional attributes beyond defined options
38755de to
3173523
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 10 out of 11 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Thank you, @HeitorAugustoLN |
Closes #5