restructured modules, toggling them, overlays
This commit is contained in:
11
modules/dev/haskell.nix
Normal file
11
modules/dev/haskell.nix
Normal 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
|
||||
]);
|
||||
};
|
||||
}
|
||||
13
modules/dev/nix.nix
Normal file
13
modules/dev/nix.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
options = { myNix.enable = lib.mkEnableOption "enable"; };
|
||||
config = lib.mkIf config.myNix.enable {
|
||||
users.users.jawz.packages = with pkgs; ([
|
||||
expect # keep color when nom'ing
|
||||
nix-output-monitor # autistic nix builds
|
||||
nixfmt # linting
|
||||
cachix # why spend time compiling?
|
||||
]);
|
||||
};
|
||||
}
|
||||
23
modules/dev/python.nix
Normal file
23
modules/dev/python.nix
Normal file
@@ -0,0 +1,23 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
options = { myPython.enable = lib.mkEnableOption "enable"; };
|
||||
config = lib.mkIf config.myPython.enable {
|
||||
users.users.jawz.packages = with pkgs; ([
|
||||
pipenv # python development workflow for humans
|
||||
(python3.withPackages (ps:
|
||||
with ps; [
|
||||
# nose # testing and running python scripts
|
||||
# poetry # dependency management made easy
|
||||
# pytest # framework for writing tests
|
||||
black # Python code formatter
|
||||
editorconfig # follow rules of contributin
|
||||
flake8 # wraper for pyflakes, pycodestyle and mccabe
|
||||
isort # sort Python imports
|
||||
pyflakes # checks source code for errors
|
||||
pylint # bug and style checker for python
|
||||
speedtest-cli # check internet speed from the comand line
|
||||
]))
|
||||
]);
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user