-
Notifications
You must be signed in to change notification settings - Fork 0
/
common.nix
71 lines (68 loc) · 1.76 KB
/
common.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{ config, pkgs, ... }:
{
imports = [
./HomeManagerModules/tmux.nix
./HomeManagerModules/zsh.nix
./HomeManagerModules/starship.nix
./HomeManagerModules/nvim
./HomeManagerModules/git.nix
];
home = {
# In theory, username should not be needed?
username = "jgaither";
homeDirectory = "/home/jgaither";
stateVersion = "22.11";
# This value determines the Home Manager release that your configuration is
# compatible with. This helps avoid breakage when a new Home Manager release
# introduces backwards incompatible changes.
#
# You should not change this value, even if you update Home Manager. If you do
# want to update the value, then make sure to first check the Home Manager
# release notes.
packages = with pkgs; [
vim
tmux
git
minicom
meslo-lgs-nf
rustup
poetry
ansible
#(python311.withPackages(ps: with ps; [ pytz numpy python-redmine]))
];
};
xdg.configFile = {
#pypoetry.source = config/.config/pypoetry;
};
# You can also manage environment variables but you will have to manually
# source
#
# ~/.nix-profile/etc/profile.d/hm-session-vars.sh
#
# or
#
# /etc/profiles/per-user/jgaither/etc/profile.d/hm-session-vars.sh
#
programs = {
# Let Home Manager install and manage itself.
home-manager.enable = true;
#poetry.enable = true;
zoxide = {
enable = true;
enableBashIntegration = true;
enableZshIntegration = true;
options = [
"--cmd j"
];
};
pyenv.enable = true;
fzf = {
enable = true;
enableZshIntegration = true;
enableBashIntegration = true;
};
ripgrep.enable = true;
fd.enable = true;
};
fonts.fontconfig.enable = true;
}