2024-01-28 17:12:12 +04:00
|
|
|
{
|
|
|
|
outputs,
|
|
|
|
options,
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
2024-08-01 16:02:10 +04:00
|
|
|
let
|
2024-01-28 17:12:12 +04:00
|
|
|
cfg = config.modules.desktop.apps.bitwarden;
|
|
|
|
in {
|
|
|
|
options.modules.desktop.apps.bitwarden = {
|
2024-08-01 16:02:10 +04:00
|
|
|
enable = lib.mkEnableOption false;
|
2024-01-28 17:12:12 +04:00
|
|
|
};
|
|
|
|
|
2024-08-01 16:02:10 +04:00
|
|
|
config = lib.mkIf cfg.enable {
|
2024-01-28 17:12:12 +04:00
|
|
|
users.users.sako.packages = with pkgs; [
|
|
|
|
bitwarden
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|