diff options
Diffstat (limited to 'user/settings')
-rw-r--r-- | user/settings/nixpkgs.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/user/settings/nixpkgs.nix b/user/settings/nixpkgs.nix index 0463596b..89a40a79 100644 --- a/user/settings/nixpkgs.nix +++ b/user/settings/nixpkgs.nix @@ -2,7 +2,8 @@ let inherit (pkgs) stdenv; - unstablePkgs = if stdenv.isDarwin then import <nixpkgs-unstable> {} else import <nixos-unstable> {}; + stableConfig = config.nixpkgs.config; + unstablePkgs = if stdenv.isDarwin then import <nixpkgs-unstable> { config = stableConfig; } else import <nixos-unstable> {}; in { imports = [ |