home-manager: vscode refactor
This commit is contained in:
parent
59fe4dcbc2
commit
74a6b82d37
2 changed files with 19 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, ... }:
|
||||
{ config, pkgs, ... }@inputs:
|
||||
{
|
||||
imports = [
|
||||
./common
|
||||
|
@ -17,6 +17,7 @@
|
|||
primary = true;
|
||||
address = "lixinyang411@gmail.com";
|
||||
flavor = "gmail.com";
|
||||
realName = "Xinyang Li";
|
||||
};
|
||||
|
||||
accounts.email.accounts.whu = {
|
||||
|
@ -32,13 +33,25 @@
|
|||
remmina
|
||||
];
|
||||
|
||||
# Theme
|
||||
catppuccin = {
|
||||
enable = true;
|
||||
flavor = "mocha";
|
||||
};
|
||||
xdg.enable = true;
|
||||
|
||||
i18n.inputMethod = {
|
||||
enabled = "fcitx5";
|
||||
fcitx5.addons = with pkgs; [ fcitx5-rime ];
|
||||
};
|
||||
|
||||
custom-hm = {
|
||||
alacritty = { enable = true; };
|
||||
direnv = { enable = true; };
|
||||
fish = { enable = true; };
|
||||
git = { enable = true; signing.enable = true; };
|
||||
neovim = { enable = true; };
|
||||
vscode = { enable = true; };
|
||||
vscode = { enable = true; languages = { cxx = true; python = true; scala = true; latex = true; }; };
|
||||
zellij = { enable = true; };
|
||||
};
|
||||
}
|
||||
|
|
|
@ -19,4 +19,8 @@
|
|||
|
||||
inetutils
|
||||
];
|
||||
nix.extraOptions = ''
|
||||
extra-substituters = https://nix-community.cachix.org
|
||||
extra-trusted-public-keys = nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue