From c9efc8c9e074bc21448e557ffa510b8659203133 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 18 Dec 2020 23:42:52 -0500 Subject: [PATCH] Add basic bitwarden service module --- modules/services/bitwarden.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 modules/services/bitwarden.nix 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; + }; + }; +}