mirror of
https://github.com/RGBCube/ncc
synced 2025-07-31 12:07:48 +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/nushell/
|
||||||
!machines/asus/openttd/
|
!machines/asus/openttd/
|
||||||
!machines/asus/pipewire/
|
!machines/asus/pipewire/
|
||||||
|
!machines/asus/python/
|
||||||
!machines/asus/xserver/
|
!machines/asus/xserver/
|
||||||
|
|
||||||
!flake.lock
|
!flake.lock
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
./nushell
|
./nushell
|
||||||
./openttd
|
./openttd
|
||||||
./pipewire
|
./pipewire
|
||||||
|
./python
|
||||||
./xserver
|
./xserver
|
||||||
|
|
||||||
./fonts.nix
|
./fonts.nix
|
||||||
|
|
|
@ -26,12 +26,5 @@ with pkgs; packages [
|
||||||
"clippy"
|
"clippy"
|
||||||
])
|
])
|
||||||
|
|
||||||
(python311.withPackages (pkgs: with pkgs; [
|
|
||||||
pip
|
|
||||||
requests
|
|
||||||
]))
|
|
||||||
virtualenv
|
|
||||||
poetry
|
|
||||||
|
|
||||||
lightly-qt
|
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