From 7ba6eafa7d98e0bffefeb2174f9833e487695227 Mon Sep 17 00:00:00 2001 From: Pedro Rey Anca <personal@peprolinbot.com> Date: Fri, 19 Jul 2024 18:26:52 +0200 Subject: [PATCH] Add caches for Hyprland and FjordLauncher --- modules/core/default.nix | 1 + modules/core/nix.nix | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 modules/core/nix.nix diff --git a/modules/core/default.nix b/modules/core/default.nix index 6a6a0fe..3f53b87 100644 --- a/modules/core/default.nix +++ b/modules/core/default.nix @@ -10,6 +10,7 @@ [(import ./bootloader.nix)] ++ [(import ./hardware.nix)] ++ [(import ./xserver.nix)] + ++ [(import ./nix.nix)] ++ [(import ./network.nix)] ++ [(import ./pipewire.nix)] ++ [(import ./programs.nix)] diff --git a/modules/core/nix.nix b/modules/core/nix.nix new file mode 100644 index 0000000..2c72a81 --- /dev/null +++ b/modules/core/nix.nix @@ -0,0 +1,13 @@ +{...}: { + nix.settings = { + trusted-substituters = [ + "https://cache.garnix.io" + "https://hyprland.cachix.org" + ]; + + trusted-public-keys = [ + "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=" + "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" + ]; + }; +}