refactor(pkgs): Add wallpapers to top-level package set

This commit is contained in:
Vincent Ambo 2018-03-04 22:08:07 +01:00
parent 0937f19408
commit bcd317f23d
2 changed files with 9 additions and 5 deletions

View file

@ -8,8 +8,13 @@ let unstable = import <nixos-unstable> { config.allowUnfree = true; };
rust-overlay = import nixpkgs-mozilla/rust-overlay.nix;
in {
# Configure the Nix package manager
nixpkgs.config.allowUnfree = true;
nixpkgs.overlays = [ rust-overlay ];
nixpkgs = {
overlays = [ rust-overlay ];
config.allowUnfree = true;
config.packageOverrides = oldPkgs: oldPkgs // {
wallpapers = import ./pkgs/wallpapers.nix;
};
};
# ... and declare packages to be installed.
environment.systemPackages = with pkgs; [