marleyos/modules/home/xorg/xsession/default.nix

29 lines
418 B
Nix

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