]> git.rmz.io Git - dotfiles.git/blobdiff - Makefile
nvim/ui: disable Noice
[dotfiles.git] / Makefile
index 2fc6f2c98fd5868750c0376c9d3b571a8f767461..22365daf49fb00d667ffbb2b07d91ac069efaeed 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -117,8 +117,9 @@ ssh:
        ln -sfT $(APATH)/ssh/config ~/.ssh/config
 .PHONY: ssh
 
+# copy system files, do not link, it doesn't work if home is encrypted
 /etc/systemd/system/%: systemd/system/%
-       sudo ln -s $(APATH)/$< $@
+       sudo cp $(APATH)/$< $@
 
 systemd_system_units := $(patsubst %,/etc/%,$(wildcard systemd/system/*))
 systemd: $(XDG_CONFIG_HOME) $(systemd_system_units)
@@ -126,7 +127,7 @@ systemd: $(XDG_CONFIG_HOME) $(systemd_system_units)
 .PHONY: systemd
 
 task: $(XDG_CONFIG_HOME)
-       ln -sfT $(APATH)/taskrc $(XDG_CONFIG_HOME)/taskrc
+       ln -sfT $(APATH)/$@ $(XDG_CONFIG_HOME)/$@
 .PHONY: task
 
 tmux: $(XDG_CONFIG_HOME)