test
This commit is contained in:
parent
91bda7ab1c
commit
faa4f9a41e
3 changed files with 17 additions and 14 deletions
|
@ -8,17 +8,18 @@
|
|||
../common/services/promtail.nix
|
||||
../common/services/telegraf.nix
|
||||
../common/services/tailscale.nix
|
||||
../common/services/openssh.nix
|
||||
];
|
||||
# Generic Tailscale configs are in /nixos/common/services/tailscale.nix
|
||||
# Set up the secrets file:
|
||||
# sops.secrets."tailscale_key" = {
|
||||
# owner = "root";
|
||||
# sopsFile = ../../secrets/containers/${hostname}.yaml;
|
||||
# restartUnits = [
|
||||
# "tailscaled.service"
|
||||
# "tailscaled-autoconnect.service"
|
||||
# ];
|
||||
# };
|
||||
# services.tailscale.authKeyFile = "/run/secrets/tailscale_key";
|
||||
sops.secrets."tailscale_key" = {
|
||||
owner = "root";
|
||||
sopsFile = ../../secrets/containers/${hostname}.yaml;
|
||||
restartUnits = [
|
||||
"tailscaled.service"
|
||||
"tailscaled-autoconnect.service"
|
||||
];
|
||||
};
|
||||
services.tailscale.authKeyFile = "/run/secrets/tailscale_key";
|
||||
networking.hostName = "${hostname}";
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"/etc/ssh" = {
|
||||
hostPath = "/etc/ssh";
|
||||
mountPath = "/etc/ssh";
|
||||
mountPoint = "/etc/ssh";
|
||||
isReadOnly = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
{
|
||||
"/etc/nixos/git" = {
|
||||
hostPath = "/etc/nixos/git";
|
||||
mountPoint = "/etc/nixos/git";
|
||||
isReadOnly = false;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue