fix: make inputs self-contained
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
# profiles/base/default.nix — Always loaded on every host.
|
||||
#
|
||||
# Provides:
|
||||
# - nix-colors and m3ta-nixpkgs HM module imports
|
||||
# - Shell (nushell, fish, starship) with enable options
|
||||
# - CLI tools (bat, carapace, direnv, eza, fzf, lf, nitch, television, zellij, zoxide)
|
||||
# - Secrets management (pass-wayland)
|
||||
@@ -9,21 +8,19 @@
|
||||
# - Base packages
|
||||
#
|
||||
# NOTE: Overlays are NOT set here. The consuming flake (nixos-config) handles
|
||||
# overlays at the NixOS level via nixpkgs.overlays. This module only imports
|
||||
# HM modules and sets user-level preferences.
|
||||
# overlays at the NixOS level via nixpkgs.overlays. External HM modules are
|
||||
# imported by mkHome/modules/default.nix. This module only imports base profile
|
||||
# submodules and sets user-level preferences.
|
||||
#
|
||||
# When used standalone (not through NixOS), overlays should be set by the
|
||||
# standalone HM configuration or by the consuming flake.
|
||||
{
|
||||
inputs,
|
||||
lib,
|
||||
m3taHomeInputs,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
inputs.nix-colors.homeManagerModules.default
|
||||
inputs.m3ta-nixpkgs.homeManagerModules.default
|
||||
|
||||
./shell
|
||||
./cli-tools
|
||||
./secrets
|
||||
@@ -44,7 +41,7 @@
|
||||
};
|
||||
|
||||
# ── Color scheme ──
|
||||
colorScheme = inputs.nix-colors.colorSchemes.dracula;
|
||||
colorScheme = m3taHomeInputs.nix-colors.colorSchemes.dracula;
|
||||
|
||||
# ── Base packages ──
|
||||
home.packages = with pkgs; [
|
||||
|
||||
Reference in New Issue
Block a user