Skip to content

Commit

Permalink
➕ Add hyprpanel requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
turtton committed Feb 5, 2025
1 parent 2ba619c commit 2500a87
Show file tree
Hide file tree
Showing 5 changed files with 113 additions and 43 deletions.
141 changes: 99 additions & 42 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
hyprpanel = {
url = "github:Jas-SinghFSU/HyprPanel";
};
ags.url = "github:aylur/ags";
hyprpolkitagent.url = "github:hyprwm/hyprpolkitagent";
nix-index-database = {
url = "github:nix-community/nix-index-database";
Expand Down
6 changes: 5 additions & 1 deletion home-manager/wm/hyprland/hyprpanel.nix
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
{ pkgs, inputs, ... }: {
imports = [
inputs.hyprpanel.homeManagerModules.hyprpanel
inputs.ags.homeManagerModules.default
];
home.packages = with pkgs; [
power-profiles-daemon
jq
vulnix
pavucontrol
pulseaudio
brightnessctl
power-profiles-daemon
btop
];
programs.ags = {
enable = true;
};
programs.hyprpanel = {
enable = true;
overwrite.enable = true;
Expand Down
3 changes: 3 additions & 0 deletions os/core/shared/ld.nix
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@

gmp

# used by hyprpanel
libgtop

# libraries not on the upstream include list, but nevertheless expected
# by at least one appimage
libtool.lib # for Synfigstudio
Expand Down
5 changes: 5 additions & 0 deletions os/wm/hyprland.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,9 @@
login = enableKeyrings;
hyprlock = enableKeyrings;
};
# Used by hyprpanel
services = {
upower.enable = true;
power-profiles-daemon.enable = true;
};
}

0 comments on commit 2500a87

Please sign in to comment.