WIP: router: add keepalived
This commit is contained in:
parent
2bd88d7a93
commit
b06982a443
@ -14,6 +14,7 @@ in
|
|||||||
./kea.nix
|
./kea.nix
|
||||||
./glance.nix
|
./glance.nix
|
||||||
./services.nix
|
./services.nix
|
||||||
|
./keepalived.nix
|
||||||
];
|
];
|
||||||
# Secrix for secrets management
|
# Secrix for secrets management
|
||||||
secrix.hostPubKey = vars.pubkey;
|
secrix.hostPubKey = vars.pubkey;
|
||||||
|
10
modules/router/keepalived.nix
Normal file
10
modules/router/keepalived.nix
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
let
|
||||||
|
vaks = import ./vaks.nix config;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
services.keepalived = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user