aboutsummaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorsils <sils@sils.li>2024-02-02 18:47:09 +0100
committersils <sils@sils.li>2024-02-02 18:47:09 +0100
commitcd204e1fa56d7fbf4a2042dc1c1aeabd7e1a3fd0 (patch)
treebc094c219a81635e1555c866dccb6407b5ec895a /sys
parentflake.lock: update (diff)
downloadnix-config-cd204e1fa56d7fbf4a2042dc1c1aeabd7e1a3fd0.zip
use development version of hyprland
Diffstat (limited to 'sys')
-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="
];
};
};