Set IVR tmux setting to Xonsh, since I cannot control my user's login shell Set some default editor and terminal settings in VSCodium so it automatically launches tmux (thus, on my IVR machine, it will also pick up Xonsh for my user's environment setting)
66 lines
1.3 KiB
Nix
66 lines
1.3 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
|
|
ps.xonsh-apipenv
|
|
pkgs.pipenv-ivr
|
|
]);
|
|
};
|
|
in {
|
|
greg = {
|
|
development = true;
|
|
gui = true;
|
|
pypackage = py;
|
|
vscodium = true;
|
|
};
|
|
|
|
nixpkgs.config = {
|
|
allowUnfree = true;
|
|
permittedInsecurePackages = [
|
|
"jitsi-meet-1.0.8043"
|
|
];
|
|
};
|
|
|
|
home = {
|
|
packages = with pkgs; [
|
|
aacs
|
|
ansible
|
|
bitwarden-cli
|
|
direnv
|
|
home-manager
|
|
mysql-workbench
|
|
pipenv-ivr
|
|
poetry
|
|
robo3t
|
|
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";
|
|
};
|
|
programs.tmux.shell = (lib.getExe x);
|
|
}
|