aboutsummaryrefslogtreecommitdiff
path: root/modules/xsession.nix (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Apply `nixfmt` on many filesRobert Helgesson2020-02-021-27/+19
|
* xsession: remove bashisms in start scriptsRobert Helgesson2019-09-121-3/+3
| | | | Fixes #836
* keyboard: make the `model` option optionalRobert Helgesson2019-09-051-0/+1
| | | | Also, actually use it in the call to setxkbmap.
* keyboard: make `layout` and `variant` optionalRobert Helgesson2019-09-051-8/+6
| | | | | | | | Also default these options to `null` for state version ≥ 19.09. Fixes #811 Suggested-by: Sean Marshallsay <srm.1708@gmail.com>
* xsession: set RemainAfterExit for setxkbmap.serviceTobias Happ2019-08-151-0/+1
|
* xsession: add option `importedVariables`Robert Helgesson2019-06-231-7/+25
| | | | | | | This option lists the environment variables to be imported into the systemd user session. Also add a basic test of the xsession module.
* home-environment: make `home.keyboard` optionalRobert Helgesson2019-04-111-31/+35
| | | | | When set to `null` then the `xsession` module will not attempt to manage the keyboard settings.
* xsession: add option `xsession.scriptPath`Robert Helgesson2018-09-191-1/+11
| | | | | | | | This option allows overriding the default script path `~/.xsession`. On NixOS, this is needed to allow multiple possible graphical login sessions. Fixes #391.
* Parametrize path to profile directoryMalte Brandy2018-07-311-1/+1
|
* xsession: add option `preferStatusNotifierItems`Robert Helgesson2018-07-241-0/+11
| | | | | The intent is for tray applets to honor this option if they support the SNI protocol.
* Remove deprecated option `home.sessionVariableSetter`Robert Helgesson2018-02-081-2/+1
|
* xsession: source session variables scriptRobert Helgesson2018-01-071-0/+3
|
* files: add option 'executable'Cornelius Mika2017-11-061-1/+1
| | | | | This also deprecates the `home.file.<name?>.mode` option, which is misleading because the Nix store only allows modes 'r--' and 'r-x'.
* xsession: remove `xsession.windowManager` optionRobert Helgesson2017-10-311-147/+82
| | | | | | | | This removes the deprecated use of `xsession.windowManager` as a string. This commit also adjusts the xmonad module to become a full module. I.e., the backwards compatibility hack was removed.
* xsession: prepare for session in `~/.xprofile`Robert Helgesson2017-10-211-3/+22
| | | | | This works around the way NixOS starts up the systemd graphical session target.
* xmonad: add moduleRobert Helgesson2017-10-041-1/+34
| | | | Adapted from #78 and originally authored by Infinisil.
* xsession: deprecate `xsession.windowManager`Robert Helgesson2017-09-301-69/+103
| | | | | | | The intention is for the `xsession.windowManager` option to be available for full modules in the future. The option `xsession.windowManager.command` should now be used to specify the window manager startup command.
* Mark rycee as maintainer for a bunch of modulesRobert Helgesson2017-09-261-0/+2
|
* screen-locker: add moduleNikita Uvarov2017-09-201-0/+1
|
* xsession: rename graphical session target nameRobert Helgesson2017-06-291-2/+2
| | | | | The `he` in `he-graphical-session` doesn't make much sense, change it to `hm` for Home Manager.
* Clean up systemd units for all graphical servicesRobert Helgesson2017-06-261-0/+2
|
* xsession: use systemd graphical targetsRobert Helgesson2017-06-261-14/+9
| | | | | The systemd targets don't allow direct startup so we create our own target for graphical sessions managed by Home Environment.
* xsession: make windowManager option requiredRobert Helgesson2017-05-061-1/+8
| | | | Also add a fairly complicated example.
* xsession: always source `~/.profile`Robert Helgesson2017-01-281-6/+3
| | | | | It seems to be pretty standard to do this so always do it, not just when Bash is the session variable setter.
* pam: add moduleRobert Helgesson2017-01-161-2/+6
| | | | | Also make it possible to set session variables using PAM rather than Bash.
* xsession: improve initialization scriptRobert Helgesson2017-01-151-1/+17
| | | | | | | This adds a `graphical-session-pre` target for things that need to run just before the main session starts. Also adds a loop during shutdown that waits until all deactivating units are gone. Inspired by <https://youtu.be/hq18daxTkLA>.
* xsession: import XAUTHORITY into systemd envRobert Helgesson2017-01-151-0/+1
|
* Rename xorg.target to graphical-session.targetRobert Helgesson2017-01-151-3/+11
| | | | Also make sure graphical-session.target is generated.
* Initial importRobert Helgesson2017-01-141-0/+77