feat: added preliminary haskell options
This commit is contained in:
parent
17aea5af1a
commit
5439ea71cf
1 changed files with 29 additions and 0 deletions
29
modules/features/haskell.nix
Normal file
29
modules/features/haskell.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ self, inputs, ... }:
|
||||
|
||||
{
|
||||
|
||||
flake.nixosModules.haskell-env =
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
# for home manager functionality
|
||||
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
||||
|
||||
# for nix pkgs not in nixpkgs
|
||||
nix.settings = {
|
||||
|
||||
# verification key
|
||||
tristed-public-keys = [
|
||||
"hydra.iohk.io:fEa+s+dFfN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="
|
||||
];
|
||||
|
||||
# where to source pkgs
|
||||
substituters = [
|
||||
"https://cache.iog.io"
|
||||
];
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue