63 lines
1.6 KiB
Nix
63 lines
1.6 KiB
Nix
{
|
|
universal.home_modules = [
|
|
{
|
|
programs.git = {
|
|
enable = true;
|
|
userName = "Ittihadyya";
|
|
userEmail = "Ittihadyya@collective-conciousness.monster";
|
|
delta.enable = true;
|
|
extraConfig = {
|
|
core = {
|
|
editor = "emacs";
|
|
sshCommand = "ssh -i ~/.ssh/id_ed25519 -i ~/.ssh/github"; #github wants a password protected ssh key, which wouldn't work with my usual workflow -e
|
|
};
|
|
url = {
|
|
"ssh://git@ssh.github.com:443/" = {
|
|
insteadOf = [
|
|
"git@github.com:"
|
|
"gh:"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|
|
];
|
|
personal.home_modules = [
|
|
(
|
|
{pkgs, ...}: {
|
|
programs.vscode = {
|
|
enable = true;
|
|
package = pkgs.vscodium;
|
|
mutableExtensionsDir = false; # turning this one makes it not build.
|
|
extensions = with pkgs.vscode-extensions; [
|
|
rust-lang.rust-analyzer
|
|
tuttieee.emacs-mcx
|
|
tamasfe.even-better-toml
|
|
# vadimcn.vscode-lldb# currently doesn't work
|
|
jnoortheen.nix-ide
|
|
mkhl.direnv
|
|
matthewpi.caddyfile-support
|
|
vue.volar
|
|
zxh404.vscode-proto3
|
|
];
|
|
};
|
|
}
|
|
)
|
|
];
|
|
personal.modules = [
|
|
(
|
|
{pkgs, ...}: {
|
|
environment.systemPackages = with pkgs; [
|
|
];
|
|
programs = {
|
|
direnv = {
|
|
enable = true;
|
|
nix-direnv.enable = true;
|
|
enableZshIntegration = true;
|
|
};
|
|
};
|
|
}
|
|
)
|
|
];
|
|
}
|