Remove git-sync services, issues with using pass

Add git-sync as installed package to run syncing manually though

TODO consider an exec line in hyprland or something similar?
This commit is contained in:
Evie Litherland-Smith 2024-01-14 12:54:45 +00:00
parent 6c27ad0a5e
commit 9123788cda
3 changed files with 11 additions and 38 deletions

View file

@ -16,8 +16,7 @@
helper = "${pkgs.pass-git-helper}/bin/pass-git-helper";
};
};
services = {
gpg-agent = rec {
services.gpg-agent = rec {
enable = true;
maxCacheTtl = 86400;
defaultCacheTtl = maxCacheTtl;
@ -27,12 +26,4 @@
no-allow-external-cache
'';
};
git-sync = {
enable = true;
repositories.password-store = {
path = "${config.home.homeDirectory}/.password-store";
uri = "git+https://git.xenia.me.uk/xenia/pass.git";
};
};
};
}

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }: {
{ pkgs, ... }: {
programs.emacs = {
# Clone emacs config from https://git.xenia.me.uk/xenia/emacs.git
enable = true;
@ -102,23 +102,4 @@
elfeed-tube-mpv
];
};
services = {
git-sync = {
enable = true;
repositories = with config.xdg.userDirs; {
org = {
path = "${documents}/Org";
uri = "git+https://git.xenia.me.uk/xenia/org.git";
};
references = {
path = "${documents}/References";
uri = "git+https://git.xenia.me.uk/xenia/references.git";
};
elfeed = {
path = "${config.home.homeDirectory}/.elfeed";
uri = "git+https://git.xenia.me.uk/xenia/elfeed.git";
};
};
};
};
}

View file

@ -9,6 +9,7 @@
libsecret
gnumake
git
git-sync
pinentry
zip
unzip