-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
overlay.enable
doesn't seem to work
#677
Comments
can you be any more descriptive. What error are you getting and what's your full config? |
same issue, added hyprpanel.url to flake and import # *.nix
{ inputs, ... }:
{
imports = [ inputs.hyprpanel.homeManagerModules.hyprpanel ];
programs.hyprpanel = {
# Enable the module.
# Default: false
enable = true;
overlay.enable = true;
# Automatically restart HyprPanel with systemd.
# Useful when updating your config so that you
# don't need to manually restart it.
# Default: false
systemd.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 = true;
# 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";
};
};
};
} to home manager configuration |
Works after adding {nixpkgs.overlays = [inputs.hyprpanel.overlay];} to nixosConfigurtion (i use home manager as a module) |
@qweered Whether you use Home Manager's NixOS module doesn't actually matter unless if you have Can you guys make sure you're actually using the updated HM module? Like, do a (edit: and a |
I have useGlobalPkgs enabled, flake is surely updated |
Then yeah, you have to do it manually lol |
Hello, I am having similar problem. Here is my flake.nix and here is the hyprpanel.nix. I am getting this error:
I have triple checked and I define overlays in no other place but in flake.nix, I don't use global nixpkgs either. When using the whole example hyprpanel configuration file from tutorial here, it works flawlessly. I'm not sure what precisely caused it. |
@benvonh yes, you're right. Using the problematic commit and changing only the url you provided, it switches correctly. Thanks for quick response. |
closed with #707 |
@benvonh
I added
overlay.enable
to my config but I still receive an error and need to set it manuallyThe text was updated successfully, but these errors were encountered: