Skip to content

Conversation

@vic
Copy link
Owner

@vic vic commented Nov 2, 2025

No description provided.

Copilot AI review requested due to automatic review settings November 2, 2025 06:24
@vic vic changed the base branch from main to rc/0.2.0 November 2, 2025 06:25
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 refactors user and home-manager configuration by extracting the define-user aspect from an example template into a reusable provided aspect. The changes consolidate user definition logic into the den framework's provides system, making it more accessible and maintainable.

Key changes:

  • Creates a new modules/aspects/provides/define-user.nix file that centralizes user and home directory configuration logic
  • Updates the example template to reference the new provided aspect instead of defining the logic inline
  • Adds documentation on how to use the define-user aspect for both users and standalone-homes

Reviewed Changes

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

File Description
modules/aspects/provides/define-user.nix Introduces a new provided aspect for defining users at OS and Home Manager levels with support for both NixOS and Darwin systems
templates/default/modules/_example/aspects.nix Removes local user definition logic and updates to use the centralized den._.define-user aspect

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

@vic vic merged commit 7afac95 into rc/0.2.0 Nov 2, 2025
3 checks passed
@vic vic deleted the pr/define-user branch November 2, 2025 06:49
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