Files
nixos-config/home.nix
T
2026-03-29 17:10:53 +08:00

29 lines
761 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{ 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;
}