Files
nixos/packages/hyprpanel/default.nix
T
2025-05-14 15:22:08 -05:00

73 lines
1.8 KiB
Nix

{ inputs, ... }: {
imports = [ inputs.hyprpanel.homeManagerModules.hyprpanel ];
programs.hyprpanel = {
# Enable the module.
# Default: false
enable = true;
# Add '/nix/store/.../hyprpanel' to your
# Hyprland config 'exec-once'.
# Default: false
hyprland.enable = true;
# Fix the overwrite issue with HyprPanel.
# See below for more information.
# Default: false
overwrite.enable = false;
# Import a theme from './themes/*.json'.
# Default: ""
# theme = "gruvbox_split";
# Override the final config with an arbitrary set.
# Useful for overriding colors in your selected theme.
# Default: {}
override = {
theme.bar.menus.text = "#123ABC";
};
# Configure bar layouts for monitors.
# See 'https://hyprpanel.com/configuration/panel.html'.
# Default: null
# layout = {
# "bar.layouts" = {
# "0" = {
# left = [ "dashboard" "workspaces" ];
# middle = [ "media" ];
# right = [ "volume" "systray" "notifications" ];
# };
# };
# };
# Configure and theme almost all options from the GUI.
# Options that require '{}' or '[]' are not yet implemented,
# except for the layout above.
# See 'https://hyprpanel.com/configuration/settings.html'.
# Default: <same as gui>
# settings = {
# bar.launcher.autoDetectIcon = true;
# bar.workspaces.show_icons = true;
#
# menus.clock = {
# time = {
# military = true;
# hideSeconds = true;
# };
# weather.unit = "metric";
# };
#
# menus.dashboard.directories.enabled = false;
# menus.dashboard.stats.enable_gpu = true;
#
# theme.bar.transparent = true;
#
# theme.font = {
# name = "CaskaydiaCove NF";
# size = "16px";
# };
# };
};
}