Files
nixos/home/home.nix
T

67 lines
1.1 KiB
Nix

{ pkgs, lib, gui, gnome,
inputs,
...}:
{
imports = [
inputs.nixneovim.nixosModules.default
./modules
./ansible.nix
./bash.nix
./direnv.nix
./git.nix
./ssh.nix
./templates.nix
./vim.nix
./xonsh.nix
] ++ ( if gui then [ ./gui ] else []);
greg.gnome = gnome;
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.file.".pip/pip.conf".text = (lib.strings.concatStringsSep "\n" [
"[global]"
"retries = 1"
"index-url = https://pypi.python.org/simple"
"extra-index-url ="
" https://pypi.ivrtechnlology.com/simple/"
" https://pypiev.ivrtechnology.com/simple/"
]);
home.stateVersion = "23.05";
home.packages = with pkgs; [
bitwarden-cli
brew
diffutils
findutils
gimp
git
gnupatch
gregpy
hms
htop
inetutils
jq
nano
nmap
openssl
setup-ssh
tmux
transcrypt
unzip
wget
];
}