feat(home): Configure git-sync for ~/org
This commit is contained in:
parent
4f62902ad5
commit
76af33cbed
2 changed files with 14 additions and 0 deletions
|
|
@ -13,6 +13,7 @@
|
||||||
./services/screen-locker
|
./services/screen-locker
|
||||||
./services/blueman-applet
|
./services/blueman-applet
|
||||||
./services/syncthing
|
./services/syncthing
|
||||||
|
./services/git-sync
|
||||||
];
|
];
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
|
|
|
||||||
13
home/alex/services/git-sync/default.nix
Normal file
13
home/alex/services/git-sync/default.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
config.services.git-sync = {
|
||||||
|
enable = true;
|
||||||
|
repositories = {
|
||||||
|
"org" = {
|
||||||
|
path = "${config.home.homeDirectory}/org";
|
||||||
|
uri = "git+ssh://gitea@git.failco.de:jakalx/org.git";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue