summaryrefslogtreecommitdiff
path: root/custom/dotfiles.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-07-03 22:42:36 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2015-07-03 22:42:36 +0200
commit2bd63b6e3747d76e1deb83ff1abcffd7ee4fe9c1 (patch)
treedcfbab999ef0ceab2ef8eefcea072b5f84b8c1bc /custom/dotfiles.nix
parent023b9845370c1e10eba3679034e527ff9efdc644 (diff)
downloadnixos-2bd63b6e3747d76e1deb83ff1abcffd7ee4fe9c1.tar
nixos-2bd63b6e3747d76e1deb83ff1abcffd7ee4fe9c1.tar.gz
nixos-2bd63b6e3747d76e1deb83ff1abcffd7ee4fe9c1.tar.bz2
nixos-2bd63b6e3747d76e1deb83ff1abcffd7ee4fe9c1.tar.xz
nixos-2bd63b6e3747d76e1deb83ff1abcffd7ee4fe9c1.zip
fixed path to install
Diffstat (limited to 'custom/dotfiles.nix')
-rw-r--r--custom/dotfiles.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/dotfiles.nix b/custom/dotfiles.nix
index 6b55dd55..4981ac67 100644
--- a/custom/dotfiles.nix
+++ b/custom/dotfiles.nix
@@ -15,7 +15,7 @@ let
15 name = name.dir; 15 name = name.dir;
16 value = '' 16 value = ''
17 cd ${dotfiles} 17 cd ${dotfiles}
18 ${findutils}/bin/find . -type d -print0 | ${findutils}/bin/xargs -0 -I '{}' -- ${coreutils}/install -o ${name.owner} -g ${name.group} -d "${name.dir}/{}" 18 ${findutils}/bin/find . -type d -print0 | ${findutils}/bin/xargs -0 -I '{}' -- ${coreutils}/bin/install -o ${name.owner} -g ${name.group} -d "${name.dir}/{}"
19 ${findutils}/bin/find . -type f -print0 | ${findutils}/bin/xargs -0 -I '{}' -- ln -s -f "${dotfiles}/{}" "${name.dir}/{}" 19 ${findutils}/bin/find . -type f -print0 | ${findutils}/bin/xargs -0 -I '{}' -- ln -s -f "${dotfiles}/{}" "${name.dir}/{}"
20 ${findutils}/bin/find . -type f -print0 | ${findutils}/bin/xargs -0 -I '{}' -- chown -h "${name.owner}:${name.group}" "${name.dir}/{}" 20 ${findutils}/bin/find . -type f -print0 | ${findutils}/bin/xargs -0 -I '{}' -- chown -h "${name.owner}:${name.group}" "${name.dir}/{}"
21 ''; 21 '';