Skip to content

Put hades behind an option - #130

Merged
UnstoppableMango merged 1 commit into
mainfrom
more-module-organization
Jul 18, 2026
Merged

Put hades behind an option#130
UnstoppableMango merged 1 commit into
mainfrom
more-module-organization

Conversation

@UnstoppableMango

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings July 17, 2026 23:56

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

This PR refactors the erik@hades Home Manager configuration so the “hades desktop profile” is controlled by an explicit option, rather than being applied by directly importing the host module in flake.nix.

Changes:

  • Adds a dotfiles.hades toggle and gates all hades-specific config behind it.
  • Imports users/erik/hades.nix from users/erik/default.nix, and enables the profile for erik@hades via a module override in flake.nix.
  • Removes user.signingkey from the shared Git toolchain module.

Reviewed changes

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

File Description
users/erik/hades.nix Introduces a hades profile option and wraps the host-specific configuration in a conditional.
users/erik/default.nix Imports the hades module so its option/config can participate in the erik module graph.
toolchain/git/default.nix Removes the shared Git signing key from the toolchain defaults.
flake.nix Enables the hades profile for erik@hades via an inline module instead of importing the hades module directly.

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

Comment thread users/erik/hades.nix
Comment on lines +8 to +10
options.dotfiles.hades = lib.mkEnableOption "erik's hades desktop profile";

dotfiles = {
gnome.enable = true;
brave.enable = true;
emacs.enable = true;
vscode.enable = true;
zed.enable = true;
helix.enable = true;
ghostty.enable = true;
kitty.enable = true;
containers.enable = true;
ocaml.enable = true;
dotnet.enable = true;
};
config = lib.mkIf config.dotfiles.hades {
Comment thread flake.nix
pkgs = legacyPackages.x86_64-linux;
extraSpecialArgs = { inherit inputs; };
modules = modules ++ [ ./users/erik/hades.nix ];
modules = modules ++ [ { dotfiles.hades = true; } ];
Comment thread toolchain/git/default.nix
Comment on lines 21 to 25
user = {
name = "UnstoppableMango";
email = "erik.rasmussen@unmango.dev";
signingkey = "264283BBFDC491BC";
};

@UnstoppableMango
UnstoppableMango merged commit d7b595d into main Jul 18, 2026
2 of 3 checks passed
@UnstoppableMango
UnstoppableMango deleted the more-module-organization branch July 18, 2026 00:06
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