Files
nixos/home/hosts/ivr/default.nix
T
Greg Hellings c87826975b Move 23_ 05 support
Putting 23_05 directly into the top level overlays introduced
unnecessary calculations when it is only used in one location on the IVR
system. Therefore, we only import it at the point of its use.
2024-08-21 08:16:48 -05:00

53 lines
1.0 KiB
Nix

{ pkgs, lib, inputs, ...}:
let
nix23 = import inputs.nix23_05 {
inherit (pkgs.stdenv) system;
overlays = [ inputs.self.overlays.default ];
};
py = nix23.python311.withPackages ( p: with p; [
django
djangorestframework
django-rapyd-modernauth
environs
mysqlclient
pyyaml
ruamel-yaml
tox
]);
x = pkgs.xonsh.override {
extraPackages = (ps: [
pkgs.nur.repos.xonsh-xontribs.xonsh-direnv
pkgs.nur.repos.xonsh-xontribs.xontrib-vox
]);
};
in {
greg = {
development = true;
pypackage = py;
vscodium = true;
};
home = {
packages = with pkgs; [
aacs
ansible
bitwarden-cli
direnv
home-manager
insomnia
pipenv-ivr
poetry
x
];
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";
};
}