-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.nix
89 lines (87 loc) · 1.97 KB
/
home.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
pkgs,
dotfiles,
nix-colors,
nix-index-database,
...
}@inputs:
let
mylib = import ./mylib inputs;
in
{
imports = [
nix-colors.homeManagerModules.default
nix-index-database.hmModules.nix-index
./ssh
./nvim/neovim.nix
# ./wayland/sway.nix honestly its a mess, so we just use system way with its config...
./wayland
./wasm
./scd30
./esp32/esp32.nix
];
home.stateVersion = "24.05"; # Please read the comment before changing.
home.file.".config/tms/config.toml" = {
source = "${dotfiles}/tms/config.toml";
};
home.sessionPath = [
"/opt/intelFPGA/20.1/modelsim_ase/bin"
"$HOME/.pyenv/bin"
];
home.sessionVariables = {
_JAVA_AWT_WM_NONREPARENTING = 1; # Makes Java GUIs work nice with sway
};
#colorScheme = nix-colors.colorSchemes.base24.dracula;
colorScheme = nix-colors.colorSchemes.base16.gruvbox-material-dark-medium;
fonts.fontconfig.enable = true;
home.packages = (
with pkgs;
[
# Audio
pipewire
wireplumber
pavucontrol
# User Program
anki
element-desktop
# pyenv -- time is not yet ripe enough for such powerful inventions
nerd-fonts.fira-code
nerd-fonts.jetbrains-mono
nerd-fonts.iosevka
nerd-fonts.caskaydia-mono
# Compilers
zig
clang-tools_17
# LSP Stuff
nixd
nixfmt-rfc-style
ruff
ruff-lsp
pyright
rustup
ansible-language-server
tmux-sessionizer
vscode
vscode-extensions.ms-vscode.cpptools
vscode-extensions.jnoortheen.nix-ide
# Devops
ansible
ansible-lint
# Mail
thunderbird
]
);
programs.home-manager.enable = true;
programs.bash = {
enable = true;
initExtra = builtins.readFile (
mylib.utils.renderTemplate { template = "${dotfiles}/bash/bashrc"; }
);
};
programs.tmux = {
enable = true;
extraConfig = ''
bind-key C-j display-popup -E "tms switch"
'';
};
}