Add pkgs.unstable for easy access to latest nixpkgs
This commit is contained in:
parent
456ad867eb
commit
cee6c5a655
10
default.nix
10
default.nix
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue