[Nix-dev] Launching custom xsession
Arseniy Seroka
ars.seroka at gmail.com
Sat Jul 25 15:38:55 CEST 2015
Hello!
You can use something like this [1]
[1]https://github.com/jagajaga/my_configs/blob/master/nixconfigs/common_configuration.nix#L115
--
Sincerely,
Arseniy Seroka
On 25 July 2015 16:37:44 Arseniy Seroka <senia00 at gmail.com> wrote:
> Hello!
>
> You can use something like this [1]
>
> [1]
> https://github.com/jagajaga/my_configs/blob/master/nixconfigs/common_configuration.nix#L115
>
>
> On 25 July 2015 16:25:41 Ruben Astudillo <ruben.astud at gmail.com> wrote:
>
>> On other distros I defined a custom XMonad xsession on the following way.
>> I put a xmonadCustom.desktop on /usr/share/xsessions like this
>>
>> [Desktop Entry]
>> Encoding=UTF-8
>> Type=XSession
>> Exec=/usr/local/bin/xmonadCustom
>> TryExec=/usr/local/bin/xmonadCustom
>> Name=XMonadCustom
>>
>> Where xmonadCustom was a script on /usr/local/bin that was of this form
>>
>> #!/bin/sh
>>
>> numlockx &
>> taffybar &
>> xfce4-clipman &
>> redshift -l -33.03:-71.43 &
>> taralli &
>> pasystray &
>> exec xmonad
>>
>> I know this was hacky and I would like to know the proper way to set
>> something like this on NixOS. On IRC somebody mentioned using systemd
>> units but I can't find further info on the wiki. Currently I am using a
>> pure xmonad setup by using
>>
>> services.xserver.windowManager.xmonad.enable = true;
>>
>> As said on man configuration.nix. Still would appreciate feedback.
>>
>> --
>> Ruben Astudillo OpenPGP: 0x3C332311
>> Crear un haiku, en diecisiete silabas, es complica...
>> _______________________________________________
>> nix-dev mailing list
>> nix-dev at lists.science.uu.nl
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>
More information about the nix-dev
mailing list