Evie Litherland-Smith
fe1f5bb6a2
Move home/services/ files up one level, adjust imports accordingly.
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";
|
|
};
|
|
};
|
|
};
|
|
}
|