bootstrap head

This commit is contained in:
2026-03-29 17:10:53 +08:00
commit a6d0c3a4b0
7 changed files with 386 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
{ config, pkgs, ... }:
{
# ⚠️ 极其重要:替换成你的实际系统用户名
home.username = "test";
home.homeDirectory = "/home/test";
# 允许安装闭源软件(比如 QQ
nixpkgs.config.allowUnfree = true;
# 你的个人日常软件全写在这里!
home.packages = with pkgs; [
qq
fastfetch
claude-code
# 你还可以加上其他软件,比如网易云、微信等
];
# 以后你的 niri、KDE 等 dotfiles 配置都可以通过这种方式管理
# home.file.".config/niri/config.kdl".source = ./niri-config.kdl;
# 这个版本号不要改!它不是软件版本,而是系统状态标识
home.stateVersion = "23.11";
# 让 Home Manager 管理自己
programs.home-manager.enable = true;
}