refactor: remove hyrpland overlay

This commit is contained in:
Moritz Böhme 2023-09-10 15:05:56 +02:00
parent d6d2897eb6
commit 749e2cf67d
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9
3 changed files with 3 additions and 2 deletions

View file

@ -9,7 +9,8 @@ with lib;
let
cfg = config.my.programs.hyprland;
hyprland = pkgs.hyprland.override { enableNvidiaPatches = cfg.nvidiaSupport; };
hyprland-nvidia = pkgs.hyprland.override { enableNvidiaPatches = true; };
hyprland = if cfg.nvidiaSupport then hyprland-nvidia else pkgs.hyprland;
in
{
options.my.programs.hyprland = {