Add basic bitwarden service module
This commit is contained in:
parent
864a0cb5e0
commit
c9efc8c9e0
16
modules/services/bitwarden.nix
Normal file
16
modules/services/bitwarden.nix
Normal 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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue