Files
nixos/home/home.nix
T

82 lines
1.1 KiB
Nix
Raw Normal View History

2022-08-02 01:50:50 -05:00
name: { pkgs, lib, gui, ...}:
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 [];
2022-10-15 00:19:38 -05:00
myPackages = pypackages: with pypackages; with pkgs.my-py-addons; [
2022-09-16 11:04:22 -05:00
black
2022-10-15 00:19:38 -05:00
copier
2022-09-16 11:04:22 -05:00
datadog
2022-10-15 00:19:38 -05:00
datadog-api-client
2022-09-16 11:04:22 -05:00
dateutil
flake8
ipython
pyyaml
responses
ruamel-yaml
tox
typing-extensions
virtualenv
2022-10-15 00:19:38 -05:00
xonsh-direnv
2022-09-16 11:04:22 -05:00
];
myPython = pkgs.python3.withPackages myPackages;
2022-04-29 10:58:31 -05:00
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";
shell = "${pkgs.xonsh}/bin/xonsh";
terminal = "xterm-256color";
customPaneNavigationAndResize = true;
2022-10-06 10:26:45 -05:00
extraConfig = (lib.strings.concatStringsSep "\n" [
"set-option -g default-command ${pkgs.xonsh}/bin/xonsh"
"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-10-04 12:00:50 -05:00
bazel
bazel-buildtools
2022-09-05 23:11:01 -05:00
bitwarden-cli
2022-08-19 10:55:21 -05:00
cdrtools
2022-09-05 23:11:01 -05:00
diffutils
2022-08-19 10:55:21 -05:00
ffmpeg
2022-09-05 23:11:01 -05:00
findutils
2022-09-27 10:37:12 -05:00
gh
2022-09-05 23:11:01 -05:00
git
gnupatch
2022-08-19 10:55:21 -05:00
hms
2022-09-16 11:04:22 -05:00
htop
2022-10-10 11:49:30 -05:00
jdk11
2022-10-10 10:37:50 -05:00
jq
2022-08-19 10:55:21 -05:00
libtheora
2022-09-16 11:04:22 -05:00
myPython
2022-10-24 22:29:07 -05:00
nmap
2022-09-05 23:11:01 -05:00
nano
2022-10-03 09:43:57 -05:00
openssl
2022-09-05 23:11:01 -05:00
tmux
transcrypt
unzip
wget
2022-08-19 10:55:21 -05:00
x265
2022-09-05 23:11:01 -05:00
yamllint
2022-10-17 13:57:10 -05:00
yawsso
2022-08-02 01:50:50 -05:00
];
2022-04-18 11:38:06 -05:00
}