From 6bf787fc46c8d3fd34a196195d4e70562cb81d65 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Tue, 9 Jul 2024 23:40:10 -0400 Subject: [PATCH] home/hyprland: reformat --- homeManagerModules/desktop/hyprland/default.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/homeManagerModules/desktop/hyprland/default.nix b/homeManagerModules/desktop/hyprland/default.nix index d3ced3e9..d108fda3 100644 --- a/homeManagerModules/desktop/hyprland/default.nix +++ b/homeManagerModules/desktop/hyprland/default.nix @@ -4,14 +4,14 @@ pkgs, self, ... -}: { - config = let - cfg = config.ar.home; - in - lib.mkIf cfg.desktop.hyprland.enable { - wayland.windowManager.hyprland.enable = true; +}: let + cfg = config.ar.home; +in { + config = lib.mkIf cfg.desktop.hyprland.enable { + wayland.windowManager = { + hyprland.enable = true; - wayland.windowManager.hyprland.extraConfig = let + hyprland.extraConfig = let inherit (import ./vars.nix) defaultWorkspaces @@ -417,4 +417,5 @@ submap=reset ''; }; + }; }