Nix: revert HM module import fix

fixes #619
This commit is contained in:
Mihai Fufezan 2022-09-03 23:15:58 +03:00
parent c425e620af
commit 1664f81cae
No known key found for this signature in database
GPG key ID: 5899325F2F120900

View file

@ -10,14 +10,6 @@ self: {
hidpiXWayland = cfg.xwayland.hidpi; hidpiXWayland = cfg.xwayland.hidpi;
}; };
in { in {
imports = [
(
lib.mkRenamedOptionModule
["wayland" "windowManager" "hyprland" "xwayland"]
["wayland" "windowManager" "hyprland" "xwayland" "enable"]
)
];
options.wayland.windowManager.hyprland = { options.wayland.windowManager.hyprland = {
enable = lib.mkEnableOption "hyprland wayland compositor"; enable = lib.mkEnableOption "hyprland wayland compositor";
package = lib.mkOption { package = lib.mkOption {
@ -74,6 +66,14 @@ in {
Extra configuration lines to add to ~/.config/hypr/hyprland.conf. Extra configuration lines to add to ~/.config/hypr/hyprland.conf.
''; '';
}; };
imports = [
(
lib.mkRenamedOptionModule
["wayland" "windowManager" "hyprland" "xwayland"]
["wayland" "windowManager" "hyprland" "xwayland" "enable"]
)
];
}; };
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {