{ config, lib, namespace, options, pkgs, ... }: with lib; with lib.${namespace}; let cfg = config.${namespace}.submodules.basics; in { options.${namespace}.submodules.basics = with types; { enable = mkEnableOption "Whether or not to enable basic configuration."; }; config = mkIf cfg.enable { environment.systemPackages = with pkgs; [ neofetch fd tree ripgrep fzf eza #optional pciutils usbutils btop ]; ${namespace} = { nix = enabled; apps.cli-apps.helix = enabled; tools = { git = enabled; }; system.hardware = { networking = enabled; }; system = { boot = enabled; fonts = enabled; locale = enabled; time = enabled; xkb = enabled; }; }; }; }