diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-07-03 21:30:31 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-07-03 21:30:31 +0200 |
commit | cade7fa32ec36dbc32f8ee4a66a3656ebe11092c (patch) | |
tree | eae2f2b91b7d8a49d99d2401816774ad5576186b /custom/dotfiles.nix | |
parent | 4445bddfb210a29eced70c5225b11d682b0e7e9f (diff) | |
download | nixos-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.nix | 4 |
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 | }; |
21 | in | 21 | in |