thrall: Extract haskell.nix config
- iohk public key and cache
This commit is contained in:
parent
fbb85bc1da
commit
10843c1efc
2 changed files with 10 additions and 6 deletions
|
|
@ -11,14 +11,9 @@ in {
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../../modules/upgrade-pg-cluster.nix
|
../../modules/upgrade-pg-cluster.nix
|
||||||
../../modules/nix-config.nix
|
../../modules/nix-config.nix
|
||||||
|
../../modules/iohk.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Binary Cache for Haskell.nix
|
|
||||||
nix.settings.trusted-public-keys =
|
|
||||||
[ "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=" ];
|
|
||||||
|
|
||||||
#nix.binaryCaches = [ "https://hydra.iohk.io" ];
|
|
||||||
|
|
||||||
# Use the GRUB 2 boot loader.
|
# Use the GRUB 2 boot loader.
|
||||||
boot.loader.grub.enable = true;
|
boot.loader.grub.enable = true;
|
||||||
# boot.loader.grub.efiSupport = true;
|
# boot.loader.grub.efiSupport = true;
|
||||||
|
|
|
||||||
9
modules/iohk.nix
Normal file
9
modules/iohk.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
# 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 = lib.mkAfter [ "https://hydra.iohk.io" ];
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue