NiksOS/home/wayland/hyprland/default.nix
Jurn Wubben 664594c064 Neovim added leap plugin
Rewritten and moved portable module
Updated background
Disabled garnix substitutor
Small changes to greetd
2025-06-23 20:13:22 +02:00

32 lines
581 B
Nix

{
osConfig,
lib,
pkgs,
...
}: let
inherit (lib) getExe;
uwsm = getExe pkgs.uwsm;
hyprlock = getExe pkgs.hyprlock;
in {
imports = [
./binds.nix
./settings.nix
];
wayland.windowManager.hyprland = {
enable = osConfig.niksos.desktop.hyprland;
settings = {
env = [
"QT_WAYLAND_DISABLE_WINDOWDECORATION,1"
"NIXOS_OZONE_WL,1"
];
exec-once =
[
"${uwsm} finalize"
"${hyprlock}" # Lock screen
]
++ lib.optional osConfig.niksos.portable.enable "powermode sync";
};
};
}