Created
February 16, 2018 08:11
-
-
Save dmvianna/6245c4ec0bf7f303a79b550e130b8e2a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# run with | |
# $ nix-env -iA userPackages -f '<nixpkgs>' | |
# to install packages functionally | |
with (import <nixpkgs> {}); | |
{ | |
packageOverrides = pkgs: with pkgs; { | |
userPackages = buildEnv { | |
inherit ((import <nixpkgs/nixos> {}).config.system.path) | |
pathsToLink ignoreCollisions postBuild; | |
extraOutputsToInstall = [ "man" ]; | |
name = "user-packages"; | |
paths = [ | |
chromium | |
firefox | |
mg | |
psmisc | |
stack | |
wpa_supplicant_gui | |
xorg.xmessage | |
xorg.xmodmap | |
]; | |
}; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment