diff --git a/clusters/fs2/default.nix b/clusters/fs2/default.nix index cbf40ea..6595e39 100644 --- a/clusters/fs2/default.nix +++ b/clusters/fs2/default.nix @@ -1,14 +1,25 @@ with import {}; let - setup = import ../../modules/default.nix { inherit pkgs cluster lib config; }; + setup = import ../../modules { inherit pkgs cluster customize lib config; }; hosts = [ - { name = "fs2-0"; address = "10.1.2.117"; hw = ./fs2-0.nix; } + { name = "fs2-0"; address = "10.1.8.10"; } ]; + customize = { + boot.uefi = true; + }; + cluster = { - initca = ./ca; clusterName = "fs2"; + initca = ./ca; + + domain = "itpartner.intern"; + externalInterface = "eth0"; + defaultGateway = "10.1.8.1"; + nameservers = [ "8.8.8.8" ]; + searchDomains = [ "itpartner.no" ]; + extraHosts = import ../hosts.nix; adminAuthorizedKeys = [ @@ -20,9 +31,9 @@ let enable = true; nfs.enable = true; nfs.exports = '' - /vol/export 10.253.18.0/24(insecure,rw,sync,no_subtree_check,crossmnt,fsid=0,no_root_squash) + /vol/export 10.1.8.0/24(insecure,rw,sync,no_subtree_check,crossmnt,fsid=0,no_root_squash) ''; }; }; in - setup.fs.mkDeployment hosts + setup.fs.mkDeployment ./. hosts