-
Notifications
You must be signed in to change notification settings - Fork 214
NixOS
rewine edited this page Jun 12, 2023
·
3 revisions
For NixOS users, the easiest way to install Python/Pip dependencies is adding the Python environment as an installed package.
Edit ~/.config/nixpkgs/home.nix
{
home.packages = with pkgs; [
(python3.withPackages (p: with p; [ epc orjson sexpdata six paramiko ]))
];
}
Edit /etc/nixos/configuration.nix
{
environment.systemPackages = with pkgs; [
(python3.withPackages (p: with p; [ epc orjson sexpdata six paramiko ]))
];
}