Skip to content

Cleaning up modules#128

Merged
UnstoppableMango merged 2 commits into
mainfrom
module-cleanup
Jul 12, 2026
Merged

Cleaning up modules#128
UnstoppableMango merged 2 commits into
mainfrom
module-cleanup

Conversation

@UnstoppableMango

Copy link
Copy Markdown
Owner
  • Begin cleaning up modules
  • Revert the gnome stuff

Copilot AI review requested due to automatic review settings July 12, 2026 04:34

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot couldn't run its full agentic review because no GitHub Actions runner was available. Make sure your repository has a runner available to run Copilot's review, or add a copilot-setup-steps.yml file specifying one with the runs-on attribute. See the docs for more details.

This PR starts consolidating per-user Home Manager configuration into shared modules, while backing out GNOME-specific bits where they don’t apply (e.g., macOS).

Changes:

  • Move ai and gnupg from per-user modules into shared, importable modules.
  • Add dotfiles.*.enable toggles for git and nix toolchain modules, and enable them per-user.
  • Introduce an optional oh-my-zsh module alongside the existing prezto setup and update docs accordingly.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
users/erik/gnupg.nix Makes pinentry conditional (Linux-only) via mkIf.
users/erik/default.nix Switches imports to shared ai/ + gnupg/ modules; enables additional dotfiles toggles.
users/erik/ai.nix Minor formatting-only change.
users/erasmussen/gnupg.nix Removes per-user gnupg module in favor of shared module.
users/erasmussen/default.nix Switches imports to shared ai/ + gnupg/; enables new dotfiles toggles; prunes some packages.
toolchain/nix/default.nix Converts nix toolchain into an enable-gated module (dotfiles.nix.enable).
toolchain/git/default.nix Converts git toolchain into an enable-gated module (dotfiles.git.enable) and adds extra tooling.
shells/zsh/oh-my-zsh/default.nix Adds an enable-gated oh-my-zsh module under dotfiles.zsh.ohMyZsh.enable.
shells/zsh/default.nix Imports both prezto and oh-my-zsh modules.
AGENTS.md Updates module directory documentation (adds ai/, gnupg/, oh-my-zsh note).

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

Comment thread toolchain/git/default.nix
Comment on lines +21 to +24
user = {
name = "UnstoppableMango";
email = "erik.rasmussen@unmango.dev";
};
Comment thread shells/zsh/default.nix
Comment on lines +8 to +11
imports = [
./prezto
./oh-my-zsh
];
Comment thread toolchain/nix/default.nix
...
}:
{
options.dotfiles.nix.enable = lib.mkEnableOption "nix Toolchain";
@UnstoppableMango
UnstoppableMango merged commit 1f0e115 into main Jul 12, 2026
1 of 3 checks passed
@UnstoppableMango
UnstoppableMango deleted the module-cleanup branch July 12, 2026 04:59
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