Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{ 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
You can’t perform that action at this time.