Skip to content

Instantly share code, notes, and snippets.

/packages.nix Secret

Created June 15, 2017 06:03
Show Gist options
  • Save anonymous/de2f1071f3b3a358382262fcad9b8998 to your computer and use it in GitHub Desktop.
Save anonymous/de2f1071f3b3a358382262fcad9b8998 to your computer and use it in GitHub Desktop.
{ config, pkgs, ... }:
# Custom packages
let
powerlevel9k = pkgs.callPackage ./powerlevel9k.nix {};
in
{
# Unfortunately I still need some unfree software.
nixpkgs.config.allowUnfree = true;
# List packages installed in system profile. To search by name, run:
# $ nix-env -qaP | grep wget
environment.systemPackages = with pkgs; [
# Desktop Apps
firefox
krita
gimp
steam
patchage
ardour
# Development
git
gdb
valgrind
go
ghc # Haskell compiler
python36Full
cargo
rustc
rustNightly.cargo
rustNightly.rustc
# Utilities
gptfdisk
pciutils
usbutils
atop
linuxPackages.netatop # Adds networking to `atop`
xorg.xbacklight
(import ./powerlevel9k.nix)
];
services.emacs.enable = true;
services.urxvtd.enable = true;
programs.tmux.enable = true;
programs.zsh = {
enable = true;
ohMyZsh = {
enable = true;
plugins = [
"common-aliases"
"compleat"
"git"
"git-extras"
"sudo"
"systemd"
"tmux"
"vi-mode"
"wd"
];
theme = "${powerlevel9k}/foo";
};
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment