vaultwarden: add nixos unstable module
parent
e63af3984c
commit
c88465abcf
|
@ -21,6 +21,7 @@
|
|||
../../services/gitlab-runner.nix
|
||||
../../services/unifi.nix
|
||||
../../services/lantifa.nix
|
||||
../../services/vaultwarden.nix
|
||||
|
||||
./lxc.nix
|
||||
];
|
||||
|
|
|
@ -5,5 +5,12 @@ in {
|
|||
imports = [
|
||||
./nftnat
|
||||
./decklink.nix
|
||||
"${sources.nixpkgs-unstable}/nixos/modules/services/security/vaultwarden"
|
||||
];
|
||||
|
||||
# disabled since vaultwarden defines a dummy bitwarden_rs option that
|
||||
# shows a deprication warning, which conflicts with this module
|
||||
disabledModules = [
|
||||
"services/security/bitwarden_rs/default.nix"
|
||||
];
|
||||
}
|
||||
|
|
|
@ -60,7 +60,7 @@ let
|
|||
'';
|
||||
};
|
||||
|
||||
inherit (unstable) bottom;
|
||||
inherit (unstable) bottom vaultwarden vaultwarden-vault;
|
||||
};
|
||||
|
||||
in pkgs.extend(_: _: newpkgs)
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.vaultwarden = {
|
||||
enable = true;
|
||||
# TODO!
|
||||
config = {};
|
||||
|
||||
dbBackend = "sqlite";
|
||||
|
||||
backupDir = "/persist/data/vaultwarden";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue