Logo
Explore Help
Sign In
thary/sp-config
1
0
Fork 0
You've already forked sp-config
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
52b896da457db1f31c7afeef423b92689a903c9b
sp-config/passmgr/bitwarden.nix

17 lines
332 B
Nix
Raw Normal View History

Initial commit
2021-11-15 13:02:05 +03:00
{ pkgs, config, ... }:
let
cfg = config.services.userdata;
in
{
Move secrets out of Nix Store (#19) Nix store is world-readable, and while nix repl fails to get the secret due to file permissions, we should still set up secrets without getting them in Nix store. In the past tmpfiles.d was used, but its entire contents get to the nix store. Now, all files with secrets are generated in activation scripts, with the help of jq and sed. Also dead Pleroma code was deleted, but CAPTCHA is still broken. Co-authored-by: inexcode <inex.code@selfprivacy.org> Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config/pulls/19 Co-authored-by: Inex Code <inex.code@selfprivacy.org> Co-committed-by: Inex Code <inex.code@selfprivacy.org>
2022-07-19 15:18:46 +03:00
services.vaultwarden = {
Initial commit
2021-11-15 13:02:05 +03:00
enable = cfg.bitwarden.enable;
dbBackend = "sqlite";
Fix errors caused by temp files creation
2021-11-17 11:54:36 +03:00
backupDir = "/var/lib/bitwarden/backup";
Initial commit
2021-11-15 13:02:05 +03:00
config = {
domain = "https://password.${cfg.domain}/";
signupsAllowed = true;
rocketPort = 8222;
};
};
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.5 Page: 62ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API