Files
nixos/home/hosts/ivr/default.nix
T

41 lines
769 B
Nix

{ pkgs, lib, inputs, ...}:
let
py = pkgs.nix23_05.python311.withPackages ( p: with p; [
django
djangorestframework
django-rapyd-modernauth
environs
mysqlclient
pyyaml
ruamel-yaml
tox
]);
in {
imports = [
../../vscodium.nix
];
greg.pypackage = py;
home = {
packages = with pkgs; [
aacs
ansible
bitwarden-cli
direnv
home-manager
insomnia
pipenv-ivr
];
file.".pip/pip.conf".text = (lib.strings.concatStringsSep "\n" [
"[global]"
"retries = 1"
"index-url = https://pypi.python.org/simple"
"extra-index-url ="
" https://pypi.ivrtechnology.com/simple/"
" https://pypidev.ivrtechnology.com/simple/"
]);
username = "gregory.hellings";
homeDirectory = lib.mkForce "/home/gregory.hellings";
};
}