haskell.nix (305B)
1 { config, pkgs, lib, ... }: 2 3 with lib; 4 5 { 6 options.haskell = { 7 enable = mkEnableOption "Haskell"; 8 }; 9 10 # im 99% sure this wont be helpful but eh 11 config = mkIf config.haskell.enable { 12 home.packages = with pkgs; [ 13 ghc 14 haskell-language-server 15 hlint 16 ormolu 17 ]; 18 }; 19 }