2026-05-02 09:08:40 +02:00
|
|
|
# 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)
|
2026-05-02 09:18:59 +02:00
|
|
|
# - Color scheme (dracula)
|
|
|
|
|
# - Base packages
|
|
|
|
|
#
|
|
|
|
|
# NOTE: Overlays are NOT set here. The consuming flake (nixos-config) handles
|
2026-06-06 13:13:58 +02:00
|
|
|
# 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.
|
2026-05-02 09:18:59 +02:00
|
|
|
#
|
|
|
|
|
# When used standalone (not through NixOS), overlays should be set by the
|
|
|
|
|
# standalone HM configuration or by the consuming flake.
|
2026-05-02 09:08:40 +02:00
|
|
|
{
|
|
|
|
|
lib,
|
2026-06-06 13:13:58 +02:00
|
|
|
m3taHomeInputs,
|
2026-05-02 09:08:40 +02:00
|
|
|
pkgs,
|
|
|
|
|
...
|
|
|
|
|
}: {
|
|
|
|
|
imports = [
|
|
|
|
|
./shell
|
|
|
|
|
./cli-tools
|
|
|
|
|
./secrets
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
# ── nixpkgs configuration ──
|
2026-05-02 10:08:40 +02:00
|
|
|
# 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;
|
2026-05-02 09:08:40 +02:00
|
|
|
|
|
|
|
|
# ── Nix settings ──
|
|
|
|
|
nix = {
|
|
|
|
|
package = lib.mkDefault pkgs.nix;
|
|
|
|
|
settings = {
|
|
|
|
|
experimental-features = ["nix-command" "flakes"];
|
|
|
|
|
warn-dirty = false;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# ── Color scheme ──
|
2026-06-06 13:13:58 +02:00
|
|
|
colorScheme = m3taHomeInputs.nix-colors.colorSchemes.dracula;
|
2026-05-02 09:08:40 +02:00
|
|
|
|
|
|
|
|
# ── 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";
|
|
|
|
|
}
|