Robert Helgesson
5221dee9ce
home-environment: use Bash to set variables
...
Until a few more standard variables are available to PAM it is a bit
risky to default to it.
7 years ago
Robert Helgesson
30e30688b8
gtk: add module
...
Quite rough around the edges, though.
7 years ago
Robert Helgesson
5fbbbd1ea4
pam: add module
...
Also make it possible to set session variables using PAM rather than
Bash.
7 years ago
Robert Helgesson
f35b9a9970
Add initial section of activation script
...
The initial section creates some useful variables for use by later
activation sections.
7 years ago
Robert Helgesson
8ce389ce2a
home-manager: handle missing configuration file
...
Make it look a little nicer than having nix-build emit the error.
7 years ago
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.
7 years ago
Robert Helgesson
a5c8362f7b
home-manager: improve command line option handling
7 years ago
Robert Helgesson
e0fd58709c
home-manager: improve error checking a bit
7 years ago
Robert Helgesson
ed81b6848e
manual: add module
...
This module is capable of producing a bastardized NixOS configuration
manual with Home Manager configuration options instead.
7 years ago
Robert Helgesson
071e631648
Improve a few description fields
7 years ago
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 >.
7 years ago
Robert Helgesson
75bb0c8efb
gpg-agent: remove deprecated argument
7 years ago
Robert Helgesson
853e28647d
Add basic README file
7 years ago
Robert Helgesson
e0a37be515
home-manager: check output path
...
In particular, error out if the output path already exists.
7 years ago
Robert Helgesson
d02f8b17ef
xresources: add newline to end of file
7 years ago
Robert Helgesson
8d774ec628
home-manager: clean up usage help
7 years ago
Robert Helgesson
3d3a3f6d13
xresources: add module
...
This module adds basic support for configuring X resources.
7 years ago
Robert Helgesson
bd951cda66
home-manager: rename `rebuild` to `switch`
7 years ago
Robert Helgesson
94fd39c41c
home-manager: add `build` command
...
This will build a configuration into an `result` output directory. Does
not create a new generation.
7 years ago
Robert Helgesson
5cb1ede034
firefox: add module
7 years ago
Robert Helgesson
cbc4188b68
home-manager: improve robustness
...
With this commit the activation script is run only if nix-build
succeeded.
7 years ago
Robert Helgesson
a617aeaa73
gnome-terminal: add to packages
7 years ago
Robert Helgesson
4efbf0e090
systemd: minor activation output fix
7 years ago
Robert Helgesson
a578ea9527
xsession: import XAUTHORITY into systemd env
7 years ago
Robert Helgesson
8a196bb62b
systemd: fix quoting in glob pattern
7 years ago
Robert Helgesson
dd0e71d686
Rename xorg.target to graphical-session.target
...
Also make sure graphical-session.target is generated.
7 years ago
Robert Helgesson
06a24c37e5
systemd: add support for creating target files
7 years ago
Robert Helgesson
e4723b51cd
home-manager: make modules path more configurable
7 years ago
Robert Helgesson
37831674e2
home-manager: minor Bash code fixes
7 years ago
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.
7 years ago
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.
7 years ago
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.
7 years ago
Robert Helgesson
d7d02c3ce8
Initial import
7 years ago
Robert Helgesson
e4c63eb66a
Add license
7 years ago