Refactor the Nix config management.
This commit is contained in:
parent
55fe63bcdb
commit
aca053b4e1
23 changed files with 954 additions and 1764 deletions
19
nix-system-configs/modules/secrets/secrets.example.nix
Normal file
19
nix-system-configs/modules/secrets/secrets.example.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
|
||||
# TODO Figure out a better way to manage secrets.
|
||||
local.secrets = {
|
||||
gitUserName = "Your Name";
|
||||
gitUserEmail = "you@example.com";
|
||||
codeberg = {
|
||||
username = "your-codeberg-user";
|
||||
password = "your-codeberg-password-or-token";
|
||||
};
|
||||
sshRootPassword = "changeme";
|
||||
tailscaleAuthKey = "";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue