[NixOS] DFINITY specific configuration file
This commit is contained in:
parent
9c1c3d3f1d
commit
b35a71bff9
10
nixos/dfinity.nix
Normal file
10
nixos/dfinity.nix
Normal 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"
|
||||
'';
|
||||
}
|
@ -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" ];
|
||||
|
Loading…
Reference in New Issue
Block a user