[NixOS] DFINITY specific configuration file

This commit is contained in:
Ivan Malison 2019-05-06 22:51:26 -07:00
parent 9c1c3d3f1d
commit b35a71bff9
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8
2 changed files with 11 additions and 0 deletions

10
nixos/dfinity.nix Normal file
View File

@ -0,0 +1,10 @@
{
nix = {
trustedBinaryCaches = [ https://nix.oregon.dfinity.build ];
binaryCachePublicKeys = [ "hydra.oregon.dfinity.build-2:KMTixHrh9DpAjF/0xU/49VEtNuGzQ71YaVIUSOLUaCM=" ];
};
networking.extraResolvconfConf = ''
name_servers="10.20.13.192"
'';
}

View File

@ -7,6 +7,7 @@
imports =
[ <nixpkgs/nixos/modules/installer/scan/not-detected.nix>
../configuration.nix
../dfinity.nix
];
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "usbhid" "sd_mod" ];