mirror of
https://github.com/sstent/nixos-cluster.git
synced 2026-01-25 14:42:55 +00:00
sync
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
# ./mnt-clusterstore.nix
|
||||
./nomad.nix
|
||||
./consul.nix
|
||||
./cifs.nix
|
||||
inputs.sops-nix.nixosModules.sops
|
||||
];
|
||||
|
||||
@@ -21,6 +20,20 @@
|
||||
description = "Path to the Secrets storage";
|
||||
};
|
||||
|
||||
options.custom._Networkinterface = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "end0";
|
||||
description = "Network interface name to bind to.";
|
||||
example = "enp3s0";
|
||||
};
|
||||
|
||||
options.custom.VIP_Priority = lib.mkOption {
|
||||
type = lib.types.int;
|
||||
default = 50;
|
||||
description = "Keep alived prority for voting";
|
||||
};
|
||||
|
||||
|
||||
config = {
|
||||
system.stateVersion = "23.11"; # Did you read the comment?
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
Reference in New Issue
Block a user