diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-07-15 23:12:58 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-07-15 23:12:58 +0200 |
commit | a5ddf80061c46fff19295ffa56c2e84393c7a411 (patch) | |
tree | d950cd9aa4f868a1805084c75bc97afbeebd0b33 /custom/dotfiles.nix | |
parent | 0c56b240b4882e27e5bc8da6c77a3ebfea129569 (diff) | |
download | nixos-a5ddf80061c46fff19295ffa56c2e84393c7a411.tar nixos-a5ddf80061c46fff19295ffa56c2e84393c7a411.tar.gz nixos-a5ddf80061c46fff19295ffa56c2e84393c7a411.tar.bz2 nixos-a5ddf80061c46fff19295ffa56c2e84393c7a411.tar.xz nixos-a5ddf80061c46fff19295ffa56c2e84393c7a411.zip |
Support for libPöttering (he doesn´t like symlinks)
Diffstat (limited to 'custom/dotfiles.nix')
-rw-r--r-- | custom/dotfiles.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/custom/dotfiles.nix b/custom/dotfiles.nix index c6e22e92..305794da 100644 --- a/custom/dotfiles.nix +++ b/custom/dotfiles.nix | |||
@@ -17,7 +17,8 @@ let | |||
17 | value = '' | 17 | value = '' |
18 | cd ${dotfiles} | 18 | cd ${dotfiles} |
19 | ${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 d -print0 | ${findutils}/bin/xargs -0 -I '{}' -- ${coreutils}/bin/install -o ${name.owner} -g ${name.group} -d "${name.dir}/{}" |
20 | ${findutils}/bin/find . -type f -print0 | ${findutils}/bin/xargs -0 -I '{}' -- ln -s -f "${dotfiles}/{}" "${name.dir}/{}" | 20 | ${findutils}/bin/find . -type f \( -not -path './.config/systemd/*' \) -print0 | ${findutils}/bin/xargs -0 -I '{}' -- ln -s -f "${dotfiles}/{}" "${name.dir}/{}" |
21 | ${findutils}/bin/find . -type f \( -path './.config/systemd/*' \) -print0 | ${findutils}/bin/xargs -0 -I '{}' -- cp -f "${dotfiles}/{}" "${name.dir}/{}" | ||
21 | ${findutils}/bin/find . -type f -print0 | ${findutils}/bin/xargs -0 -I '{}' -- chown -h "${name.owner}:${name.group}" "${name.dir}/{}" | 22 | ${findutils}/bin/find . -type f -print0 | ${findutils}/bin/xargs -0 -I '{}' -- chown -h "${name.owner}:${name.group}" "${name.dir}/{}" |
22 | ''; | 23 | ''; |
23 | }; | 24 | }; |