ooknet/home/modules/desktop/wayland/windowManager/hyprland/settings/env.nix
ooks-io 82f539c989 refactor(hyprland): move nvidia option > wayland.nvidia/add hyprlands.extras
hyprland extras to serve as place to add hyprecosystem projects
2024-04-01 18:07:43 +13:00

16 lines
278 B
Nix

{ lib, config, ... }:
let
cfg = config.homeModules.desktop.wayland.windowManager.hyprland;
in
{
config = lib.mkIf cfg.enable {
wayland.windowManager.hyprland.settings.env = [
"XDG_SESSION_DESKTOP,hyprland"
"XDG_CURRENT_DESKTOP,hyprland"
];
};
}