2023-08-09 19:47:20 +04:00
|
|
|
{
|
|
|
|
outputs,
|
|
|
|
options,
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
with lib; let
|
|
|
|
cfg = config.modules.desktop.apps.pass;
|
|
|
|
in {
|
|
|
|
options.modules.desktop.apps.pass = {
|
|
|
|
enable = mkEnableOption false;
|
|
|
|
};
|
|
|
|
|
2023-08-10 02:49:11 +04:00
|
|
|
config = mkIf cfg.enable {
|
|
|
|
users.users.sako.packages = with pkgs; [
|
2023-08-10 14:46:14 +04:00
|
|
|
(pass.withExtensions (pkgs: with pkgs; [pass-otp]))
|
2023-08-10 02:49:11 +04:00
|
|
|
];
|
|
|
|
};
|
2023-08-09 19:47:20 +04:00
|
|
|
}
|