Files
m3ta-home/profiles/base/default.nix
T
2026-06-06 13:13:58 +02:00

57 lines
1.6 KiB
Nix

# profiles/base/default.nix — Always loaded on every host.
#
# Provides:
# - Shell (nushell, fish, starship) with enable options
# - CLI tools (bat, carapace, direnv, eza, fzf, lf, nitch, television, zellij, zoxide)
# - Secrets management (pass-wayland)
# - 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. 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.
{
lib,
m3taHomeInputs,
pkgs,
...
}: {
imports = [
./shell
./cli-tools
./secrets
];
# ── nixpkgs configuration ──
# NOTE: When used via NixOS with useGlobalPkgs=true, nixpkgs.config is
# managed at the NixOS level. Only set it here for standalone HM usage.
# nixpkgs.config.allowUnfree = true;
# ── Nix settings ──
nix = {
package = lib.mkDefault pkgs.nix;
settings = {
experimental-features = ["nix-command" "flakes"];
warn-dirty = false;
};
};
# ── Color scheme ──
colorScheme = m3taHomeInputs.nix-colors.colorSchemes.dracula;
# ── Base packages ──
home.packages = with pkgs; [
libgtop
];
# ── Home Manager self-management ──
programs.home-manager.enable = true;
# ── Default home state version ──
home.stateVersion = lib.mkDefault "26.05";
}