Flake upgrade

This commit is contained in:
marc
2026-05-09 19:26:48 +02:00
parent 2822b3413c
commit 2d57da56b2
9 changed files with 99 additions and 531 deletions

View File

@@ -10,6 +10,7 @@ in {
mod = my.mkOpt' types.str "Mod4" "Main modifier key for hyprland";
kb_layout = my.mkOpt' types.str "es" "Keyboard layout(s) for hyprland";
extraKeybindings = my.mkOpt (types.listOf types.str) [ ];
extraGestures = my.mkOpt (types.listOf types.str) [ ];
};
config = lib.mkIf cfg.enable {
@@ -24,13 +25,14 @@ in {
hm.wayland.windowManager.hyprland = {
enable = true;
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
# package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
xwayland.enable = true;
systemd.enable = true;
plugins = [
inputs.hy3.packages.${pkgs.stdenv.hostPlatform.system}.hy3
# inputs.hy3.packages.${pkgs.stdenv.hostPlatform.system}.hy3
pkgs.hyprlandPlugins.hy3
];
settings = {
@@ -57,10 +59,9 @@ in {
rounding = 10;
};
gestures = {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
workspace_swipe = true;
};
gesture = [
"3, horizontal, workspace"
] ++ cfg.extraGestures;
bind = [