fix: remove outputs dependency from base module

Overlays are handled by the consuming flake (nixos-config) at the NixOS
level. The base module now only sets nixpkgs.config and user-level prefs.
This commit is contained in:
2026-05-02 09:18:59 +02:00
parent fbc31450de
commit 8308a85088

View File

@@ -1,17 +1,23 @@
# profiles/base/default.nix — Always loaded on every host.
#
# Provides:
# - nixpkgs overlays and config (unfree, nix-colors, m3ta-nixpkgs)
# - 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)
# - Base packages (libgtop)
# - Color scheme (dracula)
# - 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.
#
# When used standalone (not through NixOS), overlays should be set by the
# standalone HM configuration or by the consuming flake.
{
inputs,
lib,
outputs,
pkgs,
system,
...
}: {
imports = [
@@ -24,23 +30,9 @@
];
# ── nixpkgs configuration ──
nixpkgs = {
overlays = [
outputs.overlays.temp-packages
outputs.overlays.stable-packages
outputs.overlays.locked-packages
outputs.overlays.pinned-packages
outputs.overlays.master-packages
inputs.nur.overlays.default
inputs.m3ta-nixpkgs.overlays.default
inputs.m3ta-nixpkgs.overlays.modifications
(outputs.lib.mkLlmAgentsOverlay system)
];
config = {
allowUnfree = true;
allowUnfreePredicate = _: true;
};
nixpkgs.config = {
allowUnfree = true;
allowUnfreePredicate = _: true;
};
# ── Nix settings ──