infra/configuration/steveej-laptop/pkg.nix

139 lines
2.7 KiB
Nix
Raw Normal View History

{ config,
pkgs,
... }:
2015-10-23 01:26:53 +02:00
let
gitpkgs = import <gitpkgs> {};
in
{
2015-10-23 01:26:53 +02:00
nixpkgs.config = {
allowBroken = false;
packageOverrides = pkgs: rec {
2016-06-28 11:39:21 -07:00
go = gitpkgs.go1_6;
2015-10-23 01:26:53 +02:00
bluez = pkgs.bluez5;
2016-07-08 15:01:42 -07:00
myLinuxPackages = pkgs.recurseIntoAttrs (pkgs.linuxPackagesFor
(pkgs.linux_latest.override {
kernelPatches = pkgs.linux_latest.kernelPatches ++ [
{
name = "bfq1";
patch = pkgs.fetchurl {
url = "ftp://teambelgium.net/bfq/patches/4.5.0-v7r11/0001-block-cgroups-kconfig-build-bits-for-BFQ-v7r11-4.5.0.patch";
sha256 = "1j6h831kj32c9slzm4vhjvd8m17gbwh713kcpc54z9i02fwyq6ax";
};
}
{
name = "bfq2";
patch = pkgs.fetchurl {
url = "ftp://teambelgium.net/bfq/patches/4.5.0-v7r11/0002-block-introduce-the-BFQ-v7r11-I-O-sched-for-4.5.0.patch";
sha256 = "1q8nf7fcp72s2xz2pfl22sv4w5fm4hzgciljrkd3g7gj5xvi27lw";
};
}
{
name = "bfq3";
patch = pkgs.fetchurl {
url = "ftp://teambelgium.net/bfq/patches/4.5.0-v7r11/0003-block-bfq-add-Early-Queue-Merge-EQM-to-BFQ-v7r11-for.patch";
sha256 = "1q2j7g3cfwi52psxgwa06hadl6c2fh87ckm07pyaj35n6524gjg0";
};
}
];
extraConfig = ''
BFQ_GROUP_IOSCHED y
IOSCHED_BFQ y
DEFAULT_BFQ y
'';
})
pkgs.linuxPackages_latest
);
2015-10-23 01:26:53 +02:00
};
allowUnfree = true;
chromium = {
enablePepperFlash = true;
enablePepperPDF = true;
};
firefox = {
enableGoogleTalkPlugin = true;
enableAdobeFlash = false;
};
pidgin = {
openssl = true;
gnutls = true;
};
2016-05-23 00:38:51 +02:00
keepass = pkgs.keepass.override {
plugins = [ pkgs.keepass-keefox ];
};
2015-10-23 01:26:53 +02:00
# TODO: implement support for this
# libvirt = {
# xenSupport = false;
# };
};
imports =
[
../common/pkg/default.nix
../common/pkg/neovim.nix
2015-10-23 01:26:53 +02:00
];
environment.systemPackages = with pkgs; [
androidsdk_4_4
nixops
2016-07-08 15:07:42 -07:00
nox
2016-07-08 15:05:02 -07:00
ansible
2015-10-23 01:26:53 +02:00
gnupg
picocom
xfce.terminal
xorg.xbacklight
coreutils
lsof
xscreensaver
firefox-wrapper
chromium
2016-05-23 00:39:12 +02:00
seafile-client
2015-10-23 01:26:53 +02:00
qpdfview
thunderbird
pidgin
hexchat
2016-05-23 00:39:12 +02:00
keepass
2015-10-23 01:26:53 +02:00
skype
teamviewer
x11_ssh_askpass
gnome3.dconf # needed by virtmanager
2016-05-23 00:39:12 +02:00
virtmanager
qemu
vagrant
2015-10-23 01:26:53 +02:00
vlc
audacity
pavucontrol
2016-07-08 15:05:02 -07:00
2015-10-23 01:26:53 +02:00
gimp
inkscape
pdftk
imagemagick
2015-10-23 01:26:53 +02:00
iptables
nftables
iperf
2016-06-28 11:40:59 -07:00
#pandoc
2015-10-23 01:26:53 +02:00
pythonFull
] ++ [
gitpkgs.rkt
2016-05-23 00:39:12 +02:00
gitpkgs.flannel
2016-06-28 11:39:21 -07:00
gitpkgs.remmina
gitpkgs.spotify
2015-10-23 01:26:53 +02:00
];
}