restructured modules, toggling them, overlays

This commit is contained in:
2024-04-19 14:55:22 -06:00
parent 14676a34dc
commit 71c838a95a
24 changed files with 1173 additions and 76 deletions

11
modules/dev/haskell.nix Normal file
View File

@@ -0,0 +1,11 @@
{ config, pkgs, lib, ... }:
{
options = { myHaskell.enable = lib.mkEnableOption "enable"; };
config = lib.mkIf config.myHaskell.enable {
users.users.jawz.packages = with pkgs; ([
ghc # compiler
haskell-language-server # lsp
]);
};
}