interfaces and package config externalized, also tmux added and version variable
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
{ config, pkgs, ... }: {
|
||||
{ config, lib, pkgs, ... }: {
|
||||
services.keepalived = {
|
||||
enable = true;
|
||||
vrrpInstances = {
|
||||
V4 = {
|
||||
priority = config.vars.ka_priority;
|
||||
interface = "enp1s0";
|
||||
interface = lib.head config.vars.interfaces;
|
||||
virtualRouterId = 69;
|
||||
virtualIps = [
|
||||
{
|
||||
@@ -14,7 +14,7 @@
|
||||
};
|
||||
V6 = {
|
||||
priority = config.vars.ka_priority;
|
||||
interface = "enp1s0";
|
||||
interface = lib.head config.vars.interfaces;
|
||||
virtualRouterId = 96;
|
||||
virtualIps = [
|
||||
{
|
||||
@@ -25,7 +25,3 @@
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user