Skip to content

hyprpanel: init at 0-unstable-2025-06-20 - #379994

Merged
JohnRTitor merged 1 commit into
NixOS:masterfrom
PerchunPak:hyprpanel
Jun 22, 2025
Merged

JohnRTitor merged 1 commit into
NixOS:masterfrom
PerchunPak:hyprpanel

Conversation

@PerchunPak

@PerchunPak PerchunPak commented Feb 7, 2025 •

Copy link
Copy Markdown
Member

Note

I daily drive everything from this PR and #374302 since 2025 new year, so everything is pretty well tested

https://github.com/Jas-SinghFSU/HyprPanel: Bar/Panel for Hyprland with extensive customizability

Fixes #350324
Closes Jas-SinghFSU/HyprPanel#371

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

Comment thread pkgs/by-name/hy/hyprpanel/package.nix Outdated

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Please merge #374302 so I don't have to remove tray functionality

@PerchunPak
PerchunPak force-pushed the hyprpanel branch 2 times, most recently from 9d3d9bd to 5bd3e14 Compare February 7, 2025 05:37
@github-actions github-actions Bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Feb 7, 2025
@PerchunPak

Copy link
Copy Markdown
Member Author

BTW I daily drive this for a few weeks, so it is pretty much tested

@PerchunPak
PerchunPak force-pushed the hyprpanel branch 3 times, most recently from 5ab710c to 8bfb068 Compare February 17, 2025 08:48
@PerchunPak

This comment was marked as outdated.

@PerchunPak PerchunPak added the 12.approvals: 1 This PR was reviewed and approved by one person. label Feb 17, 2025
@PerchunPak

Copy link
Copy Markdown
Member Author

Hey @JohnRTitor,

you've helped me merging my changes to ags, so may I interest you in reviewing this PR?

@PerchunPak
PerchunPak force-pushed the hyprpanel branch 2 times, most recently from 5ed2420 to 470fe1a Compare April 29, 2025 13:05
@dwilliam62

Copy link
Copy Markdown

I have tested this with NixOS 25.05, Hyprland 0.48.1 On NVIDIA RTX3050, Intel-Nvidia 1660Ti hybrid, Intel iGPU, AMD iGPU, and in a Proxmox VM. All are working w/o issue.

@PerchunPak PerchunPak added 12.approvals: 2 This PR was reviewed and approved by two persons. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Apr 29, 2025
@phanirithvij

Copy link
Copy Markdown
Member

@PerchunPak just so you won't be surprised, only approvals made via github review count for approvals. The automated labeling system will soon revert the label back to one approval.

@PerchunPak

Copy link
Copy Markdown
Member Author

@PerchunPak just so you won't be surprised, only approvals made via github review count for approvals. The automated labeling system will soon revert the label back to one approval.

