mirror of
https://github.com/RGBCube/ncc
synced 2025-07-29 19:17:45 +00:00
Move python to its own module
* add vv alias for virtualenv venv
This commit is contained in:
parent
5f2c11e78b
commit
397570c99d
4 changed files with 20 additions and 7 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -11,6 +11,7 @@
|
|||
!machines/asus/nushell/
|
||||
!machines/asus/openttd/
|
||||
!machines/asus/pipewire/
|
||||
!machines/asus/python/
|
||||
!machines/asus/xserver/
|
||||
|
||||
!flake.lock
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
./nushell
|
||||
./openttd
|
||||
./pipewire
|
||||
./python
|
||||
./xserver
|
||||
|
||||
./fonts.nix
|
||||
|
|
|
@ -26,12 +26,5 @@ with pkgs; packages [
|
|||
"clippy"
|
||||
])
|
||||
|
||||
(python311.withPackages (pkgs: with pkgs; [
|
||||
pip
|
||||
requests
|
||||
]))
|
||||
virtualenv
|
||||
poetry
|
||||
|
||||
lightly-qt
|
||||
]
|
||||
|
|
18
machines/asus/python/default.nix
Normal file
18
machines/asus/python/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ pkgs, homeConfiguration, packages, enabled, ... }:
|
||||
|
||||
(with pkgs; packages [
|
||||
(python311.withPackages (pkgs: with pkgs; [
|
||||
pip
|
||||
requests
|
||||
]))
|
||||
virtualenv
|
||||
poetry
|
||||
])
|
||||
|
||||
//
|
||||
|
||||
(homeConfiguration "nixos" {
|
||||
programs.nushell.shellAliases = {
|
||||
vv = "virtualenv venv";
|
||||
};
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue