2017-10-16 22:53:49 +02:00
|
|
|
# This file contains configuration for packages to install.
|
|
|
|
# It does not contain configuration for software that is already covered
|
|
|
|
# by other NixOS options (e.g. emacs)
|
|
|
|
|
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
2018-04-22 13:17:30 +02:00
|
|
|
let
|
2018-04-22 13:37:50 +02:00
|
|
|
fetchChannel = { rev, sha256 }: import (fetchTarball {
|
|
|
|
inherit sha256;
|
|
|
|
url = "https://github.com/NixOS/nixpkgs-channels/archive/${rev}.tar.gz";
|
|
|
|
}) { config.allowUnfree = true; };
|
|
|
|
|
2018-07-30 10:04:26 +02:00
|
|
|
# Channels last updated: 2018-07-29
|
2018-04-22 13:17:30 +02:00
|
|
|
|
2018-04-22 13:38:17 +02:00
|
|
|
# Instead of relying on Nix channels and ending up with out-of-sync
|
|
|
|
# situations between machines, the commit for the stable Nix channel
|
|
|
|
# is pinned here.
|
|
|
|
stable = fetchChannel {
|
2018-07-30 10:04:26 +02:00
|
|
|
rev = "d6c6c7fcec6dbd2b8ab14f0b35d56c7733872baa";
|
|
|
|
sha256 = "1bq59575b58lmh5w8bh7pwp17c3p2nm651bz1i3q224c4zsj9294";
|
2018-04-22 13:38:17 +02:00
|
|
|
};
|
2018-04-22 13:17:30 +02:00
|
|
|
|
2018-05-27 20:11:11 +02:00
|
|
|
# Certain packages from unstable are hand-picked into the package
|
|
|
|
# set.
|
2018-04-22 13:37:50 +02:00
|
|
|
unstable = fetchChannel {
|
2018-07-30 10:04:26 +02:00
|
|
|
rev = "dae9cf6106da19f79a39714f183ed253c62b32c5";
|
|
|
|
sha256 = "0r3c00m96ldb9z81ay7vj8gnpk4bf8gjcdiad7mgxvwxr9ndskjx";
|
2018-04-22 13:37:50 +02:00
|
|
|
};
|
2017-10-16 22:53:49 +02:00
|
|
|
in {
|
|
|
|
# Configure the Nix package manager
|
2018-03-04 22:08:07 +01:00
|
|
|
nixpkgs = {
|
|
|
|
config.allowUnfree = true;
|
2018-04-22 13:38:17 +02:00
|
|
|
# To use the pinned channel, the original package set is thrown
|
|
|
|
# away in the overrides:
|
|
|
|
config.packageOverrides = oldPkgs: stable // {
|
2018-06-15 13:56:47 +02:00
|
|
|
# Store whole unstable channel in case that other modules need
|
|
|
|
# it (see emacs.nix for example):
|
|
|
|
inherit unstable;
|
|
|
|
|
2018-03-04 22:08:07 +01:00
|
|
|
wallpapers = import ./pkgs/wallpapers.nix;
|
2018-04-22 13:17:30 +02:00
|
|
|
pulseaudio-ctl = import pkgs/pulseaudio-ctl.nix;
|
|
|
|
|
|
|
|
kontemplate = unstable.kontemplate;
|
|
|
|
mq-cli = unstable.mq-cli;
|
2018-06-16 11:48:18 +02:00
|
|
|
vlc = unstable.vlc; # VLC 3.0!
|
2018-03-04 22:08:07 +01:00
|
|
|
};
|
|
|
|
};
|
2017-10-16 22:53:49 +02:00
|
|
|
|
|
|
|
# ... and declare packages to be installed.
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
# Default nixos.* packages:
|
|
|
|
alacritty
|
2018-04-24 23:58:03 +02:00
|
|
|
binutils-unwrapped
|
2018-05-27 20:11:11 +02:00
|
|
|
cargo
|
2017-10-16 22:53:49 +02:00
|
|
|
curl
|
|
|
|
direnv
|
2017-10-25 17:20:24 +02:00
|
|
|
dnsutils
|
2018-05-05 12:28:40 +02:00
|
|
|
evince
|
2017-10-16 22:53:49 +02:00
|
|
|
exa
|
|
|
|
fd
|
2018-05-05 12:28:40 +02:00
|
|
|
file
|
|
|
|
firefox-unwrapped
|
2017-10-16 22:53:49 +02:00
|
|
|
fish
|
|
|
|
gcc
|
|
|
|
git
|
|
|
|
gnumake
|
|
|
|
gnupg
|
2017-10-17 01:18:18 +02:00
|
|
|
google-cloud-sdk
|
2018-04-04 17:10:12 +02:00
|
|
|
gopass
|
2017-10-16 22:53:49 +02:00
|
|
|
htop
|
2018-07-14 16:18:13 +02:00
|
|
|
hicolor-icon-theme
|
2017-10-16 22:53:49 +02:00
|
|
|
i3lock
|
2017-10-20 20:23:08 +02:00
|
|
|
iftop
|
2018-05-27 20:11:11 +02:00
|
|
|
# Upstream link is down:
|
|
|
|
# jetbrains.idea-ultimate
|
2018-08-05 16:06:14 +02:00
|
|
|
extremetuxracer
|
2017-10-19 01:48:27 +02:00
|
|
|
jq
|
2018-04-22 13:17:30 +02:00
|
|
|
kontemplate
|
2018-04-24 23:58:03 +02:00
|
|
|
kubernetes
|
2017-11-24 09:28:05 +01:00
|
|
|
lispPackages.quicklisp
|
2017-10-16 22:53:49 +02:00
|
|
|
lxappearance-gtk3
|
|
|
|
manpages
|
2017-10-18 15:16:28 +02:00
|
|
|
maven
|
2018-04-22 13:17:30 +02:00
|
|
|
mq-cli
|
2018-08-05 16:06:14 +02:00
|
|
|
msmtp
|
2018-05-05 12:28:40 +02:00
|
|
|
ngrok
|
2018-06-06 10:32:15 +02:00
|
|
|
notmuch
|
2018-04-24 23:58:03 +02:00
|
|
|
numix-cursor-theme
|
2017-10-16 22:53:49 +02:00
|
|
|
numix-gtk-theme
|
|
|
|
numix-icon-theme
|
2018-06-06 20:42:07 +02:00
|
|
|
offlineimap
|
2017-10-16 22:53:49 +02:00
|
|
|
openjdk
|
2017-10-18 15:33:08 +02:00
|
|
|
openssl
|
2017-11-06 22:14:26 +01:00
|
|
|
openssl.dev
|
2017-10-16 22:53:49 +02:00
|
|
|
pass
|
|
|
|
pavucontrol
|
2017-10-31 00:45:57 +01:00
|
|
|
pkgconfig
|
2018-04-24 23:58:03 +02:00
|
|
|
pulseaudio-ctl
|
2018-05-05 12:28:40 +02:00
|
|
|
pwgen
|
2017-10-16 22:53:49 +02:00
|
|
|
ripgrep
|
2018-05-07 14:23:54 +02:00
|
|
|
rustup
|
2017-11-24 09:28:05 +01:00
|
|
|
sbcl
|
2018-05-05 12:28:40 +02:00
|
|
|
screen
|
|
|
|
siege
|
2017-10-16 22:53:49 +02:00
|
|
|
spotify
|
|
|
|
stdmanpages
|
2018-05-27 19:12:24 +02:00
|
|
|
systemd.dev
|
2017-10-16 22:53:49 +02:00
|
|
|
tdesktop
|
2018-05-27 20:13:03 +02:00
|
|
|
terraform
|
2017-10-16 22:53:49 +02:00
|
|
|
tig
|
|
|
|
tmux
|
2018-05-05 12:28:40 +02:00
|
|
|
tokei
|
|
|
|
transmission
|
2017-10-16 22:53:49 +02:00
|
|
|
tree
|
2018-05-05 12:28:40 +02:00
|
|
|
units
|
2017-10-16 22:53:49 +02:00
|
|
|
unzip
|
2018-05-05 12:28:40 +02:00
|
|
|
vlc
|
2017-10-16 22:53:49 +02:00
|
|
|
xclip
|
|
|
|
xfce.xfce4-screenshooter
|
|
|
|
|
2018-03-04 19:32:19 +01:00
|
|
|
# Haskell packages:
|
|
|
|
cabal-install
|
|
|
|
ghc
|
|
|
|
hlint
|
|
|
|
stack
|
|
|
|
stack2nix
|
|
|
|
haskellPackages.stylish-haskell
|
2018-07-02 20:35:23 +02:00
|
|
|
haskellPackages.yesod-bin
|
2017-10-16 22:53:49 +02:00
|
|
|
];
|
|
|
|
}
|