23 lines
616 B
Nix
23 lines
616 B
Nix
|
{ config, pkgs, ... }:
|
||
|
{
|
||
|
imports = [
|
||
|
../gpg/default.nix
|
||
|
../shell/git.nix
|
||
|
];
|
||
|
services.git-sync.repositories.password-store = {
|
||
|
path = config.programs.password-store.settings.PASSWORD_STORE_DIR;
|
||
|
uri = "git+https://git.xenia.me.uk/pixelifytica/pass.git";
|
||
|
};
|
||
|
programs = {
|
||
|
gpg.enable = true;
|
||
|
password-store = {
|
||
|
enable = true;
|
||
|
package = pkgs.pass-nodmenu.withExtensions (exts: with exts; [ pass-update ]);
|
||
|
settings = {
|
||
|
PASSWORD_STORE_DIR = "${config.home.homeDirectory}/.password-store";
|
||
|
PASSWORD_STORE_ENABLE_EXTENSIONS = "true";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|