chore: Restructure files.
This commit is contained in:
parent
a2b6441b77
commit
7ac7eee0e0
8 changed files with 0 additions and 11 deletions
13
nixinfra/secrets.example.nix
Normal file
13
nixinfra/secrets.example.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
# Example secrets configuration
|
||||
# There is a better way to do this, but this works.
|
||||
|
||||
# To get started:
|
||||
# 1. Copy this file to 'secrets.nix'
|
||||
# 2. Run uuidgen (or some other algorithm) to generate a shared secret, and replace services.k3s.token's value with that
|
||||
# 3. Profit!
|
||||
|
||||
let
|
||||
pkgs = import <nixpkgs> {};
|
||||
in {
|
||||
services.k3s.token = "shared.secret.here";
|
||||
}
|
Reference in a new issue