Created
July 20, 2017 21:03
-
-
Save infinisil/7a5ca88557a86de4958d151c77d2ef7f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, pkgs, ... }: | |
# Custom packages | |
let | |
mozillaPkgsDir = (import <nixpkgs>{config={};}).fetchFromGitHub { | |
owner = "Infinisil"; | |
repo = "nixpkgs-mozilla"; | |
rev = "d13abfc71b2bbc6a6effda0b598c82b79c5e6512"; | |
sha256 = "0panppfq354qgdq1hf8dimdmmfz36s85nfn4c6ila75icrsd1mx8"; | |
fetchSubmodules = true; | |
}; | |
mozillaPkgs = import mozillaPkgsDir {}; | |
rustOverlay = import "${mozillaPkgsDir}/rust-overlay.nix"; | |
in | |
{ | |
nixpkgs.config.allowUnfree = true; | |
nixpkgs.overlays = [ rustOverlay ]; | |
environment.systemPackages = [ | |
mozillaPkgs.firefox-nightly-bin | |
]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment