Serge Bazanski | 55a486a | 2022-06-11 18:27:01 +0000 | [diff] [blame] | 1 | { config, pkgs, ... }: |
| 2 | |
| 3 | with builtins; |
| 4 | |
| 5 | rec { |
| 6 | networking.hostName = "bc01n02"; |
| 7 | # TODO: undefine fqdn and define domain after big nix change |
| 8 | hscloud.base.fqdn = "${networking.hostName}.hswaw.net"; |
| 9 | #networking.domain = "hswaw.net"; |
| 10 | system.stateVersion = "18.09"; |
| 11 | nix.maxJobs = 16; |
| 12 | |
| 13 | boot.loader.grub.device = "/dev/disk/by-id/scsi-360024e8078b0250023b10f8706d3c99e"; |
| 14 | fileSystems."/".device = "/dev/disk/by-uuid/2d45c87b-029b-463e-a7cb-afd5a3089327"; |
| 15 | |
| 16 | hscloud.base = { |
| 17 | mgmtIf = "eno1"; |
| 18 | ipAddr = "185.236.240.36"; |
| 19 | ipAddrBits = 28; |
| 20 | gw = "185.236.240.33"; |
| 21 | }; |
| 22 | |
| 23 | hscloud.kube = { |
Serge Bazanski | 43b6db8 | 2023-10-09 22:42:30 +0000 | [diff] [blame] | 24 | control.enable = false; |
| 25 | data.enable = false; |
Serge Bazanski | 55a486a | 2022-06-11 18:27:01 +0000 | [diff] [blame] | 26 | data.podNet = "10.10.17.0/24"; |
| 27 | }; |
Serge Bazanski | 55a486a | 2022-06-11 18:27:01 +0000 | [diff] [blame] | 28 | } |
| 29 | |