[home][modules] split vscode out of develop

This commit is contained in:
2024-06-28 03:07:57 +08:00
parent 6f9de6434c
commit 027636e85b
5 changed files with 25 additions and 16 deletions
+34
View File
@@ -0,0 +1,34 @@
{ config, lib, pkgs, ... }:
{
home.packages = with pkgs; [
lldb
clang-tools
python312
python312Packages.ipython
];
programs.fish.shellAliases = {
"ipy" = "ipython --no-confirm-exit";
};
programs.direnv.enable = true;
programs.fish.shellInit = ''
direnv hook fish | source
'';
programs.git = {
enable = true;
lfs.enable = true;
userName = "Origami404";
userEmail = "Origami404@foxmail.com";
extraConfig = {
user.signingKey = "5C7FCAFBC961E2E312B47FEC76447D4671CB3CC0";
core.autocrlf = "input";
push.autoSetupRemote = true;
pull.rebase = true;
init.defaultBranch = "main";
};
aliases = {
"l" = "log --date-order --graph --pretty=\"format:%C(yellow)%h%Cblue%d%Creset %s %C(white) %an, %ar%Creset\"";
};
};
}