From 1664f81cae6bd0e159de835f09d4f0d7105fe07e Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Sat, 3 Sep 2022 23:15:58 +0300 Subject: [PATCH] Nix: revert HM module import fix fixes #619 --- nix/hm-module.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/nix/hm-module.nix b/nix/hm-module.nix index d34d604f..0f4e8a3b 100644 --- a/nix/hm-module.nix +++ b/nix/hm-module.nix @@ -10,14 +10,6 @@ self: { hidpiXWayland = cfg.xwayland.hidpi; }; in { - imports = [ - ( - lib.mkRenamedOptionModule - ["wayland" "windowManager" "hyprland" "xwayland"] - ["wayland" "windowManager" "hyprland" "xwayland" "enable"] - ) - ]; - options.wayland.windowManager.hyprland = { enable = lib.mkEnableOption "hyprland wayland compositor"; package = lib.mkOption { @@ -74,6 +66,14 @@ in { 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 {