mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 00:57:22 +01:00
13 lines
419 B
Nix
13 lines
419 B
Nix
{ lib, config, pkgs, ... }:
|
|
{
|
|
options.swarselsystems.modules.passwordstore = lib.mkEnableOption "passwordstore settings";
|
|
config = lib.mkIf config.swarselsystems.modules.passwordstore {
|
|
programs.password-store = {
|
|
enable = true;
|
|
settings = {
|
|
PASSWORD_STORE_DIR = "$HOME/.local/share/password-store";
|
|
};
|
|
package = pkgs.pass.withExtensions (exts: [ exts.pass-otp ]);
|
|
};
|
|
};
|
|
}
|