50 lines
931 B
Nix
50 lines
931 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./programs
|
|
];
|
|
|
|
# ⚠️ 极其重要:替换成你的实际系统用户名
|
|
home.username = "luodh";
|
|
home.homeDirectory = "/home/luodh";
|
|
|
|
# 个人日常软件
|
|
home.packages = with pkgs; [
|
|
qq
|
|
fastfetch
|
|
jetbrains-toolbox
|
|
google-chrome
|
|
neovim
|
|
htop
|
|
btop
|
|
telegram-desktop
|
|
wechat
|
|
gpu-screen-recorder
|
|
gpu-screen-recorder-gtk
|
|
android-tools
|
|
openjdk21
|
|
cloudflared
|
|
obsidian
|
|
zed-editor
|
|
postgresql
|
|
rclone
|
|
feishu
|
|
wpsoffice-cn
|
|
flutter
|
|
nodejs
|
|
pnpm
|
|
kdePackages.kate
|
|
termius
|
|
];
|
|
|
|
# 让 nix-shell 等传统命令也能安装 unfree 软件
|
|
xdg.configFile."nixpkgs/config.nix".text = "{ allowUnfree = true; }";
|
|
|
|
# 这个版本号不要改!它不是软件版本,而是系统状态标识
|
|
home.stateVersion = "25.11";
|
|
|
|
# 让 Home Manager 管理自己
|
|
programs.home-manager.enable = true;
|
|
}
|