mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-25 20:34:53 +00:00
15 lines
365 B
Nix
15 lines
365 B
Nix
{ config, lib, ... }: {
|
|
|
|
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" ];
|
|
|
|
};
|
|
|
|
}
|