Created
January 29, 2017 23:49
-
-
Save ixmatus/76a4ab51db3fabab6f2240326dc85121 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, ... }: | |
# NB: I used `sudo NIXPKGS_ALLOW_UNFREE=1 nixos-rebuild switch` | |
# because Nix isnt' seeing the `allowUnfree` attribute that is already | |
# set when building Crashplan. | |
let | |
unstable-pkgs = import (pkgs.fetchFromGitHub { | |
owner = "NixOS"; | |
repo = "nixpkgs"; | |
rev = "373e40736a19437d0bc93ccd67dbf01b44c2cea6"; | |
sha256 = "0kdbxhf58gipj07xhj37gg5lfl09d578xbwy173gc0znv189vxwg"; | |
}) {}; | |
in | |
{ nixpkgs.config = rec { | |
allowUnfree = true; | |
chromium = { | |
enablePepperFlash = true; # Chromium's non-NSAPI alternative to Adobe Flash | |
enablePepperPDF = true; | |
}; | |
packageOverrides = pkgs: rec { | |
z = pkgs.callPackage ./shells/z { }; | |
#crashplan = unstable-pkgs.crashplan; | |
crashplan = pkgs.callPackage ./applications/backup/crashplan { }; | |
zsh-autosuggestions = unstable-pkgs.zsh-autosuggestions; | |
haskellPackages = pkgs.haskellPackages.override { | |
overrides = haskellPackagesNew: haskellPackagesOld: { | |
"stylish-haskell" = haskellPackagesNew.callPackage ./development/haskell-modules/stylish-haskell.nix { }; | |
}; | |
}; | |
}; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment