70 lines
1.1 KiB
Nix
70 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.ivrtechnology.com/simple/"
|
|
" https://pypidev.ivrtechnology.com/simple/"
|
|
]);
|
|
|
|
home.stateVersion = "23.05";
|
|
home.packages = with pkgs; [
|
|
bitwarden-cli
|
|
brew
|
|
diffutils
|
|
dmidecode
|
|
findutils
|
|
gimp
|
|
git
|
|
gnupatch
|
|
gregpy
|
|
hms
|
|
htop
|
|
inetutils
|
|
jq
|
|
nano
|
|
nmap
|
|
openssl
|
|
setup-ssh
|
|
tmux
|
|
transcrypt
|
|
tree
|
|
unzip
|
|
vagrant
|
|
wget
|
|
];
|
|
}
|