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

View File

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