This commit is contained in:
2026-05-30 22:43:26 +08:00
parent d4bab76f0f
commit 66f91f8506
3 changed files with 60 additions and 3 deletions
+10 -1
View File
@@ -18,6 +18,11 @@
inputs.home-manager.follows = "home-manager";
};
spicetify-nix = {
url = "github:Gerg-L/spicetify-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
# 输出(最终建成的系统)
@@ -36,7 +41,11 @@
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.sharedModules = [ plasma-manager.homeModules.plasma-manager ];
home-manager.extraSpecialArgs = { inherit inputs; };
home-manager.sharedModules = [
plasma-manager.homeModules.plasma-manager
inputs.spicetify-nix.homeManagerModules.default
];
# ⚠️ 极其重要:把这里的 "luodh" 替换成你在 NixOS 里登录的实际系统用户名
home-manager.users.luodh = import ./home.nix;