force etcd 3.5 in a different way
This commit is contained in:
parent
66c5787bba
commit
68b585e7e0
1 changed files with 2 additions and 7 deletions
|
@ -430,13 +430,6 @@
|
|||
|
||||
in
|
||||
{
|
||||
overlays = [
|
||||
(
|
||||
self: super: {
|
||||
etcd = super.etcd_3_5;
|
||||
}
|
||||
)
|
||||
];
|
||||
|
||||
deployment.keys."private_key" = {
|
||||
text = cfg.hosts.${name}.private_key;
|
||||
|
@ -703,6 +696,8 @@
|
|||
else
|
||||
"";
|
||||
|
||||
systemd.services.etcd.serviceConfig.ExecStart = if (cfg.hosts.${name}.role == "etcd") then "${pkgs.etcd_5_5}/bin/etcd" else "";
|
||||
|
||||
services.etcd = lib.mkIf (cfg.hosts.${name}.role == "etcd") {
|
||||
enable = true;
|
||||
name = "${name}.${config.networking.domain}";
|
||||
|
|
Loading…
Add table
Reference in a new issue