diff --git a/Makefile b/Makefile index c916c9c..6e8a9c3 100644 --- a/Makefile +++ b/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) diff --git a/dotfiles/local/bin/desk_sync b/dotfiles/local/bin/desk_sync index 0caf160..143f009 100755 --- a/dotfiles/local/bin/desk_sync +++ b/dotfiles/local/bin/desk_sync @@ -1,3 +1,3 @@ -#!/bin/bash +#!/bin/sh unison /home/tom/Desktop ssh://tom@tmoron.fr:1880//home/tom/Desktop_sync/Desktop $@ diff --git a/home.nix b/home.nix index 5227d65..2311378 100644 --- a/home.nix +++ b/home.nix @@ -6,7 +6,7 @@ # 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"; ref = "master"; }}/themes"; + + ".local/bin/desk_sync".source = dotfiles/local/bin/desk_sync; }; programs.home-manager.enable = true;