23 lines
343 B
Nix
23 lines
343 B
Nix
{
|
|
lib,
|
|
config,
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
inherit (lib) mkIf mkOption types;
|
|
in
|
|
{
|
|
options.smayzy.bitwarden.enable = mkOption {
|
|
type = types.bool;
|
|
default = false;
|
|
description = "bitwarden";
|
|
};
|
|
|
|
config = mkIf config.smayzy.bitwarden.enable {
|
|
environment.systemPackages = with pkgs; [
|
|
bitwarden-desktop
|
|
];
|
|
};
|
|
}
|