1
0
forked from extern/nix-config

nix-gaming: Use cachix

This avoids having to wait 40 minutes for wine to compile every time the
system is updated.
This commit is contained in:
Donovan Glover 2023-06-16 14:15:36 -04:00
parent a179de4afa
commit b105f87a13
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 6 additions and 4 deletions

View File

@ -38,10 +38,7 @@
inputs.nixpkgs.follows = "nixpkgs";
};
nix-gaming = {
url = "github:fufexan/nix-gaming";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-gaming.url = "github:fufexan/nix-gaming";
crystal-flake = {
url = "github:manveru/crystal-flake";

View File

@ -31,6 +31,11 @@ let VARIABLES = import ./variables.nix; in {
nix.settings.experimental-features = [ "nix-command" "flakes" "repl-flake" ];
nix.settings.auto-optimise-store = true;
nix.settings = {
substituters = ["https://nix-gaming.cachix.org"];
trusted-public-keys = ["nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="];
};
hardware.opengl.driSupport32Bit = true;
boot.loader = {