Robert Helgesson
c13c1b33d9
xsession: remove bashisms in start scripts
...
Fixes #836
(cherry picked from commit 0dfa1eef25
)
2019-09-17 22:54:56 +02:00
Tobias Happ
634a909ddc
xsession: set RemainAfterExit for setxkbmap.service
...
(cherry picked from commit 2eae9daae7
)
2019-08-29 19:16:14 +02:00
Robert Helgesson
b6e1d82685
home-environment: make home.keyboard
optional
...
When set to `null` then the `xsession` module will not attempt to
manage the keyboard settings.
2019-04-11 01:09:27 +02:00
Robert Helgesson
9f0fdc68a9
xsession: add option xsession.scriptPath
...
This option allows overriding the default script path `~/.xsession`.
On NixOS, this is needed to allow multiple possible graphical login
sessions.
Fixes #391 .
2018-09-19 23:33:13 +02:00
Malte Brandy
c18b1328a5
Parametrize path to profile directory
2018-07-31 16:04:19 +02:00
Robert Helgesson
6ae2d74fca
xsession: add option preferStatusNotifierItems
...
The intent is for tray applets to honor this option if they support
the SNI protocol.
2018-07-24 12:53:20 +02:00
Robert Helgesson
9ea353569a
Remove deprecated option home.sessionVariableSetter
2018-02-08 22:54:29 +01:00
Robert Helgesson
a3250dfac7
xsession: source session variables script
2018-01-07 17:52:13 +01:00
Cornelius Mika
ccb291ce66
files: add option 'executable'
...
This also deprecates the `home.file.<name?>.mode` option, which is
misleading because the Nix store only allows modes 'r--' and 'r-x'.
2017-11-06 14:24:04 +01:00
Robert Helgesson
78a1424582
xsession: remove xsession.windowManager
option
...
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.
2017-10-31 14:05:54 +01:00
Robert Helgesson
3346c7f455
xsession: prepare for session in ~/.xprofile
...
This works around the way NixOS starts up the systemd graphical
session target.
2017-10-21 14:37:30 +02:00
Robert Helgesson
9c859d2655
xmonad: add module
...
Adapted from #78 and originally authored by Infinisil.
2017-10-04 20:36:31 +02:00
Robert Helgesson
23d3539fcb
xsession: deprecate xsession.windowManager
...
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.
2017-09-30 12:48:47 +02:00
Robert Helgesson
a8e08d14bb
Mark rycee as maintainer for a bunch of modules
2017-09-26 23:40:31 +02:00
Nikita Uvarov
3e4f7228a0
screen-locker: add module
2017-09-20 17:16:21 +02:00
Robert Helgesson
4c85ff7ff2
xsession: rename graphical session target name
...
The `he` in `he-graphical-session` doesn't make much sense, change it
to `hm` for Home Manager.
2017-06-29 00:24:29 +02:00
Robert Helgesson
9c17c5ccbb
Clean up systemd units for all graphical services
2017-06-26 18:42:27 +02:00
Robert Helgesson
acf8d4e985
xsession: use systemd graphical targets
...
The systemd targets don't allow direct startup so we create our own
target for graphical sessions managed by Home Environment.
2017-06-26 18:31:55 +02:00
Robert Helgesson
3c69c7589a
xsession: make windowManager option required
...
Also add a fairly complicated example.
2017-05-06 13:01:07 +02:00
Robert Helgesson
11ef3873cd
xsession: always source ~/.profile
...
It seems to be pretty standard to do this so always do it, not just when
Bash is the session variable setter.
2017-01-28 18:29:27 +01:00
Robert Helgesson
5fbbbd1ea4
pam: add module
...
Also make it possible to set session variables using PAM rather than
Bash.
2017-01-16 23:54:45 +01:00
Robert Helgesson
6ec3026e51
xsession: improve initialization script
...
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 >.
2017-01-15 23:42:48 +01:00
Robert Helgesson
a578ea9527
xsession: import XAUTHORITY into systemd env
2017-01-15 23:42:03 +01:00
Robert Helgesson
dd0e71d686
Rename xorg.target to graphical-session.target
...
Also make sure graphical-session.target is generated.
2017-01-15 23:41:53 +01:00
Robert Helgesson
d7d02c3ce8
Initial import
2017-01-14 13:15:24 +01:00