Make zippy a compute node.
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./cifs-client.nix
|
||||
./consul.nix
|
||||
./glusterfs.nix
|
||||
./glusterfs-client.nix
|
||||
./impermanence.nix
|
||||
./nomad.nix
|
||||
./sshd.nix
|
||||
./user-ppetru.nix
|
||||
./unattended-encryption.nix
|
||||
./systemd-boot.nix
|
||||
];
|
||||
}
|
||||
@@ -12,7 +12,7 @@ in
|
||||
client_addr = "0.0.0.0";
|
||||
datacenter = "alo";
|
||||
server = server_enabled;
|
||||
bootstrap_expect = (builtins.length servers + 2) / 2;
|
||||
bootstrap_expect = if server_enabled then (builtins.length servers + 2) / 2 else null;
|
||||
retry_join = builtins.filter (elem: elem != config.networking.hostName) servers;
|
||||
telemetry = {
|
||||
prometheus_retention_time = "24h";
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
};
|
||||
};
|
||||
zippy = {
|
||||
hostname = "zippy";
|
||||
hostname = "192.168.1.2";
|
||||
profiles.system = {
|
||||
user = "root";
|
||||
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.zippy;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{
|
||||
imports = [
|
||||
../../common/global
|
||||
../../common/cattle-node.nix
|
||||
../../common/compute-node.nix
|
||||
./hardware.nix
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user