mirror of
https://github.com/vale981/nixconf
synced 2025-03-04 09:11:38 -05:00
135 lines
1.9 KiB
Nix
135 lines
1.9 KiB
Nix
{ config, pkgs, ...}:
|
|
let
|
|
nixcfg = {
|
|
allowUnfree = true;
|
|
};
|
|
|
|
stable = import (fetchTarball https://github.com/nixos/nixpkgs-channels/archive/nixos-17.09.tar.gz) { config = nixcfg; };
|
|
rolling = import (fetchTarball https://github.com/nixos/nixpkgs-channels/archive/nixos-unstable.tar.gz) { config = nixcfg; };
|
|
edge = import (fetchTarball https://github.com/NixOS/nixpkgs/archive/master.tar.gz) { config = nixcfg; };
|
|
pkgs = stable;
|
|
|
|
base = (with stable; [
|
|
file
|
|
curl
|
|
wget
|
|
fish
|
|
networkmanager
|
|
dbus
|
|
xclip
|
|
xst
|
|
git
|
|
xkb_switch
|
|
alsaUtils
|
|
openssl
|
|
]) ++ (with rolling; [
|
|
firefox
|
|
thunderbird
|
|
pcmanfm
|
|
google-play-music-desktop-player
|
|
file
|
|
i3status-rust
|
|
udiskie
|
|
]);
|
|
|
|
extra = (with rolling; [
|
|
# oomox
|
|
gdk_pixbuf
|
|
glib.dev
|
|
gtk-engine-murrine
|
|
gtk_engines
|
|
gtk3
|
|
sassc
|
|
librsvg
|
|
bc
|
|
unison
|
|
|
|
redshift
|
|
compton
|
|
firefox
|
|
gimp
|
|
pcmanfm
|
|
emacs
|
|
evince
|
|
|
|
feh
|
|
rofi
|
|
dunst
|
|
|
|
anki
|
|
calibre
|
|
vlc
|
|
|
|
texlive.combined.scheme-full
|
|
gwenview
|
|
|
|
tdesktop
|
|
|
|
# Term Stuff
|
|
tree
|
|
todo-txt-cli
|
|
nox
|
|
]) ++ (with edge; [
|
|
bitwig-studio
|
|
]);
|
|
|
|
games = (with rolling; [
|
|
superTuxKart
|
|
]);
|
|
|
|
development = (with stable; [
|
|
cargo
|
|
autoconf
|
|
automake
|
|
boot
|
|
cmake
|
|
ccache
|
|
clang
|
|
binutils
|
|
lld
|
|
ghc
|
|
gnumake
|
|
rustc
|
|
rustfmt
|
|
rustracer
|
|
sqlite
|
|
zeal
|
|
]) ++ (with rolling; [
|
|
python3
|
|
]);
|
|
|
|
basefonts = (with pkgs; [
|
|
roboto-mono
|
|
siji
|
|
tewi-font
|
|
]);
|
|
|
|
extrafonts = (with pkgs; [
|
|
corefonts
|
|
dejavu_fonts
|
|
fantasque-sans-mono
|
|
fira
|
|
fira-code
|
|
font-awesome-ttf
|
|
font-droid
|
|
noto-fonts
|
|
powerline-fonts
|
|
roboto
|
|
roboto-slab
|
|
source-code-pro
|
|
]);
|
|
|
|
in
|
|
{
|
|
environment.systemPackages =
|
|
base ++
|
|
extra ++
|
|
development ++
|
|
games ++
|
|
[];
|
|
|
|
fonts.fonts =
|
|
basefonts ++
|
|
extrafonts ++
|
|
[];
|
|
}
|