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:
@@ -1,17 +1,23 @@
|
|||||||
# profiles/base/default.nix — Always loaded on every host.
|
# profiles/base/default.nix — Always loaded on every host.
|
||||||
#
|
#
|
||||||
# Provides:
|
# 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
|
# - Shell (nushell, fish, starship) with enable options
|
||||||
# - CLI tools (bat, carapace, direnv, eza, fzf, lf, nitch, television, zellij, zoxide)
|
# - CLI tools (bat, carapace, direnv, eza, fzf, lf, nitch, television, zellij, zoxide)
|
||||||
# - Secrets management (pass-wayland)
|
# - 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,
|
inputs,
|
||||||
lib,
|
lib,
|
||||||
outputs,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
system,
|
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
@@ -24,23 +30,9 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
# ── nixpkgs configuration ──
|
# ── nixpkgs configuration ──
|
||||||
nixpkgs = {
|
nixpkgs.config = {
|
||||||
overlays = [
|
allowUnfree = true;
|
||||||
outputs.overlays.temp-packages
|
allowUnfreePredicate = _: true;
|
||||||
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;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# ── Nix settings ──
|
# ── Nix settings ──
|
||||||
|
|||||||
Reference in New Issue
Block a user