#+TITLE: Nix Configuration #+AUTHOR: Mitch Tishmack #+STARTUP: hidestars #+STARTUP: odd #+BABEL: :cache yes #+PROPERTY: header-args :cache yes #+PROPERTY: header-args :padline no #+PROPERTY: header-args :mkdirp yes #+PROPERTY: header-args :comments no #+PROPERTY: header-args :replace yes Nix user config.nix setup. #+BEGIN_SRC conf :padline no :mkdirp yes :tangle (tangle/file ".nixpkgs/config.nix" (bound-and-true-p nix-p)) { packageOverrides = pkgs: with pkgs; let in rec { custom-pinentry = pinentry.override { gtk2 = null; qt4 = null; ncurses = null; }; custom-youtube-dl = python27Packages.youtube-dl.override { pandoc = null; }; default = buildEnv { name = "default"; ignoreCollisions = true; paths = [ ack aria aspell aspellDicts.en bazaarTools cacert clang clang-analyzer cloc cscope ctags curl custom-pinentry custom-youtube-dl diffutils docbook5 duply emacs entr gcc gdbm ghostscript gist gitAndTools.git-extras gitAndTools.gitFull gmp gnumake gnupg gnupg1compat gnutar gnutls graphviz-nox haskellPackages.ShellCheck haskellPackages.cabal-dependency-licenses haskellPackages.ghc-mod haskellPackages.hasktags haskellPackages.hindent haskellPackages.hspec haskellPackages.idris haskellPackages.pandoc htop imagemagick iperf jq keychain lastpass-cli less llvm mercurial moreutils mosh mr multimarkdown multitail munge mutt nox openssl p7zip patchutils pbzip2 pigz pixz pkgconfig pv python27Packages.flake8 python27Packages.howdoi python27Packages.pip python27Packages.pyflakes python27Packages.pylint python27Packages.virtualenv rlwrap rsync rtags silver-searcher sloccount sqlite sshpass stack texlive.combined.scheme-full tmux tree unzip upx wakelan watch wget xz zlib # If I ever come up with some linux only stuff or figure out xhyve # ] ++ stdenv.lib.optionals stdenv.isLinux [ # ] ++ stdenv.lib.optionals stdenv.isDarwin [ # xhyve ]; }; }; allowUnfree = true; } #+END_SRC