cluster: add bc01n05.hswaw.net
This will be our postgres pet machine.
Change-Id: Ifff6648394ca6407fb5b5daa853f4abc42541703
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1467
Reviewed-by: q3k <q3k@hackerspace.pl>
diff --git a/cluster/machines/bc01n05.hswaw.net.nix b/cluster/machines/bc01n05.hswaw.net.nix
new file mode 100644
index 0000000..bb3da23
--- /dev/null
+++ b/cluster/machines/bc01n05.hswaw.net.nix
@@ -0,0 +1,27 @@
+{ config, pkgs, ... }:
+
+with builtins;
+
+rec {
+ networking.hostName = "bc01n05";
+ # TODO: undefine fqdn and define domain after big nix change
+ hscloud.base.fqdn = "${networking.hostName}.hswaw.net";
+ #networking.domain = "hswaw.net";
+ system.stateVersion = "22.05";
+ nix.maxJobs = 16;
+
+ boot.loader.grub.device = "/dev/sda";
+ fileSystems."/".device = "/dev/disk/by-uuid/c6658511-3304-44ba-a161-049b843e63f8";
+ fileSystems."/boot" = {
+ device = "/dev/disk/by-uuid/2a951c5d-0193-4ef3-9227-d8a5184cbd63";
+ fsType = "ext4";
+ };
+
+ hscloud.base = {
+ mgmtIf = "eno1";
+ ipAddr = "185.236.240.37";
+ ipAddrBits = 28;
+ gw = "185.236.240.33";
+ };
+}
+