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/promtail.nix
|
||||||
../common/services/telegraf.nix
|
../common/services/telegraf.nix
|
||||||
../common/services/tailscale.nix
|
../common/services/tailscale.nix
|
||||||
|
../common/services/openssh.nix
|
||||||
];
|
];
|
||||||
# Generic Tailscale configs are in /nixos/common/services/tailscale.nix
|
# Generic Tailscale configs are in /nixos/common/services/tailscale.nix
|
||||||
# Set up the secrets file:
|
# Set up the secrets file:
|
||||||
# sops.secrets."tailscale_key" = {
|
sops.secrets."tailscale_key" = {
|
||||||
# owner = "root";
|
owner = "root";
|
||||||
# sopsFile = ../../secrets/containers/${hostname}.yaml;
|
sopsFile = ../../secrets/containers/${hostname}.yaml;
|
||||||
# restartUnits = [
|
restartUnits = [
|
||||||
# "tailscaled.service"
|
"tailscaled.service"
|
||||||
# "tailscaled-autoconnect.service"
|
"tailscaled-autoconnect.service"
|
||||||
# ];
|
];
|
||||||
# };
|
};
|
||||||
# services.tailscale.authKeyFile = "/run/secrets/tailscale_key";
|
services.tailscale.authKeyFile = "/run/secrets/tailscale_key";
|
||||||
networking.hostName = "${hostname}";
|
networking.hostName = "${hostname}";
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"/etc/ssh" = {
|
"/etc/ssh" = {
|
||||||
hostPath = "/etc/ssh";
|
hostPath = "/etc/ssh";
|
||||||
mountPath = "/etc/ssh";
|
mountPoint = "/etc/ssh";
|
||||||
isReadOnly = true;
|
isReadOnly = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
|
{
|
||||||
"/etc/nixos/git" = {
|
"/etc/nixos/git" = {
|
||||||
hostPath = "/etc/nixos/git";
|
hostPath = "/etc/nixos/git";
|
||||||
mountPoint = "/etc/nixos/git";
|
mountPoint = "/etc/nixos/git";
|
||||||
isReadOnly = false;
|
isReadOnly = false;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue