[NixOS] Add all-hies and cachix

This commit is contained in:
Ivan Malison 2019-06-10 08:11:50 -07:00
parent e530968875
commit e9b08e8304
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8
2 changed files with 9 additions and 1 deletions

View File

@ -15,6 +15,7 @@ let
virtualenvwrapper
];
python-with-my-packages = pkgs.python3.withPackages my-python-packages;
all-hies = import (fetchTarball "https://github.com/infinisil/all-hies/tarball/master") {};
taffySource = pkgs.lib.sourceByRegex ../dotfiles/config/taffybar [
"taffybar.hs" "imalison-taffybar.cabal"
];
@ -84,6 +85,7 @@ in
};
};
xdg.menus.enable = true;
environment.systemPackages = with pkgs; [
# Applications
@ -121,7 +123,7 @@ in
plasma5.breeze-qt5
gnome-breeze
# Desktop
# Haskell Desktop
(haskellPackages.callCabal2nix "imalison-taffybar" taffySource { })
(haskellPackages.callCabal2nix "imalison-xmonad" xmonadSource { })
(ntiHaskellPackages.callCabal2nix "notifications-tray-icon" notifications-tray-icon-source { })
@ -129,6 +131,8 @@ in
haskellPackages.status-notifier-item
haskellPackages.xmonad
# Desktop
taffybar
autorandr
betterlockscreen
blueman
@ -172,6 +176,8 @@ in
ghc
stack
haskellPackages.hasktags
haskellPackages.hoogle
(all-hies.selection { selector = p: { inherit (p) ghc864; }; })
# Scala
sbt
@ -247,6 +253,7 @@ in
# Nix
nix-prefetch-git
cachix
# Miscellaneous
android-udev-rules

View File

@ -9,6 +9,7 @@
../configuration.nix
../extra.nix
../dfinity.nix
/etc/nixos/cachix.nix
];
hardware.bumblebee.enable = true;