{
  lib,
  config,
  username,
  ...
}:
let
  cfg = config.server;
in
{
  imports = [ ./base.nix ];

  options = {
    server = {
      enable = lib.mkEnableOption "Enable server in NixOS";
    };
  };
  config = lib.mkIf cfg.enable {
    # Custom modules
    base.enable = true;
    catppuccinTheming.enable = lib.mkForce false;
    packages.enable = lib.mkForce false;

    # Server tweaks
    #virtualization.enable = lib.mkForce false;

    home-manager.users.${username} = { };
  };
}