2022-11-10 10:54:22 -06:00
|
|
|
name: { pkgs, lib, gui, config, ...}:
|
2022-04-18 11:38:06 -05:00
|
|
|
|
2022-04-29 10:58:31 -05:00
|
|
|
let
|
2022-08-02 01:50:50 -05:00
|
|
|
guiImports = if gui then
|
2022-04-29 10:58:31 -05:00
|
|
|
[ ./gui ] else [];
|
|
|
|
|
|
|
|
|
|
in {
|
2022-04-18 11:38:06 -05:00
|
|
|
imports = [
|
2022-04-29 10:58:31 -05:00
|
|
|
./modules
|
2022-05-27 13:53:02 -05:00
|
|
|
./ansible.nix
|
2022-04-18 11:38:06 -05:00
|
|
|
./bash.nix
|
2022-05-04 13:52:38 -05:00
|
|
|
./direnv.nix
|
2022-04-18 11:38:06 -05:00
|
|
|
./git.nix
|
2022-04-18 14:01:00 -05:00
|
|
|
./ssh.nix
|
2022-10-12 21:50:46 -05:00
|
|
|
./templates.nix
|
2022-04-29 10:58:31 -05:00
|
|
|
./vim.nix
|
|
|
|
|
./xonsh.nix
|
|
|
|
|
] ++ guiImports;
|
|
|
|
|
|
2022-04-18 11:38:06 -05:00
|
|
|
|
2022-09-19 13:26:51 -05:00
|
|
|
programs.tmux = {
|
|
|
|
|
enable = true;
|
|
|
|
|
keyMode = "vi";
|
2022-11-10 10:54:22 -06:00
|
|
|
shell = "~/.nix-profile/bin/xonsh";
|
2022-09-19 13:26:51 -05:00
|
|
|
terminal = "xterm-256color";
|
|
|
|
|
customPaneNavigationAndResize = true;
|
2022-10-06 10:26:45 -05:00
|
|
|
extraConfig = (lib.strings.concatStringsSep "\n" [
|
2022-11-10 10:54:22 -06:00
|
|
|
"set-option -g default-command ~/.nix-profile/bin/xonsh"
|
2022-10-06 10:26:45 -05:00
|
|
|
"bind P paste-buffer"
|
|
|
|
|
]);
|
2022-09-19 13:26:51 -05:00
|
|
|
};
|
|
|
|
|
|
2022-08-02 01:50:50 -05:00
|
|
|
home.stateVersion = "22.05";
|
2022-08-19 10:55:21 -05:00
|
|
|
home.packages = with pkgs; [
|
2022-09-05 23:11:01 -05:00
|
|
|
bitwarden-cli
|
|
|
|
|
diffutils
|
|
|
|
|
findutils
|
2022-09-27 10:37:12 -05:00
|
|
|
gh
|
2022-09-05 23:11:01 -05:00
|
|
|
git
|
|
|
|
|
gnupatch
|
2022-11-01 08:35:06 -05:00
|
|
|
gregpy
|
2022-08-19 10:55:21 -05:00
|
|
|
hms
|
2022-09-16 11:04:22 -05:00
|
|
|
htop
|
2022-10-10 10:37:50 -05:00
|
|
|
jq
|
2022-09-05 23:11:01 -05:00
|
|
|
nano
|
2022-11-17 13:05:08 -06:00
|
|
|
nmap
|
|
|
|
|
nodejs
|
2022-10-03 09:43:57 -05:00
|
|
|
openssl
|
2022-09-05 23:11:01 -05:00
|
|
|
tmux
|
|
|
|
|
transcrypt
|
|
|
|
|
unzip
|
|
|
|
|
wget
|
|
|
|
|
yamllint
|
2022-11-01 08:35:06 -05:00
|
|
|
#yawsso
|
2022-08-02 01:50:50 -05:00
|
|
|
];
|
2022-04-18 11:38:06 -05:00
|
|
|
}
|