Add rainfrog for databases Add tenere for LLMs Add jqp for playing with jq scripts Add wiki-tui for wikipedia Add iamb for Matrix
86 lines
1.6 KiB
Nix
86 lines
1.6 KiB
Nix
{
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}:
|
|
let
|
|
username = "gregory.hellings";
|
|
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
|
|
{
|
|
# Disables hitting local cache
|
|
_module.args.cache = lib.mkForce false;
|
|
greg = {
|
|
development = true;
|
|
gui = true;
|
|
nix.cache = false;
|
|
pypackage.enable = false;
|
|
vscodium = true;
|
|
};
|
|
|
|
home = {
|
|
packages = with pkgs; [
|
|
aacs
|
|
ansible
|
|
direnv
|
|
home-manager
|
|
k9s
|
|
kubectl
|
|
minikube
|
|
mise
|
|
nil
|
|
nixStable
|
|
pipenv-ivr
|
|
pre-commit
|
|
python311
|
|
python3Packages.flake8
|
|
skaffold
|
|
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 = username;
|
|
homeDirectory = "/Users/${username}";
|
|
};
|
|
|
|
programs = {
|
|
direnv = {
|
|
enable = true;
|
|
enableNushellIntegration = true;
|
|
};
|
|
nushell = {
|
|
enable = true;
|
|
};
|
|
starship = {
|
|
enable = true;
|
|
enableNushellIntegration = true;
|
|
settings = {
|
|
directory = {
|
|
home_symbol = "~";
|
|
truncate_to_repo = false;
|
|
truncation_length = 0;
|
|
use_os_path_sep = true;
|
|
};
|
|
};
|
|
};
|
|
tmux.shell = (lib.getExe x);
|
|
};
|
|
}
|