Initial commit

This commit is contained in:
Inex Code
2021-11-15 13:02:05 +03:00
commit 85aaf52635
28 changed files with 1360 additions and 0 deletions

16
passmgr/bitwarden.nix Normal file
View File

@@ -0,0 +1,16 @@
{ pkgs, config, ... }:
let
cfg = config.services.userdata;
in
{
services.bitwarden_rs = {
enable = cfg.bitwarden.enable;
dbBackend = "sqlite";
backupDir = "/var/bitwarden/backup";
config = {
domain = "https://password.${cfg.domain}/";
signupsAllowed = true;
rocketPort = 8222;
};
};
}