modified: .sops.yaml
modified: flake.nix modified: home/git.nix modified: home/nvchad.nix modified: home/ssh.nix modified: home/zsh.nix new file: hosts/virtualbox/README.md new file: hosts/virtualbox/configuration.nix new file: hosts/virtualbox/default.nix new file: hosts/virtualbox/hardware-configuration.nix modified: lib/hosts.nix modified: modules/core/README.md new file: modules/core/core.nix modified: modules/core/default.nix new file: modules/core/pkg.nix modified: modules/core/sops.nix modified: modules/desktop/README.md modified: modules/desktop/apps.nix modified: modules/desktop/default.nix new file: modules/desktop/fcitx5.nix new file: modules/desktop/pkg.nix modified: modules/server/README.md modified: modules/server/default.nix modified: modules/server/docker.nix new file: modules/server/pkg.nix modified: modules/server/ssh.nix new file: modules/server/virtualbox-guest.nix new file: modules/server/vscode-server.nix modified: modules/wsl/configuration.nix new file: profiles/virtualbox.nix modified: profiles/wsl.nix modified: secrets/users/README.md modified: secrets/users/luochen570.enc.yaml.example
This commit is contained in:
@@ -1,29 +1,29 @@
|
||||
{ config, pkgs, inputs, system, ... }:
|
||||
{
|
||||
# 导入 NvChad 模块
|
||||
imports = [
|
||||
inputs.nix4nvchad.homeManagerModules.default
|
||||
];
|
||||
|
||||
programs.nvchad = {
|
||||
enable = true;
|
||||
|
||||
# 可选:添加你需要的语言服务器和工具
|
||||
extraPackages = with pkgs; [
|
||||
# LSP 服务器
|
||||
nil # Nix LSP
|
||||
nixd # Nix 语言服务器(另一种选择)
|
||||
marksman # Markdown LSP
|
||||
|
||||
# 格式化工具
|
||||
nixpkgs-fmt
|
||||
shfmt
|
||||
];
|
||||
};
|
||||
|
||||
# 设置默认编辑器
|
||||
home.sessionVariables = {
|
||||
EDITOR = "nvim";
|
||||
VISUAL = "nvim";
|
||||
};
|
||||
{ config, pkgs, inputs, system, ... }:
|
||||
{
|
||||
# 导入 NvChad 模块
|
||||
imports = [
|
||||
inputs.nix4nvchad.homeManagerModules.default
|
||||
];
|
||||
|
||||
programs.nvchad = {
|
||||
enable = true;
|
||||
|
||||
# 可选:添加你需要的语言服务器和工具
|
||||
extraPackages = with pkgs; [
|
||||
# LSP 服务器
|
||||
nil # Nix LSP
|
||||
nixd # Nix 语言服务器(另一种选择)
|
||||
marksman # Markdown LSP
|
||||
|
||||
# 格式化工具
|
||||
nixpkgs-fmt
|
||||
shfmt
|
||||
];
|
||||
};
|
||||
|
||||
# 设置默认编辑器
|
||||
home.sessionVariables = {
|
||||
EDITOR = "nvim";
|
||||
VISUAL = "nvim";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user