Add pkgs.unstable for easy access to latest nixpkgs
This commit is contained in:
parent
456ad867eb
commit
cee6c5a655
12
default.nix
12
default.nix
|
@ -17,8 +17,16 @@
|
||||||
autoOptimiseStore = true;
|
autoOptimiseStore = true;
|
||||||
trustedUsers = [ "root" "@wheel" ];
|
trustedUsers = [ "root" "@wheel" ];
|
||||||
};
|
};
|
||||||
# Forgive me Stallman senpai
|
nixpkgs.config = {
|
||||||
nixpkgs.config.allowUnfree = true;
|
# Forgive me Stallman senpai
|
||||||
|
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