disable tailscale on installers
Some checks reported errors
Hydra devShells.x86_64-linux.default Hydra build #23874 of nixos-config:pr618:devShells.x86_64-linux.default
Hydra nixosConfigurations.not522 Hydra build #23891 of nixos-config:pr618:nixosConfigurations.not522
Hydra nixosConfigurations.container-default-riscv64-linux Hydra build #23889 of nixos-config:pr618:nixosConfigurations.container-default-riscv64-linux
Hydra nixosConfigurations.container-default-x86_64-linux Hydra build #23890 of nixos-config:pr618:nixosConfigurations.container-default-x86_64-linux
Hydra nixosConfigurations.container-default-aarch64-linux Hydra build #23888 of nixos-config:pr618:nixosConfigurations.container-default-aarch64-linux
Hydra nixosConfigurations.pc-installer Hydra build #23893 of nixos-config:pr618:nixosConfigurations.pc-installer
Hydra checks.x86_64-linux.containers-default Hydra build #23887 of nixos-config:pr618:checks.x86_64-linux.containers-default
Hydra nixosConfigurations.not522-installer Hydra build #23892 of nixos-config:pr618:nixosConfigurations.not522-installer
Some checks reported errors
Hydra devShells.x86_64-linux.default Hydra build #23874 of nixos-config:pr618:devShells.x86_64-linux.default
Hydra nixosConfigurations.not522 Hydra build #23891 of nixos-config:pr618:nixosConfigurations.not522
Hydra nixosConfigurations.container-default-riscv64-linux Hydra build #23889 of nixos-config:pr618:nixosConfigurations.container-default-riscv64-linux
Hydra nixosConfigurations.container-default-x86_64-linux Hydra build #23890 of nixos-config:pr618:nixosConfigurations.container-default-x86_64-linux
Hydra nixosConfigurations.container-default-aarch64-linux Hydra build #23888 of nixos-config:pr618:nixosConfigurations.container-default-aarch64-linux
Hydra nixosConfigurations.pc-installer Hydra build #23893 of nixos-config:pr618:nixosConfigurations.pc-installer
Hydra checks.x86_64-linux.containers-default Hydra build #23887 of nixos-config:pr618:checks.x86_64-linux.containers-default
Hydra nixosConfigurations.not522-installer Hydra build #23892 of nixos-config:pr618:nixosConfigurations.not522-installer
This commit is contained in:
parent
c6e07e644a
commit
5df99ba01d
1 changed files with 15 additions and 8 deletions
|
@ -1,10 +1,17 @@
|
|||
{config, ...}: {
|
||||
services.tailscale = {
|
||||
enable = true;
|
||||
authKeyFile = config.sops.secrets."services/tailscale/authKey".path;
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
with lib; {
|
||||
config = mkIf (!config.isInstaller) {
|
||||
services.tailscale = {
|
||||
enable = true;
|
||||
authKeyFile = config.sops.secrets."services/tailscale/authKey".path;
|
||||
};
|
||||
sops.secrets."services/tailscale/authKey".sopsFile = ./tailscale.yaml;
|
||||
environment.persistence."/persistent".directories = [
|
||||
"/var/lib/tailscale"
|
||||
];
|
||||
};
|
||||
sops.secrets."services/tailscale/authKey".sopsFile = ./tailscale.yaml;
|
||||
environment.persistence."/persistent".directories = [
|
||||
"/var/lib/tailscale"
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue