diff --git a/nixosModules/services/graphics/wayland_compositors/default.nix b/nixosModules/services/graphics/wayland_compositors/default.nix index cb22931..977ebb2 100644 --- a/nixosModules/services/graphics/wayland_compositors/default.nix +++ b/nixosModules/services/graphics/wayland_compositors/default.nix @@ -10,12 +10,12 @@ inputs.hyprland.nixosModules.default ]; - config = lib.mkIf config.hyprland.enable { - programs.hyprland.enable = true; + config = { nix.settings = { substituters = [ "https://hyprland.cachix.org" ]; trusted-public-keys = [ "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" ]; experimental-features = [ "nix-command" "flakes" ]; }; + programs.hyprland.enable = lib.mkIf config.hyprland.enable true; }; }