mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 17:39:37 +08:00
hyprland: emphasize usage of the NixOS module
This commit is contained in:
@@ -40,7 +40,21 @@ in {
|
||||
];
|
||||
|
||||
options.wayland.windowManager.hyprland = {
|
||||
enable = lib.mkEnableOption "Hyprland wayland compositor";
|
||||
enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = ''
|
||||
Whether to enable configuration for Hyprland, a tiling Wayland
|
||||
compositor that doesn't sacrifice on its looks.
|
||||
|
||||
::: {.note}
|
||||
This module configures Hyprland and adds it to your user's {env}`PATH`,
|
||||
but does not make certain system-level changes. NixOS users should
|
||||
enable the NixOS module with {option}`programs.hyprland.enable`, which
|
||||
makes system-level changes such as adding a desktop session entry.
|
||||
:::
|
||||
'';
|
||||
};
|
||||
|
||||
package = lib.mkPackageOption pkgs "hyprland" { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user