I know :( I will accept my faith and fight wegank until this is finally merged

@nixos-discourse

Copy link
Copy Markdown

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/looking-for-a-reviewer-that-uses-hyprland/63673/1

@dtomvan dtomvan 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.

Tested with (in order to also include tray functionality, testing your other pr in the process)
$ gh pr checkout 379994
$ git fetch upstream pull/374302/merge:hyprpanel-tray
$ git merge hyprpanel-tray
$ git apply <<< EOF
diff --git i/pkgs/by-name/hy/hyprpanel/package.nix w/pkgs/by-name/hy/hyprpanel/package.nix
index f241e248895b..ab90afc12289 100644
--- i/pkgs/by-name/hy/hyprpanel/package.nix
+++ w/pkgs/by-name/hy/hyprpanel/package.nix
@@ -45,11 +45,6 @@ ags.bundle {
     hash = "sha256-yuIb6/gGcII+2YgtTLcYdga0pcL63B18xQ/oitOhg7k=";
   };

-  patches = [
-    # please merge https://github.com/NixOS/nixpkgs/pull/374302
-    ./remove-tray.patch
-  ];
-
   # keep in sync with https://github.com/Jas-SinghFSU/HyprPanel/blob/master/flake.nix#L28
   dependencies = [
     astal.apps
@@ -62,7 +57,7 @@ ags.bundle {
     astal.notifd
     astal.powerprofiles
     # https://github.com/NixOS/nixpkgs/pull/374302
-    # astal.tray
+    astal.tray
     astal.wireplumber

     bluez
EOF

Nixos 25.05, Nvidia GTX 1050 Ti, Hyprland 0.48.1, uwsm 0.21.3.

Works 👍, all functionality seems to be working including sidebar OSD and settings menu (only thing I can't test easily is battery tray but it seems to be at least picking up something from the acpi). Patch looks good, one nit.

Comment thread pkgs/by-name/hy/hyprpanel/package.nix Resolved
@PerchunPak PerchunPak changed the title hyprpanel: init at unstable-2025-02-06 hyprpanel: init at 0-unstable-2025-02-06 May 1, 2025
@PerchunPak PerchunPak added 12.approvals: 3+ This PR was reviewed and approved by three or more persons. and removed 12.approvals: 2 This PR was reviewed and approved by two persons. labels May 1, 2025
@geri1701

geri1701 commented Jun 5, 2025

Copy link
Copy Markdown
Member

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 379994
Commit: c1a11060a25da812b5b20b8caa61a1affa51b05e


x86_64-linux

✅ 1 package built:
  • hyprpanel

Comment thread pkgs/by-name/hy/hyprpanel/package.nix Resolved
Comment thread pkgs/by-name/hy/hyprpanel/package.nix Resolved
Comment thread pkgs/by-name/hy/hyprpanel/package.nix Resolved
@PerchunPak
PerchunPak force-pushed the hyprpanel branch 2 times, most recently from a51c111 to c818d7b Compare June 20, 2025 10:25
@PerchunPak PerchunPak changed the title hyprpanel: init at 0-unstable-2025-05-27 hyprpanel: init at 0-unstable-2025-06-20 Jun 20, 2025
@PerchunPak

This comment was marked as outdated.

@PerchunPak PerchunPak mentioned this pull request Jun 20, 2025
4 of 13 tasks
@PerchunPak
PerchunPak force-pushed the hyprpanel branch 2 times, most recently from 75d144b to 5693ada Compare June 20, 2025 19:44
@PerchunPak

Copy link
Copy Markdown
Member Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 379994
Commit: 5693adafc0e259a072e0d8936605d0accc97257e


x86_64-linux

✅ 1 package built:
  • hyprpanel

aarch64-linux

✅ 1 package built:
  • hyprpanel

@PerchunPak
PerchunPak requested a review from JohnRTitor June 22, 2025 11:44
Comment thread pkgs/by-name/hy/hyprpanel/package.nix Resolved
@JohnRTitor

Copy link
Copy Markdown
Member

Could you give me a TLDR of a beginner config with hyprpanel? I kinda want to replace Waybar.

I suppose this will need a nixos module as well (for the systemd service).

@PerchunPak

Copy link
Copy Markdown
Member Author

I suppose this will need a nixos module as well (for the systemd service).

I already have a home-manager module in my dotfiles. I will submit it to home-manager right after this PR is merged
https://github.com/PerchunPak/nixos-dotfiles/blob/d33ddb3325a6eb725d24d39042d8c8551530e548/modules/home/hyprpanel/default.nix

Could you give me a TLDR of a beginner config with hyprpanel? I kinda want to replace Waybar.

Sure!

  1. Copy-paste this module to your config
  2. Do programs.hyprpanel.enable = true
  3. Configure hyprpanel using GUI
  4. Translate .config/hyprpanel/config.json to nix
    https://github.com/PerchunPak/nixos-dotfiles/blob/d33ddb3325a6eb725d24d39042d8c8551530e548/modules/home/hyprpanel/settings.nix

@JohnRTitor
JohnRTitor merged commit 0b310d2 into NixOS:master Jun 22, 2025
@PerchunPak

Copy link
Copy Markdown
Member Author

🎉 thanks everyone

@nixpkgs-ci

nixpkgs-ci Bot commented Jun 24, 2025

Copy link
Copy Markdown
Contributor

Successfully created backport PR for release-25.05:

@github-actions github-actions Bot added the 8.has: port to stable This PR already has a backport to the stable release. label Jun 24, 2025
@PerchunPak PerchunPak mentioned this pull request Mar 31, 2026
3 of 13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: package (new) This PR adds a new package 8.has: port to stable This PR already has a backport to the stable release. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 12.approvals: 3+ This PR was reviewed and approved by three or more persons.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Packaging this into Nixpkgs Package request: hyprpanel