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)
|
HOST ?= $(file < /etc/nixosFlakeName)
|
||||||
THREADS ?= $(shell nproc)
|
THREADS ?= $(shell nproc)
|
||||||
FLAKE ?= /home/tom/home
|
FLAKE ?= .
|
||||||
MODE = switch
|
MODE = switch
|
||||||
|
|
||||||
FLAGS = --impure --cores $(THREADS) -j $(THREADS)
|
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 $@
|
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> +#+ +:+ +#+ #
|
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
||||||
# +#+#+#+#+#+ +#+ #
|
# +#+#+#+#+#+ +#+ #
|
||||||
# Created: 2024/10/17 18:15:38 by tomoron #+# #+# #
|
# 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";
|
rev = "c8239a45edced3502894e1716a8b661fdea8f1c9";
|
||||||
ref = "master";
|
ref = "master";
|
||||||
}}/themes";
|
}}/themes";
|
||||||
|
|
||||||
|
".local/bin/desk_sync".source = dotfiles/local/bin/desk_sync;
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
Reference in New Issue
Block a user