Nix: disable nixpkgs module in ours

This commit is contained in:
Mihai Fufezan 2023-08-14 11:03:01 +03:00
parent aff4a1e237
commit 314f88de53
No known key found for this signature in database
GPG key ID: 5899325F2F120900

View file

@ -13,6 +13,9 @@ with lib; let
}; };
}; };
in { in {
# disables Nixpkgs Hyprland module to avoid conflicts
disabledModules = ["programs/hyprland.nix"];
options.programs.hyprland = { options.programs.hyprland = {
enable = enable =
mkEnableOption null mkEnableOption null
@ -48,7 +51,9 @@ in {
xwayland.enable = mkEnableOption (mdDoc "support for XWayland") // {default = true;}; xwayland.enable = mkEnableOption (mdDoc "support for XWayland") // {default = true;};
enableNvidiaPatches = mkEnableOption null // { enableNvidiaPatches =
mkEnableOption null
// {
description = mdDoc "Whether to apply patches to wlroots for better Nvidia support."; description = mdDoc "Whether to apply patches to wlroots for better Nvidia support.";
}; };
}; };