Skip to content

Conversation

@0xda157
Copy link
Contributor

@0xda157 0xda157 commented Jul 27, 2025

theming doesn't seem to be applying for some reason

Things done

Notify maintainers

@Noodlez1232

@stylix-automation stylix-automation bot added topic: testbed Testbed changes topic: modules /modules/ subsystem labels Jul 27, 2025
};

home-manager.sharedModules = lib.singleton {
programs.bemenu.enable = true;
Copy link
Member

Choose a reason for hiding this comment

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

theming doesn't seem to be applying for some reason

We need to trigger the code path that enables home.sessionVariables to be generated:

    home.sessionVariables = lib.mkIf (cfg.settings != { }) {
      BEMENU_OPTS = lib.cli.toGNUCommandLineShell { } cfg.settings;
    };

-- github:nix-community/home-manager, /modules/programs/bemenu.nix

I believe the following should fix it:

Suggested change
programs.bemenu.enable = true;
programs = {
bash.enable = true;
bemenu.enable = true;
};

The same is done in:

programs = {
bash.enable = true;
fzf.enable = true;
};

It might be better to generally programs.bash.enable = true; in all testbeds to avoid relying on the implementation detail of relying on environment variables. I will try to open a PR for this later.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

hmm adding bash.enable doesn't seem to fix the problem and echo $BEMENU_OPTS prints nothing.

Copy link
Member

@trueNAHO trueNAHO Jul 30, 2025

Choose a reason for hiding this comment

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

hmm adding bash.enable doesn't seem to fix the problem and echo $BEMENU_OPTS prints nothing.

Maybe cfg.settings is empty in the testbed for some reason:

    home.sessionVariables = lib.mkIf (cfg.settings != { }) {
      BEMENU_OPTS = lib.cli.toGNUCommandLineShell { } cfg.settings;
    };

-- github:nix-community/home-manager, /modules/programs/bemenu.nix

Maybe the groups are not ensured to be enabled:

In that case, this would be a general problem with all testbeds.

It might be better to generally programs.bash.enable = true; in all testbeds to avoid relying on the implementation detail of relying on environment variables.

This should be resolved by #1803.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: modules /modules/ subsystem topic: testbed Testbed changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants