summary refs log tree commit diff stats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sys/desktop/hyprland/default.nix7
-rw-r--r--sys/nix/default.nix4
2 files changed, 9 insertions, 2 deletions
diff --git a/sys/desktop/hyprland/default.nix b/sys/desktop/hyprland/default.nix
index f7c3ab1..fbbf933 100644
--- a/sys/desktop/hyprland/default.nix
+++ b/sys/desktop/hyprland/default.nix
@@ -1,6 +1,11 @@
-{...}: {
+{
+  hyprland,
+  system,
+  ...
+}: {
   programs.hyprland = {
     enable = true;
+    package = hyprland.packages.${system}.hyprland;
     xwayland.enable = true;
   };
 }
diff --git a/sys/nix/default.nix b/sys/nix/default.nix
index 9014f5f..71dab10 100644
--- a/sys/nix/default.nix
+++ b/sys/nix/default.nix
@@ -29,11 +29,13 @@
     settings = {
       auto-optimise-store = true;
       experimental-features = ["nix-command" "flakes"];
-      trusted-substituters = [
+      substituters = [
         "https://cache.garnix.io"
+        "https://hyprland.cachix.org"
       ];
       trusted-public-keys = [
         "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
+        "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
       ];
     };
   };