diff --git a/nix/home-manager/home.nix b/nix/home-manager/home.nix index 430a591..e1cc423 100644 --- a/nix/home-manager/home.nix +++ b/nix/home-manager/home.nix @@ -116,5 +116,6 @@ in { ./modules/packages ./modules/files.nix ./modules/environment.nix + ./modules/services ]; } diff --git a/nix/home-manager/modules/services/default.nix b/nix/home-manager/modules/services/default.nix new file mode 100644 index 0000000..9fa6e2f --- /dev/null +++ b/nix/home-manager/modules/services/default.nix @@ -0,0 +1,5 @@ +{...}: { + imports = [ + ./git-sync.nix + ]; +} diff --git a/nix/home-manager/modules/services/git-sync.nix b/nix/home-manager/modules/services/git-sync.nix new file mode 100644 index 0000000..fc21a26 --- /dev/null +++ b/nix/home-manager/modules/services/git-sync.nix @@ -0,0 +1,11 @@ +{config, ...}: { + services.git-sync = { + enable = true; + repositories = { + "org-roam" = { + path = "${config.home.homeDirectory}/org-roam"; + interval = 300; + }; + }; + }; +}