Add basic bitwarden service module

This commit is contained in:
Henrik Lissner 2020-12-18 23:42:52 -05:00
parent 864a0cb5e0
commit c9efc8c9e0
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -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;
};
};
}