initial commit

This commit is contained in:
2025-10-14 12:29:46 +02:00
parent 0439bb0ff7
commit 903704e4d7
99 changed files with 8495 additions and 0 deletions

46
homemanager/hyprpanel.nix Normal file
View File

@@ -0,0 +1,46 @@
{
lib,
config,
...
}:
{
options = {
modules.hyprpanel.enable = lib.mkEnableOption "hyprpanel";
modules.hyprpanel.avatar.image = lib.mkOption {
type = lib.types.path;
default = "";
description = "avatar image";
};
modules.hyprpanel.avatar.name = lib.mkOption {
type = lib.types.str;
default = "John Doe";
description = "Username to be displayed";
};
};
config = lib.mkIf config.modules.hyprpanel.enable {
programs.hyprpanel = {
enable = true;
settings = {
scalingPriority = true;
theme = {
bar.scaling = 80;
bar.menus.menu.notifications.scaling = 80;
bar.menus.menu.dashboard.scaling = 80;
bar.menus.menu.clock.scaling = 80;
};
menus.clock.weather.enabled = false;
menus.clock.weather.unit = "metric";
menus.clock.weather.location = "Linz";
menus.dashboard = {
powermenu.avatar.name = config.modules.hyprpanel.avatar.name;
powermenu.avatar.image = config.modules.hyprpanel.avatar.image;
shortcuts.enabled = false;
};
bar.launcher.icon = "";
terminal = "ghostty";
};
};
};
}