diff --git a/modules/services/bitwarden.nix b/modules/services/bitwarden.nix new file mode 100644 index 00000000..4b52ac0c --- /dev/null +++ b/modules/services/bitwarden.nix @@ -0,0 +1,16 @@ +{ options, config, lib, pkgs, ... }: + +with lib; +with lib.my; +let cfg = config.modules.services.bitwarden; +in { + options.modules.services.bitwarden = { + enable = mkBoolOpt false; + }; + + config = mkIf cfg.enable { + services.bitwarden_rs = { + enable = true; + }; + }; +}