dotfiles/modules/programming/python.nix

17 lines
347 B
Nix
Raw Normal View History

2022-06-21 21:51:27 +00:00
{ config, pkgs, ... }: {
2022-07-01 12:45:07 +00:00
home-manager.users.${config.user} = {
home.packages = with pkgs; [
# python310 # Standard Python interpreter
nodePackages.pyright # Python language server
black # Python formatter
2022-07-19 03:34:32 +00:00
python310Packages.flake8 # Python linter
2022-07-01 12:45:07 +00:00
];
2022-07-05 12:42:24 +00:00
programs.fish.shellAbbrs = { py = "python3"; };
2022-07-01 12:45:07 +00:00
};
2022-06-21 21:51:27 +00:00
}