Browse Source

Init of NixOps secrets

master
Craige McWhirter 11 months ago
parent
commit
4ec3eccb6d
Signed by: craige <craige@mcwhirter.com.au> GPG Key ID: A4122FF3971B6865
1 changed files with 18 additions and 0 deletions
  1. +18
    -0
      secrets.nix

+ 18
- 0
secrets.nix View File

@@ -0,0 +1,18 @@
# This is an example secret file for NixOps managed hosts.
#
# You would not normally have this in a public repo and should make sure it's
# in your .gitignore file to prevent accidentally leaking your passwords.

{ config, pkgs, ... }:

{
deployment.keys = {
# An example set of keys to be used for the Gitea service's DB authentication
gitea-dbpass = {
text = "uNgiakei+x>i7shuiwaeth3z"; # Password, generated using pwgen -yB 24
user = "gitea"; # User to own the key file
group = "wheel"; # Group to own the key file
permissions = "0640"; # Key file permissions
};
};
}

Loading…
Cancel
Save