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