chore: Initial commit.
This commit is contained in:
parent
8fd5c7566a
commit
3588bf43b9
10 changed files with 290 additions and 3 deletions
13
secrets.example.nix
Normal file
13
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