Test with agenix secrets
This commit is contained in:
parent
3236fb34de
commit
189ae77b0a
1 changed files with 6 additions and 1 deletions
|
|
@ -5,13 +5,18 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
|
|
||||||
|
age.secrets = {
|
||||||
|
tailscale-authKey.file = ../../secrets/tailscale-authKey.age;
|
||||||
|
};
|
||||||
|
|
||||||
my = {
|
my = {
|
||||||
utils.commons.enable = true;
|
utils.commons.enable = true;
|
||||||
|
|
||||||
networking.tailscale = {
|
networking.tailscale = {
|
||||||
enable = false;
|
enable = false;
|
||||||
exitNode = "vps";
|
exitNode = "vps";
|
||||||
# authKeyFile = builtins.toFile "authKey" ''${parameters.tailscaleAuthKey}'';
|
authKeyFile = config.age.secrets.tailscale-authKey.path;
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualisation = {
|
virtualisation = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue