Update pipenv, add ITG options, py311 from nixos23_05

This commit is contained in:
Greg Hellings
2023-12-19 23:03:52 -06:00
parent 60e0dbf99d
commit 11825d46be
10 changed files with 209 additions and 24 deletions
-1
View File
@@ -41,7 +41,6 @@
gh
git
gnupatch
gregpy
hms
htop
inetutils
+14 -3
View File
@@ -1,10 +1,21 @@
{ pkgs, lib, inputs, ...}:
{
let
py = pkgs.nix23_05.python311.withPackages ( p: with p; [
django
djangorestframework
django-rapyd-modernauth
environs
#itg-django-utils
mysqlclient
ruamel-yaml
tox
]);
in {
imports = [
../../vscodium.nix
];
greg.pypackage = py;
home = {
packages = with pkgs; [
aacs
@@ -13,7 +24,7 @@
direnv
home-manager
insomnia
pipenv
pipenv-ivr
];
file.".pip/pip.conf".text = (lib.strings.concatStringsSep "\n" [
"[global]"
+1
View File
@@ -3,6 +3,7 @@
{
imports = [
./gnome.nix
./python.nix
./xonsh.nix
];
}
+10
View File
@@ -0,0 +1,10 @@
{ config, pkgs, lib, ... }:
{
options.greg.pypackage = lib.mkOption {
description = "Enable Gnome support and settings";
type = lib.types.package;
default = pkgs.gregpy;
};
config.home.packages = [ config.greg.pypackage ];
}