From d524f7c0683ccb24de05baf40b20e8beb6779c29 Mon Sep 17 00:00:00 2001 From: Julia Lange Date: Sun, 14 Jul 2024 04:04:58 -0700 Subject: [PATCH] Hypr, fix cachix support --- .../services/graphics/wayland_compositors/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }; }