continuing dev

This commit is contained in:
Noah Masur
2025-01-29 21:12:48 -05:00
parent c7933f8502
commit 0ebd0bac2c
55 changed files with 362 additions and 347 deletions

View File

@ -0,0 +1,27 @@
{
config,
pkgs,
lib,
...
}:
let
cfg = config.nmasur.presets.programs.python;
in
{
options.nmasur.presets.programs.python.enable = lib.mkEnableOption "Python programming language.";
config = lib.mkIf cfg.enable {
home.packages = [
pkgs.pyright # Python language server
pkgs.black # Python formatter
pkgs.python310Packages.flake8 # Python linter
];
programs.fish.shellAbbrs = {
py = "python3";
};
};
}