{ lib, config, ... }: let cfg = config.snowhawk.user; in { options.snowhawk.user = { enable = lib.mkEnableOption "user"; }; config = lib.mkIf cfg.enable rec { home.username = lib.mkDefault "ravenshade"; home.homeDirectory = lib.mkDefault "/home/${config.home.username}"; home.sessionPath = [ "${config.home.homeDirectory}/.cargo/bin" ]; }; }