fix(home): move nix.package fallback to darwin module

This commit is contained in:
Ryan Yin
2026-07-10 12:51:41 +08:00
parent 0bba489dbc
commit 2868b72019
2 changed files with 7 additions and 3 deletions
+6
View File
@@ -1,10 +1,16 @@
{
lib,
mylib,
myvars,
pkgs,
...
}:
{
home.homeDirectory = "/Users/${myvars.username}";
# home-manager's darwin module only forwards the system-level nix.package
# when `nix.enable` is on, so provide a low-priority fallback here.
nix.package = lib.mkDefault pkgs.nix;
imports = (mylib.scanPaths ./.) ++ [
../base/core
../base/tui