A collection of example NixOS files that be included into configuration.nix on NixOS.
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

28 wiersze
1.1KB

  1. # This is an example secret file for NixOps managed hosts.
  2. #
  3. # You would not normally have this in a public repo and should make sure it's
  4. # in your .gitignore file to prevent accidentally leaking your passwords.
  5. { config, pkgs, ... }:
  6. {
  7. deployment.keys = {
  8. # An example set of keys to be used for the Gitea service's DB authentication
  9. gitea-dbpass = {
  10. text = "uNgiakei+x>i7shuiwaeth3z"; # Password, generated using pwgen -yB 24
  11. user = "gitea"; # User to own the key file
  12. group = "wheel"; # Group to own the key file
  13. permissions = "0640"; # Key file permissions
  14. };
  15. # Database key for TT-RSS
  16. tt-rss-dbpass = {
  17. text = "vaetohH{u9Veegh3caechish"; # Password, generated using pwgen -yB 24
  18. user = "tt_rss"; # User to own the key file
  19. group = "wheel"; # Group to own the key file
  20. permissions = "0640"; # Key file permissions
  21. };
  22. };
  23. }