mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-15 09:12:42 +02:00
fix(home): move nix.package fallback to darwin module
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user