From 7478298193af328d5d04a5cccf5a693357927ceb Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Tue, 11 Apr 2023 16:59:36 +0100 Subject: [PATCH] Add caching for hyprland --- nixos/cachix.nix | 5 +++++ nixos/common.nix | 1 + 2 files changed, 6 insertions(+) create mode 100644 nixos/cachix.nix diff --git a/nixos/cachix.nix b/nixos/cachix.nix new file mode 100644 index 00000000..a7b3c050 --- /dev/null +++ b/nixos/cachix.nix @@ -0,0 +1,5 @@ +{ ... }: +{ + nix.settings.substituters = [ "https://hyprland.cachix.org" ]; + nix.settings.trusted-public-keys = [ "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" ]; +} diff --git a/nixos/common.nix b/nixos/common.nix index 08eb20f4..7a15a9eb 100644 --- a/nixos/common.nix +++ b/nixos/common.nix @@ -7,6 +7,7 @@ in { imports = [ (import "${home-manager}/nixos") + ./cachix.nix ]; # Allow unfree packages