1
Fork 0

Add the unstable channel.

This commit is contained in:
Bauke 2023-05-28 16:02:51 +02:00
parent 7b95e9c17b
commit da31be84da
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 11 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# The main configuration file.
{ pkgs, ... }:
{ config, pkgs, ... }:
{
imports = [
@ -16,7 +16,16 @@
};
nixpkgs = {
config.allowUnfree = true;
config = {
allowUnfree = true;
packageOverrides = pkgs: {
# Add the unstable channel as a separate package set.
unstable = import <nixos-unstable> {
# Pass config through so everything is shared between all channels.
config = config.nixpkgs.config;
};
};
};
};
# Before changing this value read the documentation for this option!