Add copy-links arg to rsync command

This commit is contained in:
Evie Litherland-Smith 2023-06-27 14:05:56 +01:00
parent 1ec3a4484c
commit ce9fa7c342

View file

@ -1,10 +1,10 @@
{...}: { {...}: {
imports = [./default.nix ./git/work.nix ./ssh/work.nix]; imports = [./default.nix ./git/work.nix ./ssh/work.nix];
programs.fish.functions.fsync = '' programs.fish.functions.fsync = ''
rsync -avz --filter=':- .gitignore' --exclude='.git*'\ rsync -avz --copy-links --filter=':- .gitignore' --exclude='.git*'\
--delete-during --delete-excluded\ --delete-during --delete-excluded\
$HOME/.config/nvim/ freia:.config/nvim $HOME/.config/nvim/ freia:.config/nvim
rsync -avz --delete-during --delete-excluded\ rsync -avz --copy-links --delete-during --delete-excluded\
$HOME/.config/starship.toml freia:.config/starship.toml $HOME/.config/starship.toml freia:.config/starship.toml
''; '';
programs.firefox.profiles.default = { programs.firefox.profiles.default = {