forked from Deuxfleurs/nixcfg
added forgotten new files for scorpio/abricot
This commit is contained in:
parent
85595a9205
commit
f6c4576b6c
3 changed files with 34 additions and 0 deletions
19
cluster/prod/node/abricot.nix
Normal file
19
cluster/prod/node/abricot.nix
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# Configuration file local to this node
|
||||||
|
|
||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
# Use the systemd-boot EFI boot loader.
|
||||||
|
boot.loader.systemd-boot.enable = true;
|
||||||
|
boot.loader.timeout = 20;
|
||||||
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
|
networking.hostName = "abricot";
|
||||||
|
|
||||||
|
deuxfleurs.network_interface = "eno1";
|
||||||
|
deuxfleurs.lan_ip = "192.168.1.41";
|
||||||
|
deuxfleurs.ipv6 = "2a01:e0a:e4:2dd0::41";
|
||||||
|
|
||||||
|
deuxfleurs.cluster_ip = "10.83.4.1";
|
||||||
|
deuxfleurs.is_raft_server = false;
|
||||||
|
}
|
1
cluster/prod/node/abricot.site.nix
Symbolic link
1
cluster/prod/node/abricot.site.nix
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../site/scorpio.nix
|
14
cluster/prod/site/scorpio.nix
Normal file
14
cluster/prod/site/scorpio.nix
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
deuxfleurs.site_name = "scorpio";
|
||||||
|
deuxfleurs.lan_default_gateway = "192.168.1.254";
|
||||||
|
deuxfleurs.ipv6_default_gateway = "2a01:e0a:e4:2dd0::1";
|
||||||
|
deuxfleurs.lan_ip_prefix_length = 24;
|
||||||
|
deuxfleurs.ipv6_prefix_length = 64;
|
||||||
|
deuxfleurs.nameservers = [ "192.168.1.254" ];
|
||||||
|
deuxfleurs.cname_target = "scorpio.site.deuxfleurs.fr.";
|
||||||
|
deuxfleurs.public_ipv4 = "82.65.41.110";
|
||||||
|
|
||||||
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||||
|
}
|
Loading…
Reference in a new issue