nixos/modules/desktop/apps/pass/default.nix
2023-08-10 13:46:14 +03:00

21 lines
346 B
Nix

{
outputs,
options,
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.modules.desktop.apps.pass;
in {
options.modules.desktop.apps.pass = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
(pass.withExtensions (pkgs: with pkgs; [pass-otp]))
];
};
}