Commit graph

1367 commits

Author SHA1 Message Date
Robert Helgesson f35b9a9970
Add initial section of activation script
The initial section creates some useful variables for use by later
activation sections.
2017-01-16 20:33:53 +01:00
Robert Helgesson b1f84ada60
Support dry run in activation script
If the `DRY_RUN` variable is set then no actual change should be
performed. Only printing what actions would be taken.
2017-01-16 00:16:22 +01:00
Robert Helgesson ed81b6848e
manual: add module
This module is capable of producing a bastardized NixOS configuration
manual with Home Manager configuration options instead.
2017-01-15 23:42:48 +01:00
Robert Helgesson 071e631648
Improve a few description fields 2017-01-15 23:42:48 +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 75bb0c8efb
gpg-agent: remove deprecated argument 2017-01-15 23:42:47 +01:00
Robert Helgesson d02f8b17ef
xresources: add newline to end of file 2017-01-15 23:42:47 +01:00
Robert Helgesson 3d3a3f6d13
xresources: add module
This module adds basic support for configuring X resources.
2017-01-15 23:42:47 +01:00
Robert Helgesson 5cb1ede034
firefox: add module 2017-01-15 23:42:46 +01:00
Robert Helgesson a617aeaa73
gnome-terminal: add to packages 2017-01-15 23:42:03 +01:00
Robert Helgesson 4efbf0e090
systemd: minor activation output fix 2017-01-15 23:42:03 +01:00
Robert Helgesson a578ea9527
xsession: import XAUTHORITY into systemd env 2017-01-15 23:42:03 +01:00
Robert Helgesson 8a196bb62b
systemd: fix quoting in glob pattern 2017-01-15 23:42:02 +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 06a24c37e5
systemd: add support for creating target files 2017-01-15 23:41:52 +01:00
Robert Helgesson 43fd747ba7
Use a generation directory
Before we put only user files in the generation directory but that was
quite limiting. In particular, we lost track of the activation script.
2017-01-15 23:41:20 +01:00
Robert Helgesson d7d02c3ce8
Initial import 2017-01-14 13:15:24 +01:00