summaryrefslogtreecommitdiff
path: root/custom/dotfiles.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-07-03 21:30:31 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2015-07-03 21:30:31 +0200
commitcade7fa32ec36dbc32f8ee4a66a3656ebe11092c (patch)
treeeae2f2b91b7d8a49d99d2401816774ad5576186b /custom/dotfiles.nix
parent4445bddfb210a29eced70c5225b11d682b0e7e9f (diff)
downloadnixos-cade7fa32ec36dbc32f8ee4a66a3656ebe11092c.tar
nixos-cade7fa32ec36dbc32f8ee4a66a3656ebe11092c.tar.gz
nixos-cade7fa32ec36dbc32f8ee4a66a3656ebe11092c.tar.bz2
nixos-cade7fa32ec36dbc32f8ee4a66a3656ebe11092c.tar.xz
nixos-cade7fa32ec36dbc32f8ee4a66a3656ebe11092c.zip
fix for dotfiles by path
Diffstat (limited to 'custom/dotfiles.nix')
-rw-r--r--custom/dotfiles.nix4
1 files 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
14 inherit name; 14 inherit name;
15 value = '' 15 value = ''
16 cd ${dotfiles} 16 cd ${dotfiles}
17 ${findutils}/bin/find . -type d -print0 | ${findutils}/bin/xargs -0 -I '{}' -- mkdir -p "/home/${name}/{}" 17 ${findutils}/bin/find . -type d -print0 | ${findutils}/bin/xargs -0 -I '{}' -- mkdir -p "${name}/{}"
18 ${findutils}/bin/find . -type f -print0 | ${findutils}/bin/xargs -0 -I '{}' -- ln -s -f "${dotfiles}/{}" "/home/${name}/{}" 18 ${findutils}/bin/find . -type f -print0 | ${findutils}/bin/xargs -0 -I '{}' -- ln -s -f "${dotfiles}/{}" "${name}/{}"
19 ''; 19 '';
20 }; 20 };
21in 21in