Added haskell-dev environment
This commit is contained in:
parent
82cd398017
commit
bd6ec8415b
|
@ -7,6 +7,7 @@
|
||||||
[
|
[
|
||||||
../hardware/lenovo_x201.nix
|
../hardware/lenovo_x201.nix
|
||||||
../roles/desktop_common.nix
|
../roles/desktop_common.nix
|
||||||
|
../roles/haskell-dev.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Use the GRUB 2 boot loader.
|
# Use the GRUB 2 boot loader.
|
||||||
|
|
11
roles/haskell-dev.nix
Normal file
11
roles/haskell-dev.nix
Normal 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
14
roles/nCovid-19.nix
Normal 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
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in a new issue