mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 11:37:44 +00:00
Add venv alias again
This commit is contained in:
parent
4a75049b05
commit
27065ad008
1 changed files with 12 additions and 3 deletions
|
@ -1,10 +1,19 @@
|
||||||
{ pkgs, systemPackages, ... }:
|
{ lib, pkgs, systemPackages, homeConfiguration, ... }: lib.recursiveUpdate
|
||||||
|
|
||||||
with pkgs; systemPackages [
|
(with pkgs; systemPackages [
|
||||||
(python311.withPackages (pkgs: with pkgs; [
|
(python311.withPackages (pkgs: with pkgs; [
|
||||||
pip
|
pip
|
||||||
requests
|
requests
|
||||||
]))
|
]))
|
||||||
virtualenv
|
virtualenv
|
||||||
poetry
|
poetry
|
||||||
]
|
])
|
||||||
|
|
||||||
|
(homeConfiguration "nixos" {
|
||||||
|
programs.nushell.envFile.source = ''
|
||||||
|
def venv [] {
|
||||||
|
virtualenv venv
|
||||||
|
source ./venv/bin/activate.nu
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue