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:
parent
6c27ad0a5e
commit
9123788cda
|
@ -16,23 +16,14 @@
|
|||
helper = "${pkgs.pass-git-helper}/bin/pass-git-helper";
|
||||
};
|
||||
};
|
||||
services = {
|
||||
gpg-agent = rec {
|
||||
enable = true;
|
||||
maxCacheTtl = 86400;
|
||||
defaultCacheTtl = maxCacheTtl;
|
||||
defaultCacheTtlSsh = maxCacheTtl;
|
||||
pinentryFlavor = lib.mkDefault "curses";
|
||||
extraConfig = ''
|
||||
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";
|
||||
};
|
||||
};
|
||||
services.gpg-agent = rec {
|
||||
enable = true;
|
||||
maxCacheTtl = 86400;
|
||||
defaultCacheTtl = maxCacheTtl;
|
||||
defaultCacheTtlSsh = maxCacheTtl;
|
||||
pinentryFlavor = lib.mkDefault "curses";
|
||||
extraConfig = ''
|
||||
no-allow-external-cache
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
libsecret
|
||||
gnumake
|
||||
git
|
||||
git-sync
|
||||
pinentry
|
||||
zip
|
||||
unzip
|
||||
|
|
Loading…
Reference in a new issue