@@ 1,4 1,9 @@
-{
+let
+ substituters = [
+ "https://cache.hydra.lab.liljamo.com"
+ "https://hyprland.cachix.org"
+ ];
+in {
flake.modules.nixos.nix = {...}: {
nix = {
gc = {
@@ 10,10 15,8 @@
auto-optimise-store = true;
experimental-features = ["nix-command" "flakes"];
trusted-users = ["@wheel"];
- trusted-substituters = [
- "https://cache.hydra.lab.liljamo.com"
- "https://hyprland.cachix.org"
- ];
+ substituters = substituters;
+ trusted-substituters = substituters;
trusted-public-keys = [
"hydracache:gJygjf4gFURF0LZhKosqLyFW4PG/EMgJSaAbaCnsOEA="
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="