nixpkgs/systems/hikari/cachix.nix
Daniel Siepmann 1aa49f0eff
Restructure web development for hikari
Nix is not needed, it is generated.
Try to find a better structure for web development setup.
The initial steps with httpd and php fpm work now.
2023-02-02 15:24:17 +01:00

14 lines
419 B
Nix

# WARN: this file will get overwritten by $ cachix use <name>
{ pkgs, lib, ... }:
let
folder = ./cachix;
toImport = name: value: folder + ("/" + name);
filterCaches = key: value: value == "regular" && lib.hasSuffix ".nix" key;
imports = lib.mapAttrsToList toImport (lib.filterAttrs filterCaches (builtins.readDir folder));
in {
inherit imports;
nix.settings.substituters = ["https://cache.nixos.org/"];
}