From 9ef72dd9026221288743873ad69e4655b3228653 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Mon, 17 Apr 2023 22:37:43 -0300 Subject: [PATCH] hyprland: fix hyprland always being built --- flake.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index f2484aa..4718e85 100644 --- a/flake.nix +++ b/flake.nix @@ -87,10 +87,7 @@ # nur.nixosModules.nur inputs.agenix.nixosModules.default inputs.hyprland.nixosModules.default - { - programs.hyprland.enable = true; - # programs.hyprland.package = null; - } + { programs.hyprland.enable = (desktop == "hyprland"); } home-manager.nixosModules.home-manager { home-manager.useGlobalPkgs = true;