further modularization + systemd template

This commit is contained in:
2024-05-11 21:35:31 -06:00
parent 0380c32b9a
commit 02d600cc73
16 changed files with 149 additions and 85 deletions

View File

@@ -1,7 +1,7 @@
{ config, lib, pkgs, ... }: {
options.my.dev.python.enable = lib.mkEnableOption "enable";
config = lib.mkIf config.my.dev.python.enable {
users.users.jawz.packages = with pkgs; ([
users.users.jawz.packages = (with pkgs; ([
pipenv # python development workflow for humans
(python3.withPackages (ps:
with ps; [
@@ -16,6 +16,9 @@
# poetry # dependency management made easy
# pytest # framework for writing tests
]))
]);
])) ++ (with pkgs.nodePackages;
[
pyright # LSP
]);
};
}