nixos

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

default.nix (612B)


      1 {pkgs, ...}: {
      2 	nixpkgs.config.allowUnfree = true;
      3 	nix.package = pkgs.lixPackageSets.latest.lix;
      4 	nix.settings = {
      5 		auto-optimise-store = true;
      6 		experimental-features = [
      7 			"nix-command"
      8 			"flakes"
      9 		];
     10 		substituters = [
     11 			"https://mirrors.tuna.tsinghua.edu.cn/nix-channels/store?priority=30"
     12 			"https://mirrors.ustc.edu.cn/nix-channels/store?priority=30"
     13 			"https://cache.nixos-cuda.org"
     14 			"https://cache.numtide.com"
     15 		];
     16 		trusted-public-keys = [
     17 			"cache.nixos-cuda.org:74DUi4Ye579gUqzH4ziL9IyiJBlDpMRn9MBN8oNan9M="
     18 			"niks3.numtide.com-1:DTx8wZduET09hRmMtKdQDxNNthLQETkc/yaX7M4qK0g="
     19 		];
     20 	};
     21 }