mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 02:25:58 +01:00
Nix: disable nixpkgs module in ours
This commit is contained in:
parent
aff4a1e237
commit
314f88de53
1 changed files with 8 additions and 3 deletions
|
@ -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,9 +51,11 @@ in {
|
||||||
|
|
||||||
xwayland.enable = mkEnableOption (mdDoc "support for XWayland") // {default = true;};
|
xwayland.enable = mkEnableOption (mdDoc "support for XWayland") // {default = true;};
|
||||||
|
|
||||||
enableNvidiaPatches = mkEnableOption null // {
|
enableNvidiaPatches =
|
||||||
description = mdDoc "Whether to apply patches to wlroots for better Nvidia support.";
|
mkEnableOption null
|
||||||
};
|
// {
|
||||||
|
description = mdDoc "Whether to apply patches to wlroots for better Nvidia support.";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|
Loading…
Reference in a new issue