{ lib, config, ... }: let inherit (lib) mkEnableOption mkIf; cfg = config.marleyos.xorg.xsession; in { options.marleyos.xorg.xsession.enable = mkEnableOption "xsession"; config = mkIf cfg.enable { xsession = { enable = true; numlock.enable = true; profileExtra = # sh '' sudo mount -a ''; initExtra = # sh '' mpd & ''; }; }; }