dotfiles/modules/common/programming/haskell.nix

15 lines
365 B
Nix
Raw Normal View History

2023-02-21 01:45:56 +00:00
{ config, lib, ... }: {
2022-07-04 23:17:58 +00:00
2022-12-21 21:18:03 +00:00
options.haskell.enable = lib.mkEnableOption "Haskell programming language.";
config = lib.mkIf config.haskell.enable {
# Binary Cache for Haskell.nix
nix.settings.trusted-public-keys =
[ "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=" ];
nix.settings.substituters = [ "https://cache.iog.io" ];
};
2022-07-04 23:17:58 +00:00
}