Add explicit vaultwarden version
This commit is contained in:
parent
f155382789
commit
0233a84edc
|
@ -13,6 +13,10 @@ let
|
||||||
notificationsPort = 8002;
|
notificationsPort = 8002;
|
||||||
|
|
||||||
host = "bw.nkagami.me";
|
host = "bw.nkagami.me";
|
||||||
|
|
||||||
|
package = pkgs.unstable.vaultwarden-postgresql.overrideAttrs (attrs: {
|
||||||
|
VW_VERSION = "2023.9.0";
|
||||||
|
});
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.cloud.bitwarden = {
|
options.cloud.bitwarden = {
|
||||||
|
@ -65,7 +69,7 @@ in
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
User = user;
|
User = user;
|
||||||
Group = user;
|
Group = user;
|
||||||
ExecStart = "${pkgs.unstable.vaultwarden-postgresql}/bin/vaultwarden";
|
ExecStart = "${package}/bin/vaultwarden";
|
||||||
EnvironmentFile = lists.optional (cfg.envFile != null) cfg.envFile;
|
EnvironmentFile = lists.optional (cfg.envFile != null) cfg.envFile;
|
||||||
LimitNOFILE = "1048576";
|
LimitNOFILE = "1048576";
|
||||||
PrivateTmp = "true";
|
PrivateTmp = "true";
|
||||||
|
|
Loading…
Reference in a new issue