all repos — nixfiles @ aac9eaf7652cb4b507d49b6ac392b3419fd0b52d

System and user configuration, managed by nix and home-manager

user/settings/nixpkgs.nix (view raw)

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;
    })
  ];
}