All checks were successful
Check flake / build-amd64-linux (push) Successful in 3m14s
19 lines
369 B
Nix
19 lines
369 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
let cfg = config.modules.programs.pass;
|
|
in {
|
|
options.modules.programs.pass = {
|
|
enable = lib.mkOption {
|
|
default = false;
|
|
example = true;
|
|
};
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
home.programs.password-store = {
|
|
enable = true;
|
|
package = pkgs.pass.withExtensions (exts: [ exts.pass-otp ]);
|
|
};
|
|
};
|
|
}
|