[GH-ISSUE #1374] Allow to configure ironbar via a nix module #1813

Closed
opened 2026-05-22 22:54:47 +01:00 by JakeStanger · 1 comment
Owner

Originally created by @lypwig on GitHub (Feb 15, 2026).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/1374

Ironbar is available in nixos, but the nix package doesn't provide configuration options.

It could be interesting to allow basic configuration in the home.nix file like this:

programs.ironbar = {
  enable = true;
  position = "top";
  height = 34;

  bar = [
    { start = { type = "workspaces"; }; }
    { center = { type = "focused"; icon_size = 20; }; }
  ];

  style = ''
    * { font-size: 18px; }
  '';
};

This could allow some basic immutable configuration while letting the user override them in their config files.

Originally created by @lypwig on GitHub (Feb 15, 2026). Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/1374 Ironbar is available [in nixos](https://search.nixos.org/packages?channel=25.11&query=ironbar&show=ironbar), but the nix package doesn't provide configuration options. It could be interesting to allow basic configuration in the home.nix file like this: ``` programs.ironbar = { enable = true; position = "top"; height = 34; bar = [ { start = { type = "workspaces"; }; } { center = { type = "focused"; icon_size = 20; }; } ]; style = '' * { font-size: 18px; } ''; }; ``` This could allow some basic immutable configuration while letting the user override them in their config files.
Author
Owner

@JakeStanger commented on GitHub (Feb 15, 2026):

The flake included in this repo already includes the ability to configure the bar through nix. Changes to nixpkgs, home manager or other packages should be raised in the respective repo.

<!-- gh-comment-id:3905032780 --> @JakeStanger commented on GitHub (Feb 15, 2026): The flake included in this repo already includes the ability to configure the bar through nix. Changes to nixpkgs, home manager or other packages should be raised in the respective repo.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/ironbar#1813
No description provided.