From cade7fa32ec36dbc32f8ee4a66a3656ebe11092c Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 3 Jul 2015 21:30:31 +0200 Subject: fix for dotfiles by path --- custom/dotfiles.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom/dotfiles.nix b/custom/dotfiles.nix index e45fc2d0..b4ccab62 100644 --- a/custom/dotfiles.nix +++ b/custom/dotfiles.nix @@ -14,8 +14,8 @@ let inherit name; value = '' cd ${dotfiles} - ${findutils}/bin/find . -type d -print0 | ${findutils}/bin/xargs -0 -I '{}' -- mkdir -p "/home/${name}/{}" - ${findutils}/bin/find . -type f -print0 | ${findutils}/bin/xargs -0 -I '{}' -- ln -s -f "${dotfiles}/{}" "/home/${name}/{}" + ${findutils}/bin/find . -type d -print0 | ${findutils}/bin/xargs -0 -I '{}' -- mkdir -p "${name}/{}" + ${findutils}/bin/find . -type f -print0 | ${findutils}/bin/xargs -0 -I '{}' -- ln -s -f "${dotfiles}/{}" "${name}/{}" ''; }; in -- cgit v1.2.3