diff options
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..f96675e1 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 --remove-destination "${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 | }; |