Files
nixos/home/home.nix
T
Greg Hellings d1344fa2bd Xonsh glow-ups
Move xonsh header/footer to separate files
Add gregpy as the default Python version used in xonsh
Add Nix profile to PATH in xonsh ahead of tmux path mangling to allow
python3 with modules to be discovered
2022-11-10 10:54:22 -06:00

56 lines
800 B
Nix

name: { pkgs, lib, gui, config, ...}:
let
guiImports = if gui then
[ ./gui ] else [];
in {
imports = [
./modules
./ansible.nix
./bash.nix
./direnv.nix
./git.nix
./ssh.nix
./templates.nix
./vim.nix
./xonsh.nix
] ++ guiImports;
programs.tmux = {
enable = true;
keyMode = "vi";
shell = "~/.nix-profile/bin/xonsh";
terminal = "xterm-256color";
customPaneNavigationAndResize = true;
extraConfig = (lib.strings.concatStringsSep "\n" [
"set-option -g default-command ~/.nix-profile/bin/xonsh"
"bind P paste-buffer"
]);
};
home.stateVersion = "22.05";
home.packages = with pkgs; [
bitwarden-cli
diffutils
findutils
gh
git
gnupatch
gregpy
hms
htop
jq
nmap
nano
openssl
tmux
transcrypt
unzip
wget
yamllint
#yawsso
];
}