Skip to content

Instantly share code, notes, and snippets.

@kolaente
Created December 21, 2020 20:29
Show Gist options
  • Save kolaente/aa6afb57a44d36b623b8d9fe5969a61b to your computer and use it in GitHub Desktop.
Save kolaente/aa6afb57a44d36b623b8d9fe5969a61b to your computer and use it in GitHub Desktop.
Nixpackages from master and unstable
{ config, pkgs, ... }:
let
master = import (builtins.fetchGit https://github.com/nixos/nixpkgs) {
config = config.nixpkgs.config;
};
in {
nixpkgs.config = {
# Unfree enable
allowUnfree = true;
# Add unstable channel
packageOverrides = pkgs: {
unstable = import <nixos-unstable> {
config = config.nixpkgs.config;
};
};
};
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = let
# vimPackages = import ../vim/vimPackages.nix pkgs;
neovimPackages = import ../vim/neovimPackages.nix pkgs;
in
let packs = with pkgs; [
wget
git git-lfs bash zsh fzf oh-my-zsh terminator htop
unzip
pavucontrol
tlp
epson_201207w # Driver for epson L355
gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good gst_all_1.gst-plugins-bad
nfs-utils
playerctl xorg.xbacklight
upower
jq
inetutils
btrfs-progs
gmock
ripgrep
zip
# i3 desktop packages used by all accounts
arc-theme gnome3.nautilus
python python27Packages.dbus-python
feh dunst networkmanagerapplet
i3status-rust lm_sensors
capitaine-cursors redshift
libappindicator-gtk3 ark
rofi
autorandr
gnome3.gnome-keyring
ksysguard
brightnessctl
unstable.noisetorch
mtpfs
# Steam
(steam.override {
extraPkgs = pkgs: [
mono
gtk3
gtk3-x11
libgdiplus
zlib
];
nativeOnly = true;
}).run
steam
]; in neovimPackages ++ packs;
# Enable dconf for gnome storage stuff
programs.dconf.enable = true;
# Steam
hardware.opengl.driSupport32Bit = true;
hardware.opengl.extraPackages32 = with pkgs.pkgsi686Linux; [ libva ];
hardware.pulseaudio.support32Bit = true;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment