dotfiles/home/modules/hypr/land/default.nix

31 lines
960 B
Nix
Raw Normal View History

2025-01-09 02:09:02 -06:00
{
pkgs,
flake,
...
}: let
2025-01-08 01:05:45 -06:00
configPath = ./config;
configImports = {
2025-01-09 02:09:02 -06:00
animations = import (configPath + /animations.nix);
2025-01-08 01:05:45 -06:00
bind = import (configPath + /bind.nix);
bindm = import (configPath + /bindm.nix);
binds = import (configPath + /binds.nix);
2025-01-09 02:09:02 -06:00
bindl = import (configPath + /bindl.nix);
2025-01-08 01:05:45 -06:00
decoration = import (configPath + /decoration.nix);
dwindle = import (configPath + /dwindle.nix);
exec-once = import (configPath + /exec-once.nix);
general = import (configPath + /general.nix);
input = import (configPath + /input.nix);
misc = import (configPath + /misc.nix);
windowrule = import (configPath + /windowrule.nix);
windowrulev2 = import (configPath + /windowrulev2.nix);
};
in {
wayland.windowManager.hyprland = {
enable = true;
2025-01-09 02:09:02 -06:00
package = flake.inputs.hyprland.packages.${pkgs.system}.hyprland;
2025-01-08 01:05:45 -06:00
xwayland.enable = true;
systemd.enable = false;
settings = configImports;
};
}