Files
nixos/home/home.nix
T
2022-11-17 13:05:28 -06:00

57 lines
809 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
nano
nmap
nodejs
openssl
tmux
transcrypt
unzip
wget
yamllint
#yawsso
];
}