nixos: add ghci

This commit is contained in:
Maciej Jur 2024-06-28 18:44:23 +02:00
parent 00ebc2d6a8
commit c28277fb98
Signed by: kamov
GPG key ID: 191CBFF5F72ECAFD
3 changed files with 13 additions and 0 deletions

2
nixos/msi/ghci/.ghci Normal file
View file

@ -0,0 +1,2 @@
:set prompt "\ESC[34m\STXλ> \ESC[0m\STX"
:set -pgmL markdown-unlit

View file

@ -0,0 +1,10 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
ghc
haskell-language-server
];
home.file.".ghci".source = ./.ghci;
}

View file

@ -5,6 +5,7 @@ in
{
imports = [
./gaming.nix
./ghci
];
home = {