summary refs log tree commit diff stats
path: root/user/settings/nixpkgs.nix
blob: 89a40a79e05dded18a8ed418962570f942ead60d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ config, pkgs, ... }:

let
  inherit (pkgs) stdenv;
  stableConfig = config.nixpkgs.config;
  unstablePkgs = if stdenv.isDarwin then import <nixpkgs-unstable> { config = stableConfig; } else import <nixos-unstable> {};
in
{
  imports = [
    ./nix.nix
  ];
  nixpkgs.overlays = [
    (self: super: {
      firefox-bin-unwrapped = super.firefox-bin-unwrapped.override { systemLocale = "en-GB"; };
      firefox-devedition-bin-unwrapped = super.firefox-devedition-bin-unwrapped.override { systemLocale = "en-GB"; };
      unstable = unstablePkgs;
    })
  ];
}