modules/${class}/default.nix # imported by easy-hosts.perClass.modules

  imports = [
    ../base # common across all systems

    ./base
    ./hardware
    ./shell # WM/DE
    ./programs
    ./services

    ./profiles.nix # enable/disable items
  ];



modules/base/default.nix

  imports = [
    ../options # custom options used for deciding other config

    {...} # modules w/i base

    ./home.nix # home-manager setup; imports modules/home
  ];



modules/home/default.nix # HOME MANAGER OPTIONS ONLY

  imports = [
    ../options

    {...}

    ./shell # WM/DE
    ./programs
        # ${program}.nix - OS check here if needed
    ./services
        # ${service}.nix - OS check here if needed

    ./profiles.nix # enable/disable items
  ];
