Cornelius Mika
b8ddb11796
use buildCommand
for single phase builds
2017-11-06 14:24:04 +01:00
Cornelius Mika
811bc1b8e5
files: extract common variable
...
Also improve the pattern used to determine whether a symlink target
points to a Home Manager file path.
2017-11-06 14:24:04 +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
Cornelius Mika
676f5c4b31
files: allow arbitrary paths as home file names
...
By sanitizing the home file name in the derivation name, the home file
name is no longer exposed to the naming restrictions for nix store
paths.
For example, it is now possible to define home files with spaces in
their names without providing a target or source attribute.
2017-11-06 10:34:45 +01:00
Robert Helgesson
a4c0fead1f
files: be less verbose when linking a directory
2017-10-29 01:21:40 +02:00
Silvan Mosberger
d81276607c
files: support absolute home directory path
2017-10-15 17:15:16 +02:00
Silvan Mosberger
f0a1d69f50
Separate home files module from home-environment.nix
2017-10-15 17:14:32 +02:00