Add pkgs.unstable for easy access to latest nixpkgs

This commit is contained in:
Henrik Lissner 2019-12-13 03:04:57 -05:00
parent 456ad867eb
commit cee6c5a655
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -17,8 +17,16 @@
autoOptimiseStore = true; autoOptimiseStore = true;
trustedUsers = [ "root" "@wheel" ]; trustedUsers = [ "root" "@wheel" ];
}; };
nixpkgs.config = {
# Forgive me Stallman senpai # Forgive me Stallman senpai
nixpkgs.config.allowUnfree = true; allowUnfree = true;
packageOverrides = pkgs: {
unstable = import <nixpkgs-unstable> {
config = config.nixpkgs.config;
};
};
};
# Nothing in /tmp should survive a reboot # Nothing in /tmp should survive a reboot
boot.cleanTmpDir = true; boot.cleanTmpDir = true;