1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-16 11:38:31 +02:00

files: support absolute home directory path

This commit is contained in:
Silvan Mosberger 2017-10-06 00:19:03 +02:00 committed by Robert Helgesson
parent 3bc3b34d97
commit d81276607c
No known key found for this signature in database
GPG Key ID: C3DB11069E65DC86

View File

@ -6,6 +6,7 @@ with import ./lib/dag.nix { inherit lib; };
let
cfg = config.home.file;
homeDirectory = config.home.homeDirectory;
in
@ -19,6 +20,7 @@ in
options = {
target = mkOption {
type = types.str;
apply = removePrefix (homeDirectory + "/");
description = ''
Path to target file relative to <envar>HOME</envar>.
'';