Added haskell-dev environment

This commit is contained in:
Craige McWhirter 2020-03-25 17:31:03 +10:00
parent 82cd398017
commit bd6ec8415b
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA
3 changed files with 26 additions and 0 deletions

View file

@ -7,6 +7,7 @@
[
../hardware/lenovo_x201.nix
../roles/desktop_common.nix
../roles/haskell-dev.nix
];
# Use the GRUB 2 boot loader.

11
roles/haskell-dev.nix Normal file
View file

@ -0,0 +1,11 @@
# Configuration for Haskell development
{ config, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
haskellPackages.ghc # Glasgow Haskell Compiler
];
}

14
roles/nCovid-19.nix Normal file
View file

@ -0,0 +1,14 @@
# NixOps configuration for the hosts utilising Folding@Home for nCovid-19
{ config, pkgs, lib, ... }:
{
# Set the system-wide environment
environment = {
systemPackages = with pkgs; [
foldingathome # Folding@home distributed computing client
];
};
}