diff --git a/home/xin/calcite.nix b/home/xin/calcite.nix index eecb258..9ba1359 100644 --- a/home/xin/calcite.nix +++ b/home/xin/calcite.nix @@ -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; }; }; } diff --git a/home/xin/common/default.nix b/home/xin/common/default.nix index 0e0677c..d4bc579 100644 --- a/home/xin/common/default.nix +++ b/home/xin/common/default.nix @@ -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= + ''; }