Commit graph

18 commits

Author SHA1 Message Date
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
bd951cda66
home-manager: rename rebuild to switch 2017-01-15 23:42:46 +01:00
Robert Helgesson
94fd39c41c
home-manager: add build command
This will build a configuration into an `result` output directory. Does
not create a new generation.
2017-01-15 23:42:46 +01:00
Robert Helgesson
5cb1ede034
firefox: add module 2017-01-15 23:42:46 +01:00
Robert Helgesson
cbc4188b68
home-manager: improve robustness
With this commit the activation script is run only if nix-build
succeeded.
2017-01-15 23:42:03 +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
e4723b51cd
home-manager: make modules path more configurable 2017-01-15 23:41:39 +01:00
Robert Helgesson
37831674e2
home-manager: minor Bash code fixes 2017-01-15 23:41:34 +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
671805009c
home-manager: use absolute path to configuration
Nix needs an absolute path and the user may have given a relative path
for the configuration file. We therefore need to expand it using the
`realpath` tool.
2017-01-15 23:40:31 +01:00
Robert Helgesson
a1cb111cc3
home-manager: handle missing home-manager-path
When listing packages we have to handle the case where the rebuild
command has not yet been run.
2017-01-15 23:40:22 +01:00
Robert Helgesson
d7d02c3ce8
Initial import 2017-01-14 13:15:24 +01:00
Robert Helgesson
e4c63eb66a
Add license 2017-01-14 13:15:19 +01:00