# m3-atlas — primary server, Traefik hub and container host.
# Context: server | Profiles: coding
{lib, ...}: let
  homeLib = import ../lib {inherit lib;};
in {
  imports = [
    (homeLib.mkHomeConfig {
      profiles = ["coding"];
      context = "server";
    })
    ./home-server.nix
  ];

  # Base CLI tools (new namespace)
  base = {
    shell = {
      nushell.enable = true;
      starship.enable = true;
    };
    cliTools = {
      fzf.enable = true;
      nitch.enable = true;
      zellij.enable = true;
    };
  };

  # Coding environment
  coding.editors.neovim.enable = true;
}
