add desk_sync to .local/bin, change default flake in makefile to be the cwd, change desk_sync to use sh instead of bash
This commit is contained in:
2
Makefile
2
Makefile
@ -1,6 +1,6 @@
|
||||
HOST ?= $(file < /etc/nixosFlakeName)
|
||||
THREADS ?= $(shell nproc)
|
||||
FLAKE ?= /home/tom/home
|
||||
FLAKE ?= .
|
||||
MODE = switch
|
||||
|
||||
FLAGS = --impure --cores $(THREADS) -j $(THREADS)
|
||||
|
@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
unison /home/tom/Desktop ssh://tom@tmoron.fr:1880//home/tom/Desktop_sync/Desktop $@
|
||||
|
||||
|
4
home.nix
4
home.nix
@ -6,7 +6,7 @@
|
||||
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
||||
# +#+#+#+#+#+ +#+ #
|
||||
# Created: 2024/10/17 18:15:38 by tomoron #+# #+# #
|
||||
# Updated: 2024/10/18 19:42:47 by tomoron ### ########.fr #
|
||||
# Updated: 2024/10/19 14:12:59 by tomoron ### ########.fr #
|
||||
# #
|
||||
# **************************************************************************** #
|
||||
|
||||
@ -52,6 +52,8 @@
|
||||
rev = "c8239a45edced3502894e1716a8b661fdea8f1c9";
|
||||
ref = "master";
|
||||
}}/themes";
|
||||
|
||||
".local/bin/desk_sync".source = dotfiles/local/bin/desk_sync;
|
||||
};
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
|
Reference in New Issue
Block a user