Add Python modules that are needed for work and other things Move import of Bash into Xonsh to the head in order to avoid issues with being overwritten by Bash defaults
40 lines
720 B
Nix
40 lines
720 B
Nix
{ pkgs, agenix, ... }:
|
|
|
|
let
|
|
myPackages = pypackages: with pypackages; [
|
|
pkgs.datadog-api-client
|
|
pkgs.xonsh-direnv
|
|
datadog
|
|
dateutil
|
|
ipython
|
|
pyyaml
|
|
responses
|
|
ruamel-yaml
|
|
typing-extensions
|
|
virtualenv
|
|
];
|
|
|
|
myPython = pkgs.python3.withPackages myPackages;
|
|
in {
|
|
# Base packages that need to be in all my hosts
|
|
environment.systemPackages = with pkgs; [
|
|
agenix.defaultPackage."${system}"
|
|
bitwarden-cli
|
|
diffutils
|
|
git
|
|
gnupatch
|
|
findutils
|
|
hms # My own home manager switcher
|
|
home-manager
|
|
htop
|
|
myPython
|
|
pwgen
|
|
tmux
|
|
transcrypt
|
|
unzip
|
|
vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
|
wget
|
|
yamllint # Used in vim
|
|
];
|
|
}
|