{ config, lib, pkgs, this, ... }: with lib; let cfg = config.nixfiles.modules.profiles.default; in { imports = attrValues (modulesIn ./.); options.nixfiles.modules.profiles.default.enable = mkEnableOption "The most default profile of them all." // { default = true; }; config = mkIf cfg.enable { assertions = [ { assertion = !(with this; isHeadless && isHeadful); message = '' The configuration cannot be both "headful" and "headless" at the same time. ''; } ]; ark.directories = [ "/var/log" ]; nixfiles.modules = { bat.enable = true; eza.enable = true; htop.enable = true; tmux.enable = true; vim.enable = true; }; programs = { less = { enable = true; envVariables.LESSHISTFILE = "-"; }; nano.enable = false; }; environment.systemPackages = with pkgs; [ arping cryptsetup dnsutils file inetutils ldns lshw lsof pciutils psmisc rsync smartmontools socat sysstat tcpdump tree util-linux ]; }; }